From: Tim W. <tw...@re...> - 2001-01-04 09:44:08
|
On Thu, Jan 04, 2001 at 01:40:29AM +0100, Burkhard Kohl wrote: > What would be the proper replacement for a statement like > outb(PAR_ECP_CONTROL_BIDIRECTIONAL, ECONTROL(l->port)); > when switching from ecp forward to reverse? Or is that now obsolete > because it could handled by the parport_pc module? Unfortunately > we can't use the ieee1284 functions. (If you're not using the in-kernel parport support, why do you need to replace it?) parport_pc doesn't even use the ECR for this (rightly or wrongly), it just does it by hand. As I understand it, the reason you need to avoid the IEEE 1284 functions is to do with blocking. Is that right? In 2.4 there was a new function 'parport_set_timeout' which was for handling this requirement. > >From the parport driver sources I see that there is no BECP support=20 > for now - do you expect to have it in the near future? In ieee12844pp.c > there is actually only one event (41) referring to becp when switching > from ecp reverse to forward when the peripheral is idle. It's not something that there's ever been demand for; in fact, you're the first person who's even mentioned it. :-) Tim. */ |