Previously, those ioctls were defined as 'in' only, so rdata.byte and
rdata.word were never updated in the userland. The read data went only
to rbuf if it was provided. Thus, consumers were forced to always use it.
Now the ioctls are marked as in-out.
Compatibility handlers are provided for old ioctls.
PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213481
Reported by: Lewis Donzis <lew@perftech.com>
https://lists.freebsd.org/pipermail/freebsd-bugs/2016-October/070348.html