From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfZbi-0001u5-9D for qemu-devel@nongnu.org; Mon, 24 Aug 2009 09:29:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfZbd-0001lu-EC for qemu-devel@nongnu.org; Mon, 24 Aug 2009 09:29:09 -0400 Received: from [199.232.76.173] (port=46400 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfZbd-0001lO-3x for qemu-devel@nongnu.org; Mon, 24 Aug 2009 09:29:05 -0400 Received: from caffeine.csclub.uwaterloo.ca ([129.97.134.17]:39937) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MfZbc-0007Uy-SN for qemu-devel@nongnu.org; Mon, 24 Aug 2009 09:29:05 -0400 Date: Mon, 24 Aug 2009 09:29:01 -0400 Subject: Re: [Qemu-devel] Disable gus audio device in isapc Message-ID: <20090824132901.GA23700@csclub.uwaterloo.ca> References: <200908220430.AA00077@YOUR-BD18D6DD63.m1.interq.or.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <200908220430.AA00077@YOUR-BD18D6DD63.m1.interq.or.jp> From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen) Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?B?5q2m55SwIOS/iuS5nw==?= Cc: qemu-devel On Sat, Aug 22, 2009 at 01:30:16PM +0900, =E6=AD=A6=E7=94=B0 =E4=BF=8A=E4= =B9=9F wrote: > Hi members, >=20 > Both isa ne2k nic and gus audio device uses the ioport 0x300 > and it causes isa pc crash issue. >=20 > This is the patch to disable gus in the isa pc case. >=20 > --- pc.orig Thu Aug 20 11:13:30 2009 > +++ pc.c Sat Aug 22 11:19:02 2009 > @@ -762,6 +762,10 @@ > if (s) { > for (c =3D soundhw; c->name; ++c) { > if (c->enabled) { > + if (!pci_bus && strcmp(c->name, "gus") =3D=3D 0) { > + fprintf(stderr, "qemu: disable Gravis Ultrasou= nd GF1 for isapc\n"); > + continue; > + } > if (c->isa) { > c->init.init_isa (s, pic); > } Given the gus is an isa device, how does that make sense? Back when some of us actually used a gus gf1 and isa ne2k cards, we simply configured out ne2k cards for 0x310 or 0x320 or something else not already in use. The ne2k does not have to use 0x300. --=20 Len Sorensen