* [Qemu-devel] Disable gus audio device in isapc
@ 2009-08-22 4:30 武田 俊也
2009-08-22 8:10 ` malc
2009-08-24 13:29 ` Lennart Sorensen
0 siblings, 2 replies; 3+ messages in thread
From: 武田 俊也 @ 2009-08-22 4:30 UTC (permalink / raw)
To: qemu-devel
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);
}
Thans,
TAKEDA, toshiya
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Disable gus audio device in isapc
2009-08-22 4:30 [Qemu-devel] Disable gus audio device in isapc 武田 俊也
@ 2009-08-22 8:10 ` malc
2009-08-24 13:29 ` Lennart Sorensen
1 sibling, 0 replies; 3+ messages in thread
From: malc @ 2009-08-22 8:10 UTC (permalink / raw)
To: 武田 俊也; +Cc: qemu-devel
[-- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Disable gus audio device in isapc
2009-08-22 4:30 [Qemu-devel] Disable gus audio device in isapc 武田 俊也
2009-08-22 8:10 ` malc
@ 2009-08-24 13:29 ` Lennart Sorensen
1 sibling, 0 replies; 3+ messages in thread
From: Lennart Sorensen @ 2009-08-24 13:29 UTC (permalink / raw)
To: 武田 俊也; +Cc: qemu-devel
On Sat, Aug 22, 2009 at 01:30:16PM +0900, 武田 俊也 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);
> }
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.
--
Len Sorensen
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-24 13:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-22 4:30 [Qemu-devel] Disable gus audio device in isapc 武田 俊也
2009-08-22 8:10 ` malc
2009-08-24 13:29 ` Lennart Sorensen
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).