summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/pci
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-05-14 00:13:16 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-05-14 00:13:16 +0000
commiteb133e7a93232e289147e2dbccbd4da5916d141a (patch)
treec17ce04094ca3594144e7278f1e84ef3c27a4485 /sys/arch/amd64/pci
parentd1523c3bbd67a7333e8b8b76aa76025c490f8c73 (diff)
remove redundant definition of PCI_ID_CODE. I added this to the
MI pcivar.h header 5 months ago.
Diffstat (limited to 'sys/arch/amd64/pci')
-rw-r--r--sys/arch/amd64/pci/pci_machdep.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/amd64/pci/pci_machdep.c b/sys/arch/amd64/pci/pci_machdep.c
index aa29dc115bc..6d36f66aea4 100644
--- a/sys/arch/amd64/pci/pci_machdep.c
+++ b/sys/arch/amd64/pci/pci_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.c,v 1.3 2004/06/28 01:52:26 deraadt Exp $ */
+/* $OpenBSD: pci_machdep.c,v 1.4 2005/05/14 00:13:15 brad Exp $ */
/* $NetBSD: pci_machdep.c,v 1.3 2003/05/07 21:33:58 fvdl Exp $ */
/*-
@@ -136,10 +136,6 @@ do { \
#define PCI_MODE2_ENABLE_REG 0x0cf8
#define PCI_MODE2_FORWARD_REG 0x0cfa
-#define PCI_ID_CODE(vid,pid) \
- ((((vid) & PCI_VENDOR_MASK) << PCI_VENDOR_SHIFT) | \
- (((pid) & PCI_PRODUCT_MASK) << PCI_PRODUCT_SHIFT)) \
-
#define _m1tag(b, d, f) \
(PCI_MODE1_ENABLE | ((b) << 16) | ((d) << 11) | ((f) << 8))
#define _qe(bus, dev, fcn, vend, prod) \