summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ndiscvt/Makefile
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2003-12-18 03:51:21 +0000
committerwpaul <wpaul@FreeBSD.org>2003-12-18 03:51:21 +0000
commit74b1363ea90e609ecd017b43c841fa54f54127ff (patch)
tree5ee952471a833e8a8748d227d48d1f385c5adb16 /usr.sbin/ndiscvt/Makefile
parent3242fb60cccb7ee9ecca553025efbe11e7ae4cbe (diff)
downloadFreeBSD-src-74b1363ea90e609ecd017b43c841fa54f54127ff.zip
FreeBSD-src-74b1363ea90e609ecd017b43c841fa54f54127ff.tar.gz
Deal with the duplicate sysctl leaf problem. A .inf file may contain
definitions for more than one device (usually differentiated by the PCI subvendor/subdevice ID). Each device also has its own tree of registry keys. In some cases, each device has the same keys, but sometimes each device has a unique tree but with overlap. Originally, I just had ndiscvt(8) dump out all the keys it could find, and we would try to apply them to every device we could find. Now, each key has an index number that matches it to a device in the device ID list. This lets us create just the keys that apply to a particular device. I also added an extra field to the device list to hold the subvendor and subdevice ID. Some devices are generic, i.e. there is no subsystem definition. If we have a device that doesn't match a specific subsystem value and we have a generic entry, we use the generic entry.
Diffstat (limited to 'usr.sbin/ndiscvt/Makefile')
-rw-r--r--usr.sbin/ndiscvt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ndiscvt/Makefile b/usr.sbin/ndiscvt/Makefile
index f5c7f13..c8aa86f 100644
--- a/usr.sbin/ndiscvt/Makefile
+++ b/usr.sbin/ndiscvt/Makefile
@@ -16,7 +16,7 @@ LDADD= -ll
YFLAGS+=-v
-CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../sys
+CFLAGS+=-g -I. -I${.CURDIR} -I${.CURDIR}/../../sys
CLEANFILES= y.output
OpenPOWER on IntegriCloud