ChangeSet 1.1005.1.2, 2003/06/24 14:33:27-07:00, [EMAIL PROTECTED]
[PATCH] USB: add support for 50 baud to io_edgeport.c
drivers/usb/serial/io_edgeport.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -Nru a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c
--- a/drivers/usb/serial/io_edgeport.c Fri Jun 27 16:27:24 2003
+++ b/drivers/usb/serial/io_edgeport.c Fri Jun 27 16:27:24 2003
@@ -411,6 +411,7 @@
// MCR.7 = 0.
//
static struct divisor_table_entry divisor_table[] = {
+ { 50, 4608},
{ 75, 3072},
{ 110, 2095}, /* 2094.545455 => 230450 => .0217 % over */
{ 134, 1713}, /* 1713.011152 => 230398.5 => .00065% under */
@@ -2597,7 +2598,7 @@
// We have tried all of the standard baud rates
// lets try to calculate the divisor for this baud rate
// Make sure the baud rate is reasonable
- if (baudrate > 75 && baudrate < 230400) {
+ if (baudrate < 230400) {
// get divisor
custom = (__u16)(230400L / baudrate);
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel