patch-2.2.0-pre8 linux/drivers/char/serial.c
Next file: linux/drivers/char/tty_io.c
Previous file: linux/drivers/char/saa5249.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Jan 14 10:27:53 1999
- Orig file:
v2.2.0-pre7/linux/drivers/char/serial.c
- Orig date:
Thu Jan 7 15:11:36 1999
diff -u --recursive --new-file v2.2.0-pre7/linux/drivers/char/serial.c linux/drivers/char/serial.c
@@ -1681,7 +1681,7 @@
new_serial.irq = irq_cannonicalize(new_serial.irq);
if ((new_serial.irq >= NR_IRQS) || (new_serial.port > 0xffff) ||
- (new_serial.baud_base == 0) || (new_serial.type < PORT_UNKNOWN) ||
+ (new_serial.baud_base < 9600)|| (new_serial.type < PORT_UNKNOWN) ||
(new_serial.type > PORT_MAX) || (new_serial.type == PORT_CIRRUS) ||
(new_serial.type == PORT_STARTECH)) {
return -EINVAL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov