diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2023-11-20 17:48:28 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2023-11-20 17:48:28 +0000 |
commit | a86faaa19c8f503f9b2550a68112cafc4f5c723d (patch) | |
tree | ac2a715cb5f9a406cf512a61f892fff84f71809a /usr.bin/kdump/mkioctls | |
parent | c6d915ee1d60bee3ce05d925fed10d9e17eebb1f (diff) |
Include <dev/efi/efiio.h> to pretty print EFIIOC_* ioctls
No base usage yet, only efivar(1) from sysutils/efivar.
OK guenther
Diffstat (limited to 'usr.bin/kdump/mkioctls')
-rw-r--r-- | usr.bin/kdump/mkioctls | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls index 502e2f05056..3f22ae4f603 100644 --- a/usr.bin/kdump/mkioctls +++ b/usr.bin/kdump/mkioctls @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: mkioctls,v 1.44 2023/11/20 17:43:51 kn Exp $ +# $OpenBSD: mkioctls,v 1.45 2023/11/20 17:48:27 kn Exp $ # # Copyright (c) 1994 @@ -81,6 +81,7 @@ BEGIN { print "#include <sys/videoio.h>" print "#include <scsi/scsi_all.h>" print "#include <dev/biovar.h>" + print "#include <dev/efi/efiio.h>" print "#include <dev/ipmi.h>" print "#include <dev/pci/drm/include/uapi/drm/i915_drm.h>" print "#include <dev/pv/pvvar.h>" @@ -99,7 +100,7 @@ BEGIN { print "" } -/^[ ]*#[ ]*define[ ]+(ATAIO|AUDIO_|BIOC|CDIO|CHIO|DIOC|DRM|GPIO|IPMICTL|TIO|FIO|KIO|MEMRANGE|MTIOC|LIOC|SIO|OSIO|SESIOC_|SIOC|PCIOC|PIPEX|PPPIOC|PPPOE|PVBUSIOC|RIOC|RND|STRIOC|SCIOC|OSCIOC|TUN|UDLIO|USB|VIDIOC|VNDIOC|VSCSI|WSKBD|WSMOUSE|WSDISPLAY|WSMUX|PTM)[A-Z_0-9]*[ ]+(DRM)?_IO/ { +/^[ ]*#[ ]*define[ ]+(ATAIO|AUDIO_|BIOC|CDIO|CHIO|DIOC|DRM|EFI|GPIO|IPMICTL|TIO|FIO|KIO|MEMRANGE|MTIOC|LIOC|SIO|OSIO|SESIOC_|SIOC|PCIOC|PIPEX|PPPIOC|PPPOE|PVBUSIOC|RIOC|RND|STRIOC|SCIOC|OSCIOC|TUN|UDLIO|USB|VIDIOC|VNDIOC|VSCSI|WSKBD|WSMOUSE|WSDISPLAY|WSMUX|PTM)[A-Z_0-9]*[ ]+(DRM)?_IO/ { # find where the name starts for (i = 1; i <= NF; i++) |