qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Disable gus audio device in isapc


From: malc
Subject: Re: [Qemu-devel] Disable gus audio device in isapc
Date: Sat, 22 Aug 2009 12:10:26 +0400 (MSD)

On Sat, 22 Aug 2009, иПед ╫слИ wrote:

> Hi members,
> 
> Both isa ne2k nic and gus audio device uses the ioport 0x300
> and it causes isa pc crash issue.
> 
> This is the patch to disable gus in the isa pc case.
> 
> --- 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 = soundhw; c->name; ++c) {
>                  if (c->enabled) {
> +                    if (!pci_bus && strcmp(c->name, "gus") == 0) {
> +                        fprintf(stderr, "qemu: disable Gravis Ultrasound GF1 
> for isapc\n");
> +                        continue;
> +                    }
>                      if (c->isa) {
>                          c->init.init_isa (s, pic);
>                      }
> 

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.

-- 
mailto:address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]