linux/drivers/serial
Bjorn Helgaas e02f5f52ca serial: only use PNP IRQ if it's valid
"Luming Yu" <luming.yu@gmail.com> says:

  There is a "ttyS1 irq is -1" problem observed on tiger4 which cause the
  serial port broken.

  It is because that there is __no__ ACPI IRQ resource assigned for the
  serial port.  So the value of the IRQ for the port is never changed since it
  got initialized to -1.

If PNP supplies a valid IRQ, use it.  Otherwise, leave port.irq == 0, which
means "no IRQ" to the serial core.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Yu Luming <luming.yu@intel.com>
Acked-by: Matthew Wilcox <matthew@wil.cx>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-11-14 18:45:41 -08:00
..
cpm_uart
jsm jsm: Remove further unneeded crud 2007-10-17 08:42:52 -07:00
8250_accent.c
8250_acorn.c
8250_au1x00.c
8250_boca.c
8250_early.c serial: fix compile warning about putc 2007-11-05 15:12:32 -08:00
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_mca.c
8250_pci.c PCI: pciserial_resume_one ignored return value of pci_enable_device 2007-11-05 13:35:17 -08:00
8250_pnp.c serial: only use PNP IRQ if it's valid 2007-11-14 18:45:41 -08:00
8250.c
8250.h
21285.c
68328serial.c
68328serial.h
68360serial.c
amba-pl010.c
amba-pl011.c amba-pl011, rename BIT macro 2007-10-19 11:53:42 -07:00
atmel_serial.c atmel_serial build warnings begone 2007-11-14 18:45:39 -08:00
atmel_serial.h
bfin_5xx.c
clps711x.c
crisv10.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
dz.c
dz.h
icom.c
icom.h
imx.c
ioc3_serial.c
ioc4_serial.c
ip22zilog.c
ip22zilog.h
Kconfig Blackfin serial driver Kconfig: depend on DMA not being enabled rather than a specific DMA size 2007-10-21 22:30:01 +08:00
m32r_sio_reg.h
m32r_sio.c m32r: serial: remove M32R_SIO_SHARE_IRQS 2007-10-16 09:43:04 -07:00
m32r_sio.h m32r: serial: remove M32R_SIO_SHARE_IRQS 2007-10-16 09:43:04 -07:00
Makefile
mcf.c m68knommu: new style ColdFire UART driver 2007-10-23 08:32:34 -07:00
mcfserial.c
mcfserial.h
mpc52xx_uart.c
mpsc.c
mux.c
netx-serial.c
of_serial.c
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c
pxa.c
s3c2410.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
sa1100.c
sb1250-duart.c
serial_core.c serial: stop passing NULL to functions that expect data 2007-10-25 12:18:40 -07:00
serial_cs.c netdrvr/pcmcia: use IRQ_TYPE_DYNAMIC_SHARING flag for irq.Attributes. 2007-10-29 06:07:05 -04:00
serial_ks8695.c
serial_lh7a40x.c
serial_txx9.c serial: fix serial_txx9 console initialization 2007-10-30 08:06:55 -07:00
sh-sci.c
sh-sci.h sh: Remove SCI_NPORTS from sh-sci.h 2007-11-07 14:54:32 +09:00
sn_console.c
suncore.c
suncore.h
sunhv.c
sunsab.c
sunsab.h
sunsu.c
sunzilog.c
sunzilog.h
uartlite.c [POWERPC] Uartlite: speed up console output 2007-11-01 07:12:19 -05:00
v850e_uart.c
vr41xx_siu.c
zs.c
zs.h