On 2/5/07, Marko Kohtala wrote: > Fabrice Bellard: > >Marko Kohtala wrote: > > > > Hi. > > > > With the attached patch I am able to use Kodak Advantix FD 300 APS > > scanner from Win98 when hosted under Linux ix86. It adds EPP support > > and fixes some register bits to match real hw so port identification > > works better. > > > > I tried to separate the linux dependencies with #ifdef __linux__, but > > can not test this does not break compilation for other ports of qemu. > > > >I don't understand why you need a #ifdef __linux__ in parallel.c. > Normally, the qemu >character device should suffice to do the > appropriate abstraction. ... > I am too new with qemu to say how to develop the qemu character device > abstraction for these requirements. Thanks for the offline tip, Fabrice. Here is a new patch for EPP support. This time all linux code is in ioctls. I hope you find it good enough. Marko