patch-2.1.68 linux/include/linux/pci.h
Next file: linux/include/linux/pkt_sched.h
Previous file: linux/include/linux/parport.h
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Sun Nov 30 13:48:48 1997
- Orig file:
v2.1.67/linux/include/linux/pci.h
- Orig date:
Wed Nov 26 16:24:03 1997
diff -u --recursive --new-file v2.1.67/linux/include/linux/pci.h linux/include/linux/pci.h
@@ -43,8 +43,8 @@
-#ifndef PCI_H
-#define PCI_H
+#ifndef LINUX_PCI_H
+#define LINUX_PCI_H
/*
* Under PCI, each device has 256 bytes of configuration address space,
@@ -404,7 +404,7 @@
#define PCI_DEVICE_ID_MOTOROLA_RAVEN 0x4801
#define PCI_VENDOR_ID_PROMISE 0x105a
-#define PCI_DEVICE_ID_PROMISE_IDE_UDMA 0x4d33
+#define PCI_DEVICE_ID_PROMISE_20246 0x4d33
#define PCI_DEVICE_ID_PROMISE_5300 0x5300
#define PCI_VENDOR_ID_N9 0x105d
@@ -802,6 +802,7 @@
#define PCI_DEVICE_ID_ARK_STINGARK 0xa099
#define PCI_DEVICE_ID_ARK_2000MT 0xa0a1
+#ifdef __KERNEL__
/*
* The PCI interface treats multi-function devices as independent
* devices. The slot/function address of each device is encoded
@@ -892,5 +893,5 @@
extern const char *pci_strdev (unsigned int vendor, unsigned int device);
extern int get_pci_list (char *buf);
-
-#endif /* PCI_H */
+#endif /* __KERNEL__ */
+#endif /* LINUX_PCI_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov