On Fri, 2004-07-30 at 03:13, Jim Cornette wrote:
I was reading up on mtrr and ioctl because of a problem that I have
with
starting X up when my computer is first booted. Google brought up this post.
Subject PATCH: fix bogus ioctl return in mtrr
This is fairly self explanatory - ENOIOCTLCMD is an internal code
outside of the -1 to -511 range. The correct return for an unknown ioctl
is -ENOTTY
although some Linux devices return the incorrect -EINVAL result.
http://lkml.org/lkml/2004/7/27/242
no that patch won't help you, if you get into that path you get an error
no matter what, it's just the exact error value that was incorrect.