patch-2.3.99-pre3 linux/include/linux/pci.h

Next file: linux/include/linux/pci_ids.h
Previous file: linux/include/linux/nfsd/syscall.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre2/linux/include/linux/pci.h linux/include/linux/pci.h
@@ -551,6 +551,8 @@
 
 #ifndef CONFIG_PCI
 extern inline int pcibios_present(void) { return 0; }
+extern inline int pcibios_find_class (unsigned int class_code, unsigned short index, unsigned char *bus, unsigned char *dev_fn) 
+{ 	return PCIBIOS_DEVICE_NOT_FOUND; }
 
 #define _PCI_NOP(o,s,t) \
 	extern inline int pcibios_##o##_config_##s## (u8 bus, u8 dfn, u8 where, t val) \
@@ -583,6 +585,7 @@
 extern inline int pci_register_driver(struct pci_driver *drv) { return 0;}
 extern inline void pci_unregister_driver(struct pci_driver *drv) { }
 extern inline int scsi_to_pci_dma_dir(unsigned char scsi_dir) { return scsi_dir; }
+extern inline int pci_find_capability (struct pci_dev *dev, int cap) {return 0; }
 
 #else
 

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