From 1990889a3e377cf573db8debb0155e478d6c9786 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Mon, 7 Jun 2004 20:36:08 +0000 Subject: dig gpio ioctls --- usr.bin/kdump/Makefile | 3 ++- usr.bin/kdump/mkioctls | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'usr.bin') 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 " print "#include " print "#include " + print "#include " print "#include " print "#include " print "#include " @@ -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++) -- cgit v1.2.3