patch-2.4.22 linux-2.4.22/arch/ppc64/kernel/pci.c
Next file: linux-2.4.22/arch/ppc64/kernel/pci.h
Previous file: linux-2.4.22/arch/ppc64/kernel/pSeries_lpar.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
2003-08-25 04:44:40.000000000 -0700
-  Orig file: 
linux-2.4.21/arch/ppc64/kernel/pci.c
-  Orig date: 
2003-06-13 07:51:32.000000000 -0700
diff -urN linux-2.4.21/arch/ppc64/kernel/pci.c linux-2.4.22/arch/ppc64/kernel/pci.c
@@ -137,7 +137,7 @@
 	ioaddr = (addr > _IO_BASE) ? addr - _IO_BASE : 0;
 
 	pci_for_each_dev(dev) {
-		if ((dev->class >> 8) == PCI_BASE_CLASS_BRIDGE)
+  	        if ((dev->class >> 16) == PCI_BASE_CLASS_BRIDGE)
 			continue;
 		for (i = 0; i < DEVICE_COUNT_RESOURCE; i++) {
 			unsigned long start = pci_resource_start(dev,i);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)