static int
awe_detect(void)
{
int base;
#if defined(CONFIG_PNPISA) || (defined(MODULE) && defined(CONFIG_PNPISA_MODULE))
if ((awe_pnp_dev = pnp_getdevice(PNP_EISAID('C','T','L',0x0021), awe_pnp))
!= NULL) {
/* printk("SB AWE32 PnP: 0x%x.\n", awe_pnp_dev->io[0]);*/
awe_base = awe_pnp_dev->io[0];
return 1;
}
#endif
if (awe_base == 0) {
for (base = 0x620; base <= 0x680; base += 0x20)
if (awe_detect_base(base))
return 1;
DEBUG(0,printk("AWE32 not found\n"));
return 0;
}
return 1;
}
と/drivers/sound/lowlevel/awe_wave.cを変更。