Alright, I have removed the call to set_ldisc from 'cypress_set_termios' and the two calls to TCSETS TCGETS in 'cypress_ioctl'. The only problem I found with the line speed code were the few extra calls that I removed going above B115200 in the helper function 'rate_to_mask'. The driver uses the same setup as the pl2303 driver uses when setting the line speed. Take a look at pl2303_set_termios, it's almost the exact same setup except I exported some of the code into another function 'cypress_serial_control'. I do not see any platform dependent code here in regards to the line setting code. If that is all you guys can see wrong, I will resubmit it.



-------------------------------------------------------
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