Subject: Silly (?) question
To: None <port-pmax@netbsd.org>
From: Andy Doran <ad@netbsd.org>
List: port-pmax
Date: 10/31/1999 16:48:18
Anybody know off hand why calling ioctl(fd, QIOCGMAP, ...) on /dev/px0
would fail with ENOTTY? pxioctl() never gets entered, all I can see is
this in sys_generic.c and it can't possibly be the reason, can it?:
/*
* Interpret high order word to find amount of data to be
* copied to/from the user's address space.
*/
size = IOCPARM_LEN(com);
if (size > IOCPARM_MAX) {
error = ENOTTY;
goto out;
}
It worked in April...
- ad