diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-06-07 20:36:08 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-06-07 20:36:08 +0000 |
commit | 1990889a3e377cf573db8debb0155e478d6c9786 (patch) | |
tree | fa7c1dafa9f6b543b1ad546712bab7d6d6925a68 /usr.bin | |
parent | a58b6486a2e340b1cdeb1f057fb9d69d8b80be35 (diff) |
dig gpio ioctls
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/kdump/Makefile | 3 | ||||
-rw-r--r-- | usr.bin/kdump/mkioctls | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile index d5ee41191c5..7f027ae69ed 100644 --- a/usr.bin/kdump/Makefile +++ b/usr.bin/kdump/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2003/07/02 20:54:17 deraadt Exp $ +# $OpenBSD: Makefile,v 1.9 2004/06/07 20:36:07 mickey Exp $ LDSTATIC=${STATIC} PROG= kdump @@ -32,6 +32,7 @@ ioctl.c: ${.CURDIR}/mkioctls ${DESTDIR}/usr/include/sys/chio.h \ ${DESTDIR}/usr/include/sys/dkio.h \ ${DESTDIR}/usr/include/sys/filio.h \ + ${DESTDIR}/usr/include/sys/gpio.h \ ${DESTDIR}/usr/include/sys/midiio.h \ ${DESTDIR}/usr/include/sys/mtio.h \ ${DESTDIR}/usr/include/sys/pciio.h \ diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls index 916ce8de939..41df9dfbd3f 100644 --- a/usr.bin/kdump/mkioctls +++ b/usr.bin/kdump/mkioctls @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: mkioctls,v 1.15 2004/01/09 17:10:07 brad Exp $ +# $OpenBSD: mkioctls,v 1.16 2004/06/07 20:36:07 mickey Exp $ # # Copyright (c) 1994 @@ -65,6 +65,7 @@ BEGIN { print "#include <sys/dkbad.h>" print "#include <sys/dkio.h>" print "#include <sys/filio.h>" + print "#include <sys/gpio.h>" print "#include <sys/midiio.h>" print "#include <sys/mtio.h>" print "#include <sys/pciio.h>" @@ -91,7 +92,7 @@ BEGIN { print "" } -/^#[ ]*define[ ]*(AGPIOC_|ATAIO|AUDIO_|BIOC|CCDIOC|CDIO|CIOC|CHIO|DIOC|MIDI_|SEQUENCER_|TIO|FIO|FIBMAP|MTIOC|SIO|OSIO|SESIOC_|SIOC|PCIOC|PPPIOC|RD_|RIOC|RND|STRIOC|SCIOC|OSCIOC|TUN|VNDIOC|WSKBD|WSMOUSE|WSDISPLAY|WSMUX)[A-Z_0-9]*[ ]*_IO/ { +/^#[ ]*define[ ]*(AGPIOC_|ATAIO|AUDIO_|BIOC|CCDIOC|CDIO|CIOC|CHIO|DIOC|MIDI_|GPIO|SEQUENCER_|TIO|FIO|FIBMAP|MTIOC|SIO|OSIO|SESIOC_|SIOC|PCIOC|PPPIOC|RD_|RIOC|RND|STRIOC|SCIOC|OSCIOC|TUN|VNDIOC|WSKBD|WSMOUSE|WSDISPLAY|WSMUX)[A-Z_0-9]*[ ]*_IO/ { # find where the name starts for (i = 1; i <= NF; i++) |