Adding initial uinput support, adapting uinput.h to FreeBSD ioctl specifics.
Return POLLNVAL when devfs_get_cdevpriv() returns error.
Remove unused stuff from uinput driver.