ChangeSet 1.1348.19.3, 2003/06/24 14:33:45-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  Tue Jun 24 15:29:22 2003
+++ b/drivers/usb/serial/io_edgeport.c  Tue Jun 24 15:29:22 2003
@@ -412,6 +412,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 */
@@ -2591,7 +2592,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 is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to