Update of /cvsroot/alsa/alsa-kernel/isa/gus In directory sc8-pr-cvs1:/tmp/cvs-serv32137
Modified Files: interwave.c Log Message: - fixed the detection of STB board via pnp. Index: interwave.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/isa/gus/interwave.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- interwave.c 14 Oct 2003 13:08:18 -0000 1.26 +++ interwave.c 27 Nov 2003 13:28:43 -0000 1.27 @@ -229,12 +229,12 @@ break; port += 0x10; } - if (port > 0x380) - return -ENODEV; } else { - if ((iwcard->i2c_res = request_region(port, 1, "InterWave (I2C bus)")) != NULL) - return -ENODEV; + iwcard->i2c_res = request_region(port, 1, "InterWave (I2C bus)"); } + if (iwcard->i2c_res == NULL) + return -ENODEV; + sprintf(name, "InterWave-%i", card->number); if ((err = snd_i2c_bus_create(card, name, NULL, &bus)) < 0) return err; ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog