freebsd-skq/sys/dev/bge
David Malone 041b706b2f Despite several examples in the kernel, the third argument of
sysctl_handle_int is not sizeof the int type you want to export.
The type must always be an int or an unsigned int.

Remove the instances where a sizeof(variable) is passed to stop
people accidently cut and pasting these examples.

In a few places this was sysctl_handle_int was being used on 64 bit
types, which would truncate the value to be exported.  In these
cases use sysctl_handle_quad to export them and change the format
to Q so that sysctl(1) can still print them.
2007-06-04 18:25:08 +00:00
..
if_bge.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
if_bgereg.h Rearrange DMA read/write control register settings based on document snippet 2007-05-22 19:22:58 +00:00