[PATCH] DM9000 - incorrect ioctl() handling