... is out for testing. This is the first patch where those of you who are
interested, can have a look at the new device driver architecture. I
couldn't get 2.3.22 to boot myself, but the patch should work fine for
2.3.19-2.3.22 as well. 

Some changes:

o Removed struct irda_device

o Speed is now tagged to each frame, and the device driver will have to
  check each frame for the correct speed. This fixes the problems with
  changing the speed when the device driver queue is non-empty.

o Irmanager is not needed anymore, except for IrLAN (which is not fixed for 
  this yet), and for automagically starting discovery, which should
  probably be done by irattach instead. I expect irattach will be the only
  tool to use in future (also for loading FIR drivers)

o Most drivers and dongles should work, except smc-ircc, uircc (not that
  they have ever worked before), and airport. The airport dongle was very
  hard to port, but I have not given up yet. As a compromise, I think we
  should let the airport dongle require the use of irmanager, until we
  figure it out.

o I have started to make changes which will make it easier to use the
  device drivers for other infrared modes (like tv-remote) and for reading
  data directly to user space as a tty. (work in progress)

Anyway, have a look if you are interested, and give me some comments. It
has been very hard to make these changes, but I guess some things are not
perfect yet. If you have any problems compiling, then just remove all lines 
with #include <net/irda/dongle.h>

-- Dag

-- 
   / Dag Brattli                   | The Linux-IrDA Project               /
  // University of Tromsoe, Norway | Infrared communication for Linux    //
 /// http://www.cs.uit.no/~dagb    | http://www.cs.uit.no/linux-irda/   ///

_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to