Update of /cvsroot/alsa/alsa-kernel/pci In directory usw-pr-cvs1:/tmp/cvs-serv6731
Modified Files: intel8x0.c Log Message: fixed for nvidia nforce. nforce has also memory region but only on resource #2. no idea about this area for what purpose yet. Index: intel8x0.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/intel8x0.c,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- intel8x0.c 10 Sep 2002 07:05:54 -0000 1.47 +++ intel8x0.c 12 Sep 2002 16:39:37 -0000 1.48 @@ -2147,7 +2147,8 @@ chip->pci = pci; chip->irq = -1; snd_intel8x0_proc_init(chip); - if (pci_resource_flags(pci, 2) & IORESOURCE_MEM) { /* ICH4 and higher */ + if (chip->device_type == DEVICE_INTEL_ICH4 && + (pci_resource_flags(pci, 2) & IORESOURCE_MEM)) { /* ICH4 and higher */ chip->mmio = chip->bm_mmio = 1; chip->addr = pci_resource_start(pci, 2); sprintf(chip->ac97_name, "%s - AC'97", card->shortname); ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog