Changing speed of irda devices

Pavel Machek (pavel@bug.ucw.cz)
Fri, 23 Jul 1999 11:59:04 +0200


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.

Proposal: move change_speed into struct netdevice, under do_ioctl
part. ifr_bandwidth just fits for our purposes.

What do you think?
Pavel
PS: Other possibility is to reuse media type field. It is quite clean:
speeds do specify external interface of irda chips and if two cards
are set on different speeds, they can not talk to each other.

-- 
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel.  Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/