patch-2.4.22 linux-2.4.22/drivers/usb/serial/io_edgeport.c
Next file: linux-2.4.22/drivers/usb/serial/ipaq.c
Previous file: linux-2.4.22/drivers/usb/serial/ftdi_sio.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/usb/serial/io_edgeport.c
- Orig date:
2003-06-13 07:51:37.000000000 -0700
diff -urN linux-2.4.21/drivers/usb/serial/io_edgeport.c linux-2.4.22/drivers/usb/serial/io_edgeport.c
@@ -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);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)