From: kunst AT prl DOT philips DOT nl (Pieter Kunst) Subject: missing IOCTL subfunctions To: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list) Date: Wed, 6 Jan 93 18:02:47 MET Cc: kunst AT prl DOT philips DOT nl (Pieter Kunst) Mailer: Elm [revision: 70.30] I have a question concerning unimplemented IOCTL subfunctions. From $DJGPP/go32/exphdlr.c it can be seen, that the subfunctions 2,3,4,5,C and D of INT 0x21, FUNC 0x44 (IOCTL) are not implemented, as I assume because they need to transfer data from the (protected mode) program area to the (real mode) DOS program area, where the DOS interrupts are performed. I have a commercial device driver for an IEEE card which needs low-level initializations using the IOCTL subfunctions 2 and 3. In my opinion, if the amount of bytes to be transfered is less (or equal) than 4096 it would be relatively simple to add these subfunctions to 'exphdlr.c'. (using memget() etc.) Before applying a patch to 'go32' I would like to know if anyone has a better suggestion to solve this sort of problem. -- Pieter Kunst (kunst AT prl DOT philips DOT nl)