Update of /cvsroot/alsa/alsa-kernel/pci/rme9652 In directory sc8-pr-cvs1:/tmp/cvs-serv9757/pci/rme9652
Modified Files: hammerfall_mem.c Log Message: Sync with the 2.5 kernel tree Index: hammerfall_mem.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/rme9652/hammerfall_mem.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- hammerfall_mem.c 31 May 2003 11:33:57 -0000 1.9 +++ hammerfall_mem.c 6 Jun 2003 11:54:28 -0000 1.10 @@ -185,7 +185,7 @@ static int __init alsa_hammerfall_mem_init(void) { int i; - struct pci_dev *pci; + struct pci_dev *pci = NULL; hammerfall_buf_t *rbuf; /* make sure our buffer records are clean */ @@ -205,12 +205,12 @@ i = 0; /* card number */ rbuf = hammerfall_buffers; - pci_for_each_dev(pci) { + while ((pci = pci_find_device(PCI_VENDOR_ID_XILINX, PCI_ANY_ID, pci)) != NULL) { int k; /* check for Hammerfall and Hammerfall DSP cards */ - if (pci->vendor != 0x10ee || (pci->device != 0x3fc4 && pci->device != 0x3fc5)) + if (pci->device != 0x3fc4 && pci->device != 0x3fc5) continue; if (!enable[i]) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog