Index: alsa-kernel/pci/ice1712/hoontech.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/hoontech.c,v retrieving revision 1.3 diff -c -r1.3 hoontech.c *** alsa-kernel/pci/ice1712/hoontech.c 5 Mar 2004 09:08:39 -0000 1.3 --- alsa-kernel/pci/ice1712/hoontech.c 1 Apr 2004 03:31:52 -0000 *************** *** 32,37 **** --- 32,40 ---- #include "ice1712.h" #include "hoontech.h" + /* EZ8 Hack: pass ez8=1 for EZ8 card */ + int ez8=0; + MODULE_PARM(ez8, "i"); static void __devinit snd_ice1712_stdsp24_gpio_write(ice1712_t *ice, unsigned char byte) { *************** *** 151,156 **** --- 154,173 ---- static int __devinit snd_ice1712_hoontech_init(ice1712_t *ice) { int box, chn; + + /* EZ8 Hack: Change shortname and subvendor id, Recall functions called in + * snd_ice1712_chip_init when it still thinks it is a Hoontech DSP24 card. + */ + if (ez8) { + strcpy(ice->card->shortname, "Event Electronics EZ8"); + ice->eeprom.subvendor = 0; + ice->gpio.write_mask = ice->eeprom.gpiomask; + ice->gpio.direction = ice->eeprom.gpiodir; + snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ice->eeprom.gpiomask); + snd_ice1712_write(ice, ICE1712_IREG_GPIO_DIRECTION, ice->eeprom.gpiodir); + snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, ice->eeprom.gpiostate); + return 0; + } ice->num_total_dacs = 8; ice->num_total_adcs = 8; Index: alsa-kernel/pci/ice1712/ice1712.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/ice1712.c,v retrieving revision 1.47 diff -c -r1.47 ice1712.c *** alsa-kernel/pci/ice1712/ice1712.c 26 Mar 2004 12:25:51 -0000 1.47 --- alsa-kernel/pci/ice1712/ice1712.c 1 Apr 2004 03:31:55 -0000 *************** *** 41,46 **** --- 41,49 ---- * 2003.02.20 Taksahi Iwai * Split vt1724 part to an independent driver. * The GPIO is accessed through the callback functions now. + * + * 2004.03.31 Doug McLain + * Added support for Event Electronics EZ8 card to hoontech.c. */