public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* via82xx.c vs. sonypi.c i/o region conflict on vaio
@ 2004-07-14 17:42 Greg Ingram
  2004-07-14 19:31 ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Ingram @ 2004-07-14 17:42 UTC (permalink / raw)
  To: linux-kernel


Howdy,

(I sent a similar version of this message to Jaroslav Kysela
<perex@suse.cz> but haven't heard back from him.)

I'm working with a Sony Vaio PCG-FXA32.  The "Sony Programmable I/O
Controller Driver v1.22"  (drivers/char/sonypi.c). finds a controller and
grabs ports 0x1080-0x109f.  The sound module (sound/pci/via82xx.c) finds a
VIA686A and grabs ports 0x1000-0x10ff.  The ranges overlap. I can't load
both modules.

I modified the sound driver to grab only 128 ports instead of 256 and the
driver works fine on this hardware.  In 2.6.7, it's line 2049 or so of
sound/pci/via82xx.c:

old:	if ((chip->res_port = request_region(chip->port, 256, card->driver)) == NULL) {
new:	if ((chip->res_port = request_region(chip->port, 256, card->driver)) == NULL) {

Does anyone know specifically that some chipsets need so many ports?  If
so, what info for this hardware can I supply to fix the sound driver
permanently?

Regards,

- Greg





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-15  9:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-14 17:42 via82xx.c vs. sonypi.c i/o region conflict on vaio Greg Ingram
2004-07-14 19:31 ` Jeff Garzik
2004-07-14 19:53   ` Greg Ingram
2004-07-15  9:58   ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox