ioctl switch statement weirdness

Doug Haigh dhaigh at
Fri Oct 8 06:05:32 PDT 2004

It appears my problem had nothing to do with the driver code. I have a IOCTL test program that was common for Linux, FreeBSd, and Solaris. All of the other OSes' ioctl command value is an int, but under FreeBSD it is a u_long. The value was being changed by the ioctl call instead of something in my driver.

Sign-up for Ads Free at

More information about the freebsd-sparc64 mailing list