qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: malc <av1474@comtv.ru>
To: "武田 俊也" <t-takeda@m1.interq.or.jp>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Disable gus audio device in isapc
Date: Sat, 22 Aug 2009 12:10:26 +0400 (MSD)	[thread overview]
Message-ID: <Pine.LNX.4.64.0908221208400.2267@linmac.oyster.ru> (raw)
In-Reply-To: <200908220430.AA00077@YOUR-BD18D6DD63.m1.interq.or.jp>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1017 bytes --]

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:av1474@comtv.ru

  reply	other threads:[~2009-08-22  8:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-22  4:30 [Qemu-devel] Disable gus audio device in isapc 武田 俊也
2009-08-22  8:10 ` malc [this message]
2009-08-24 13:29 ` Lennart Sorensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0908221208400.2267@linmac.oyster.ru \
    --to=av1474@comtv.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=t-takeda@m1.interq.or.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).