From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MelgV-0005v9-G6 for qemu-devel@nongnu.org; Sat, 22 Aug 2009 04:10:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MelgU-0005tM-3c for qemu-devel@nongnu.org; Sat, 22 Aug 2009 04:10:47 -0400 Received: from [199.232.76.173] (port=51411 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MelgT-0005t6-TI for qemu-devel@nongnu.org; Sat, 22 Aug 2009 04:10:46 -0400 Received: from fe02x03-cgp.akado.ru ([77.232.31.165]:53833 helo=akado.ru) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MelgT-0005Hs-Ay for qemu-devel@nongnu.org; Sat, 22 Aug 2009 04:10:45 -0400 Date: Sat, 22 Aug 2009 12:10:26 +0400 (MSD) From: malc Subject: Re: [Qemu-devel] Disable gus audio device in isapc In-Reply-To: <200908220430.AA00077@YOUR-BD18D6DD63.m1.interq.or.jp> Message-ID: References: <200908220430.AA00077@YOUR-BD18D6DD63.m1.interq.or.jp> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="33734824-1492409673-1250928626=:2267" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-2022-JP?B?GyRCSXBFRBsoQg==?= =?ISO-2022-JP?B?IBskQj1TTGkbKEI=?= Cc: qemu-devel This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --33734824-1492409673-1250928626=:2267 Content-Type: TEXT/PLAIN; charset=koi8-r Content-Transfer-Encoding: QUOTED-PRINTABLE On Sat, 22 Aug 2009, =C9=F0=C5=C4 =BD=D3=CC=E9 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=09Thu Aug 20 11:13:30 2009 > +++ pc.c=09Sat 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 Ultrasound= GF1 for isapc\n"); > + continue; > + } > if (c->isa) { > c->init.init_isa (s, pic); > } >=20 That's the nature of ISA and this hack is hardly sufficient, for instance gus and cs4231a occupy the same DMA, something more apt is required to handle the conflicts in I/O space for ISA cards. --=20 mailto:av1474@comtv.ru --33734824-1492409673-1250928626=:2267--