Subject: kdump enhancement
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Havard Eidnes <Havard.Eidnes@runit.sintef.no>
List: netbsd-bugs
Date: 01/09/1994 16:33:43
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"

Hi,

this makes the BPF ioctls print nicely with kdump.

- Havard

------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-Description: mkioctl diffs

*** mkioctls.old	Fri Dec 17 08:12:20 1993
--- mkioctls	Sun Jan  9 16:25:31 1994
***************
*** 7,10 ****
--- 7,11 ----
  	print "#include <net/if.h>"
  	print "#include <sys/termios.h>"
+ 	print "#include <net/bpf.h>"
  	print "#define COMPAT_43"
  	print "#include <sys/ioctl.h>"
***************
*** 16,20 ****
  }
  
! /^#[ 	]*define[ 	]*(TIO|FIO|SIO|OSIO)[A-Z]*[ 	]*_IO/ {
  	
  	# find where the name starts
--- 17,21 ----
  }
  
! /^#[ 	]*define[ 	]*(BIO|TIO|FIO|SIO|OSIO)[A-Z]*[ 	]*_IO/ {
  	
  	# find where the name starts
***************
*** 31,33 ****
  	print "}"
  }
! ' /usr/include/sys/ioctl.h /usr/include/sys/ioctl_compat.h
--- 32,34 ----
  	print "}"
  }
! ' /usr/include/sys/ioctl.h /usr/include/sys/ioctl_compat.h /usr/include/net/bpf.h

------- =_aaaaaaaaaa0--

------------------------------------------------------------------------------