projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed9dae3
)
quick hack to fix lack of PCI_VENDOR_ID_ICP in 2.2 kernels
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 21 Feb 2002 17:57:56 +0000
(17:57 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 21 Feb 2002 17:57:56 +0000
(17:57 +0000)
include/linux/pci.h
patch
|
blob
|
history
diff --git
a/include/linux/pci.h
b/include/linux/pci.h
index 77a2610a795908a72f4d6207efc0af378026121c..19a04bae0fe7c5bb0c4134e8e82ca8d11f15a1fe 100644
(file)
--- a/
include/linux/pci.h
+++ b/
include/linux/pci.h
@@
-23,6
+23,9
@@
#define pci_enable_device(x) 0
#define PCI_ANY_ID (~0)
+#ifndef PCI_VENDOR_ID_ICP
+#define PCI_VENDOR_ID_ICP 0x104c
+#endif
struct pci_device_id {
unsigned int vendor, device;
@@
-72,9
+75,6
@@
extern inline unsigned long pci_resource_start(struct pci_dev *dev, unsigned int
return dev->base_address[bar] & PCI_BASE_ADDRESS_IO_MASK;
return dev->base_address[bar] & PCI_BASE_ADDRESS_MEM_MASK;
}
-
-#else
-
#endif
#endif