Update of /cvsroot/alsa/alsa-kernel/pci In directory sc8-pr-cvs1:/tmp/cvs-serv23481
Modified Files: es1968.c Log Message: fixed the check of vendor ids for NEC VERSA. Index: es1968.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/es1968.c,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- es1968.c 14 Jul 2003 10:28:47 -0000 1.43 +++ es1968.c 17 Jul 2003 15:21:53 -0000 1.44 @@ -2092,7 +2092,7 @@ unsigned short save_ringbus_a; unsigned short save_68; unsigned short w; - unsigned short vend; + unsigned int vend; /* save configuration */ save_ringbus_a = inw(ioaddr + 0x36); @@ -2106,7 +2106,7 @@ outw(0x0000, ioaddr + 0x36); save_68 = inw(ioaddr + 0x68); pci_read_config_word(chip->pci, 0x58, &w); /* something magical with gpio and bus arb. */ - pci_read_config_word(chip->pci, PCI_SUBSYSTEM_VENDOR_ID, &vend); + pci_read_config_dword(chip->pci, PCI_SUBSYSTEM_VENDOR_ID, &vend); if (w & 1) save_68 |= 0x10; outw(0xfffe, ioaddr + 0x64); /* unmask gpio 0 */ ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog