| From | Subject | Date |
|---|---|---|
| John Baldwin | Re: Inappropriate ioctl for device
0 is not a valid ioctl code. A valid ioctl code has to have at least
one of IOC_VOID, IOC_IN, or IOC_OUT set. Also, if it has either IOC_IN
or IOC_OUT set, it must have a non-zero size field. You should use one
of the _IO* macros from <sys/iocomm.h> to define a valid ioctl code and
pass that to your driver.
--
John Baldwin
_______________________________________________
freebsd-drivers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
To ...
| Dec 27, 12:29 pm 2010 |
| previous day | today | next day |
|---|---|---|
| December 24, 2010 | December 27, 2010 | None |
