linux/drivers/serial
Guennadi Liakhovetski 7ca796f492 serial: fix serial_match_port() for dynamic major tty-device numbers
As reported by Vipul Gandhi, the current serial_match_port() doesn't work
for tty-devices using dynamic major number allocation.  Fix it.

It oopses if you suspend a serial port with _dynamic_ major number.  ATM,
I think, there's only the drivers/serial/jsm/jsm_driver.c driver, that
does it in-tree.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Tested-by: Vipul Gandhi <vcgandhi1@aol.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-04 10:40:04 -07:00
..
cpm_uart
jsm
8250_accent.c
8250_acorn.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 serial: support for InstaShield IS-400 four port RS-232 PCI card 2008-05-24 09:56:09 -07:00
8250_pnp.c
8250.c 8250 Serial Driver: revert extra IRQ flag definition patch 2008-05-31 16:10:04 +08:00
8250.h 8250 Serial Driver: revert extra IRQ flag definition patch 2008-05-31 16:10:04 +08:00
21285.c
68328serial.c
68328serial.h
68360serial.c
amba-pl010.c
amba-pl011.c
atmel_serial.c atmel_serial: filter out FP during baud rate detection 2008-06-06 11:29:12 -07:00
bfin_5xx.c Blackfin Serial Driver: Use timer to poll CTS PIN instead of workqueue. 2008-06-19 17:46:39 +08:00
bfin_sport_uart.c
bfin_sport_uart.h
clps711x.c
crisv10.c
crisv10.h
dz.c
dz.h
icom.c
icom.h
imx.c
ioc3_serial.c
ioc4_serial.c
ip22zilog.c
ip22zilog.h
Kconfig Blackfin SPORTS UART Driver: converting BFIN->BLACKFIN 2008-05-17 18:22:26 +08:00
kgdboc.c
m32r_sio_reg.h
m32r_sio.c
m32r_sio.h
Makefile
mcf.c
mcfserial.c m68knommu: add info about removing mcfserial 2008-05-14 19:11:12 -07:00
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
sa1100.c
sb1250-duart.c serial: fix driver_name conflicts 2008-06-06 11:29:09 -07:00
sc26xx.c
serial_core.c serial: fix serial_match_port() for dynamic major tty-device numbers 2008-07-04 10:40:04 -07:00
serial_cs.c
serial_ks8695.c
serial_lh7a40x.c
serial_txx9.c
sh-sci.c sh: use the common ascii hex helpers 2008-05-16 15:09:08 +09:00
sh-sci.h
sn_console.c
suncore.c
suncore.h
sunhv.c sunhv: Fix locking in non-paged I/O case. 2008-05-20 23:42:09 -07:00
sunsab.c
sunsab.h
sunsu.c
sunzilog.c
sunzilog.h
uartlite.c
ucc_uart.c serial: fix driver_name conflicts 2008-06-06 11:29:09 -07:00
v850e_uart.c
vr41xx_siu.c
zs.c
zs.h