patch-2.4.8 linux/drivers/char/serial.c
Next file: linux/drivers/char/synclink.c
Previous file: linux/drivers/char/sbc60xxwdt.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Sun Aug 5 13:12:41 2001
- Orig file:
v2.4.7/linux/drivers/char/serial.c
- Orig date:
Wed Jul 25 17:10:20 2001
diff -u --recursive --new-file v2.4.7/linux/drivers/char/serial.c linux/drivers/char/serial.c
@@ -3157,6 +3157,9 @@
info->tty->low_latency = (info->flags & ASYNC_LOW_LATENCY) ? 1 : 0;
#endif
+ /*
+ * This relies on lock_kernel() stuff so wants tidying for 2.5
+ */
if (!tmp_buf) {
page = get_zeroed_page(GFP_KERNEL);
if (!page) {
@@ -5429,6 +5432,10 @@
state->io_type = SERIAL_IO_HUB6;
if (state->port && check_region(state->port,8))
continue;
+#ifdef CONFIG_MCA
+ if ((state->flags & ASYNC_BOOT_ONLYMCA) && !MCA_bus)
+ continue;
+#endif
if (state->flags & ASYNC_BOOT_AUTOCONF)
autoconfig(state);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)