Bear in mind that the ioctl in R5 seems to be broken as it doesn't always pass back the correct error value, so we're having to add parameters to all the structures to pass the error value back. david ----- Original Message ----- From: "François Revol" <revol@xxxxxxx> To: <openbeos@xxxxxxxxxxxxx> Sent: Wednesday, March 27, 2002 10:23 PM Subject: [openbeos] Re: parallel driver > I didn't say it was as hard as a network stack :P > just said it was harder than I thought at first :))) > > Btw, in anycase there will still be a /dev/parallel/* driver that follows the > API defined in > file:///boot/develop/headers/be/drivers/parallel_driver.h > So the print team shouldn't worry about the parallel transport addon. > the DGL_* things aren't of any interest to them. > I think I will first write a test harness for this driver to check the IOCTL > behaviour, and to show how to access it. (like the audio driver API which has > some weird IOCTLS... nearly everything is passed by reference, except *some* > which are passed by value... this has caused me countless amount of KDL :)))) > > François. > > > En réponse à David Reid <mail@xxxxxxxxxxxxxx>: > > > Given our experience with the network stuff actually writing a version > > for current beos shouldn't be that hard... > > > > Interesting, but not that hard! > > > > david > > > >