Skip to contentSkip to conversation

Support for Perle Systems Speed/LE-8

DISCUSSION Philip Prindeville 2 participants 2 messages Jan 24, 2012 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

Hi.

I have a Perle Speed/LE-8 card that's poorly supported (cough) by the vendor.

The design seems to be plain-vanilla enough: it uses Oxford 9501 and 9511 chips.

$ lspci -v -n -s 04:07
04:07.0 0700: 155f:b008 (prog-if 06 [16950])
	Subsystem: 1415:9501
	Flags: medium devsel, IRQ 21
	I/O ports at ec00 [size=32]
	Memory at fbfff000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at e880 [size=32]
	Memory at fbffe000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [40] Power Management version 1
	Kernel driver in use: perle-serial
	Kernel modules: perle-serial

04:07.1 0680: 155f:b008

	Subsystem: 1415:9511
	Flags: medium devsel, IRQ 21
	I/O ports at e800 [size=32]
	Memory at fbffd000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at e480 [size=32]
	Memory at fbffc000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [40] Power Management version 1
	Kernel driver in use: perle-serial
	Kernel modules: perle-serial

$

There's nothing funky about this card except that one of the lines is either DTR or RTS if I've understood the scarce documentation.

Anyway, I was wondering what's involved in getting the drivers/tty/serial/8250_pci.c to support this?

Thanks,

-Philip

#1 lore raw
Quoted 30 lines · Philip Prindeville

Hi.

I have a Perle Speed/LE-8 card that's poorly supported (cough) by the vendor.

The design seems to be plain-vanilla enough: it uses Oxford 9501 and 9511 chips.

$ lspci -v -n -s 04:07
04:07.0 0700: 155f:b008 (prog-if 06 [16950])
	Subsystem: 1415:9501
	Flags: medium devsel, IRQ 21
	I/O ports at ec00 [size=32]
	Memory at fbfff000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at e880 [size=32]
	Memory at fbffe000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [40] Power Management version 1
	Kernel driver in use: perle-serial
	Kernel modules: perle-serial

04:07.1 0680: 155f:b008

	Subsystem: 1415:9511
	Flags: medium devsel, IRQ 21
	I/O ports at e800 [size=32]
	Memory at fbffd000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at e480 [size=32]
	Memory at fbffc000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [40] Power Management version 1
	Kernel driver in use: perle-serial
	Kernel modules: perle-serial
Quoted 7 lines

$

There's nothing funky about this card except that one of the lines is either DTR or RTS if I've understood the scarce documentation.

Anyway, I was wondering what's involved in getting the drivers/tty/serial/8250_pci.c to support this?

Have you tried adding the pci device ids to the driver and see how well it works, or not?

greg k-h