kernel_optimize_test/drivers/serial
Bjorn Helgaas 7e92b4fc34 x86, serial: convert legacy COM ports to platform devices
Make x86 COM ports into platform devices and don't probe for them
if we have PNP.

This prevents double discovery, where a device was found both by
the legacy probe and by 8250_pnp, e.g.,

    serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    00:02: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

This also means IRDA devices without a UART PNP ID will no longer be
claimed by the serial driver, which might require changes in IRDA
drivers and administration.

In addition to this patch, you may need to configure a setserial init
script, e.g., /etc/init.d/setserial, so it doesn't poke legacy UART
stuff back in.  On Debian, "dpkg-reconfigure setserial" with the "kernel"
option does this.

To force the old legacy probe behavior even when we have PNPBIOS or
ACPI, load the new legacy_serial module (or build 8250 static) with
the "legacy_serial.force" option.

[akpm@linux-foundation.org: fix makefiles]
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Keith Owens <kaos@ocs.com.au>
Cc: Len Brown <lenb@kernel.org>
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: Matthieu CASTET <castet.matthieu@free.fr>
Cc: Jean Tourrilhes <jt@hpl.hp.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Ville Syrjala <syrjala@sci.fi>
Cc: Russell King <rmk+serial@arm.linux.org.uk>
Cc: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:23 -07:00
..
cpm_uart SPIN_LOCK_UNLOCKED cleanup in drivers/serial 2007-05-08 11:15:11 -07:00
jsm Subject: jsm driver fix for linuxpps support 2007-05-08 11:15:03 -07:00
8250_accent.c
8250_acorn.c
8250_au1x00.c
8250_boca.c
8250_early.c
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_mca.c
8250_pci.c
8250_pnp.c
8250.c 8250: Remove commented out irq cruft 2007-05-08 11:15:15 -07:00
8250.h
21285.c
68328serial.c
68328serial.h
68360serial.c
amba-pl010.c
amba-pl011.c
atmel_serial.c
atmel_serial.h
bfin_5xx.c blackfin: serial driver 2007-05-07 12:12:58 -07:00
clps711x.c
crisv10.c
dz.c
dz.h
icom.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
icom.h
imx.c
ioc3_serial.c
ioc4_serial.c
ip22zilog.c
ip22zilog.h
Kconfig x86, serial: convert legacy COM ports to platform devices 2007-05-08 11:15:23 -07:00
m32r_sio_reg.h
m32r_sio.c
m32r_sio.h
Makefile blackfin: serial driver 2007-05-07 12:12:58 -07:00
mcfserial.c
mcfserial.h
mpc52xx_uart.c
mpsc.c MPSC serial driver tx locking 2007-05-07 12:12:50 -07:00
mux.c
netx-serial.c
of_serial.c serial: define FIXED_PORT flag for serial_core 2007-05-07 12:12:50 -07:00
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c
pxa.c
s3c2410.c SPIN_LOCK_UNLOCKED cleanup in drivers/serial 2007-05-08 11:15:11 -07:00
sa1100.c
serial_core.c Serial: serial_core, use pr_debug 2007-05-07 12:12:51 -07:00
serial_cs.c
serial_lh7a40x.c
serial_txx9.c serial_txx9: zap changelog from source code 2007-05-08 11:15:12 -07:00
sh-sci.c serial: sh-sci: Fix module clock refcount for serial console. 2007-05-07 02:11:56 +00:00
sh-sci.h sh: MS7712SE01 board support. 2007-05-07 02:10:54 +00:00
sn_console.c
suncore.c
suncore.h
sunhv.c
sunsab.c
sunsab.h
sunsu.c [SERIAL] sunsu: Fix section mismatch warnings. 2007-05-07 00:14:13 -07:00
sunzilog.c
sunzilog.h
uartlite.c
v850e_uart.c
vr41xx_siu.c