patch-2.4.26 linux-2.4.26/include/asm-x86_64/pci-direct.h

Next file: linux-2.4.26/include/asm-x86_64/pci.h
Previous file: linux-2.4.26/include/asm-x86_64/mpspec.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/include/asm-x86_64/pci-direct.h linux-2.4.26/include/asm-x86_64/pci-direct.h
@@ -28,7 +28,7 @@
 	return v;
 }
 
-static inline u8 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset)
+static inline u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset)
 {
 	u16 v; 
 	outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)