ALSA: cmi8330: find OPL3 port automatically
authorOndrej Zary <linux@rainbow-software.org>
Mon, 6 Jul 2009 20:08:04 +0000 (22:08 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Jul 2009 06:02:57 +0000 (08:02 +0200)
commit0b959167237208bc1a811e30bf866cd29bff1652
treea1729a339eb56d6506dad8a3ab3c1996068756d3
parent69eb88825a7a562ee3564bdae20c35b0238307b0
ALSA: cmi8330: find OPL3 port automatically

My CMI8329 had OPL3 port specified in SB16 resources. But now I found out that
it was my modification of the card's PnP EEPROM a couple of years ago (can be
done using C9SETROM.EXE utility). I did it because the OPL3 port was
completely missing from PnP data. It seems to be hardwired to 0x388 on
CMI8329.

Find OPL3 port automatically by searching in WSS and SB16 resources. If not
found, assume that it's hardwired to 0x388.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/cmi8330.c