Pavel Machek <[EMAIL PROTECTED]> writes:
> Hi!
>
> n2cd now works for me (i.e. I've now two laptops connected using
> infrared ports but without using irda stack. And one of them is
> toshiba with toshoboe driver.)
>
> Unfortunately, I'm currently stuck at 9600. Irda defined its own
> structure irda_device, and function for changing speed is in that
> special structure, not in struct netdevice.
Not IrDA, it was Thomas, Haris and myself!
> Proposal: move change_speed into struct netdevice, under do_ioctl
> part. ifr_bandwidth just fits for our purposes.
>
> What do you think?
I have planned to make the change speed ioctl for a long time since I need
it for irdadump. Ifr_bandwidth looks fine, but there is no need for moving
change_speed into struct netdevice. The device drivers ioctl function
should be able to know the name if its own change_speed function.
-- 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/ ///