> I will remove set_ldisc, and take a look at the rate conversion code... 
> however it was my understanding that TCSET{A,S}{,F,W} and TCGET{A,S} are 
> done in the higher tty layer.  There is a comment in ftdi_ioctl explaining 
> this point.

This is correct providing you don't implement them, in which case it may
get a bit more complex. If you simply ignore the TCSET* ioctls the
kernel wil call you back on the driver termios method and also pass the
previous termios state as an argument and tty->termios holding the 
current state.

You can then call tty_termios_baud_rate to get the selected baud rate.
You can also modify the tty->termios in this function if it askes for a
feature you cannot provide.

Alan



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to