summaryrefslogtreecommitdiffstats
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-05-27 16:16:56 +0000
committerthompsa <thompsa@FreeBSD.org>2009-05-27 16:16:56 +0000
commit14ea3ee2bb371575697cd652ca2064877b187983 (patch)
tree723b0aed327f79b20884592648d5b64748a24f12 /usr.bin/kdump
parent3f72bbde95ea9eee2e163b14ffdca8533a85e6c1 (diff)
downloadFreeBSD-src-14ea3ee2bb371575697cd652ca2064877b187983.zip
FreeBSD-src-14ea3ee2bb371575697cd652ca2064877b187983.tar.gz
Delete the old USB stack. The new stack has settled in and has all the
drivers/functionality and then some.
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/mkioctls5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls
index 9c7e934..7ca773d 100644
--- a/usr.bin/kdump/mkioctls
+++ b/usr.bin/kdump/mkioctls
@@ -18,14 +18,11 @@ fi
LC_ALL=C; export LC_ALL
-# include subdirs to exclude from the search
-exclude="^legacy/.*"
-
# Build a list of headers that have ioctls in them.
# XXX should we use an ANSI cpp?
ioctl_includes=`
cd $1
- find -H -s * -name '*.h' \! -regex $exclude |
+ find -H -s * -name '*.h' |
xargs egrep -l \
'^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO[^a-z0-9_]' |
awk '{printf("#include <%s>\\\\n", $1)}'
OpenPOWER on IntegriCloud