cp210x.c (7aecd7fc5d95f1447611ab5e14db5ab9549f979c) | cp210x.c (5edb65a33710bbf10f38b42e0d497b35ec1ed908) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Silicon Laboratories CP210x USB to RS232 serial adaptor driver 4 * 5 * Copyright (C) 2005 Craig Shelley (craig@microtron.org.uk) 6 * 7 * Support to set flow control line levels using TIOCMGET and TIOCMSET 8 * thanks to Karl Hiramoto karl@hiramoto.org. RTSCTS hardware flow --- 1523 unchanged lines hidden (view full) --- 1532 case CP210X_PARTNUM_CP2101: 1533 max = 921600; 1534 break; 1535 case CP210X_PARTNUM_CP2102: 1536 case CP210X_PARTNUM_CP2103: 1537 max = 1000000; 1538 break; 1539 case CP210X_PARTNUM_CP2104: | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Silicon Laboratories CP210x USB to RS232 serial adaptor driver 4 * 5 * Copyright (C) 2005 Craig Shelley (craig@microtron.org.uk) 6 * 7 * Support to set flow control line levels using TIOCMGET and TIOCMSET 8 * thanks to Karl Hiramoto karl@hiramoto.org. RTSCTS hardware flow --- 1523 unchanged lines hidden (view full) --- 1532 case CP210X_PARTNUM_CP2101: 1533 max = 921600; 1534 break; 1535 case CP210X_PARTNUM_CP2102: 1536 case CP210X_PARTNUM_CP2103: 1537 max = 1000000; 1538 break; 1539 case CP210X_PARTNUM_CP2104: |
1540 use_actual_rate = true; 1541 max = 2000000; 1542 break; |
|
1540 case CP210X_PARTNUM_CP2108: 1541 max = 2000000; 1542 break; 1543 case CP210X_PARTNUM_CP2105: | 1543 case CP210X_PARTNUM_CP2108: 1544 max = 2000000; 1545 break; 1546 case CP210X_PARTNUM_CP2105: |
1544 if (cp210x_interface_num(serial) == 0) | 1547 if (cp210x_interface_num(serial) == 0) { 1548 use_actual_rate = true; |
1545 max = 2000000; /* ECI */ | 1549 max = 2000000; /* ECI */ |
1546 else | 1550 } else { |
1547 max = 921600; /* SCI */ | 1551 max = 921600; /* SCI */ |
1552 } |
|
1548 break; 1549 case CP210X_PARTNUM_CP2102N_QFN28: 1550 case CP210X_PARTNUM_CP2102N_QFN24: 1551 case CP210X_PARTNUM_CP2102N_QFN20: 1552 use_actual_rate = true; 1553 max = 3000000; 1554 break; 1555 default: --- 59 unchanged lines hidden --- | 1553 break; 1554 case CP210X_PARTNUM_CP2102N_QFN28: 1555 case CP210X_PARTNUM_CP2102N_QFN24: 1556 case CP210X_PARTNUM_CP2102N_QFN20: 1557 use_actual_rate = true; 1558 max = 3000000; 1559 break; 1560 default: --- 59 unchanged lines hidden --- |