summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2002-10-11 00:57:59 +0000
committerthorpej <thorpej@NetBSD.org>2002-10-11 00:57:59 +0000
commitb4d9be67e5079c9892b59d015b6636ebe2e3e76b (patch)
tree9897400b9824ea4c7da968bfea29ae848de5d38b /sys/dev
parentf59e7010f7037a61e6d32f93b4cd23b14dd5dd39 (diff)
Fix up IPKDB_NE_PCI option dependencies:
* IPKDB_NE_PCISLOT does not need any dependencies (it is merely a required parameter for IPKDB_NE_PCI). * IPKDB_NE_PCI does should not have an option-dependency on IPKDB_NE_PCISLOT. While IPKDB_NE_PCISLOT is a required parameter, that is not how option- dependencies work, and we don't want IPKDB_NE_PCI to imply IPKDB_NE_PCISLOT, as that would cause a bogus value for IPKDB_NE_PCISLOT to be used. Also, the IPKDB_NE_PCI selector should be lower-case; make it so.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/files.pci8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/files.pci b/sys/dev/pci/files.pci
index ea6b2312944..0640bda1d79 100644
--- a/sys/dev/pci/files.pci
+++ b/sys/dev/pci/files.pci
@@ -1,4 +1,4 @@
-# $NetBSD: files.pci,v 1.180 2002/10/08 13:09:18 kent Exp $
+# $NetBSD: files.pci,v 1.181 2002/10/11 00:57:59 thorpej Exp $
#
# Config file and device description for machine-independent PCI code.
# Included by ports that need it. Requires that the SCSI files be
@@ -215,10 +215,10 @@ attach gem at pci with gem_pci
file dev/pci/if_gem_pci.c gem_pci
# NE2000-compatible PCI Ethernet cards
-defparam opt_ipkdb.h IPKDB_NE_PCISLOT : IPKDB_NE_PCI
-defflag opt_ipkdb.h IPKDB_NE_PCI : IPKDB_NE IPKDB_NE_PCISLOT
+defparam opt_ipkdb.h IPKDB_NE_PCISLOT
+defflag opt_ipkdb.h IPKDB_NE_PCI : IPKDB_NE
attach ne at pci with ne_pci: rtl80x9
-file dev/pci/if_ne_pci.c ne_pci | IPKDB_NE_PCI
+file dev/pci/if_ne_pci.c ne_pci | ipkdb_ne_pci
# Texas Instruments ThunderLAN Chip.
device tl: ether, ifnet, arp, i2c, i2c_eeprom, mii, mii_bitbang