I have a "Kontron(ex Thales)
PMC-SIO" Serial PMC card.
Which has a couple of ESCC
Zilog - Z8523016VSC chips on it.
The problem is, no device driver! Do I need one though?
I found these files in the 2.6.24.7 kernel, why are these not for i386?
Code:
ls linux-2.6.24.7/drivers/serial/ | grep zilog
ip22zilog.c/h
pmac_zilog.c/h
sunzilog.c/h
Notes :-
ESCC - Enhanced Serial Communication Controller
PMC - PCI Mezzanine Card
The Thales spec PDF above states "Supports VxWorks" of which I know is via CDROM with Drivers and Example code. What about Linux?
Web Research :-
Serial Communication Controller info from
Laboratoire CLIPS (Translated from French)
Target Research :-
I have an older kernel I know (other platform issues) :-
Linux 2.6.18-128.el5 #1 SMP i686 i686 i386 GNU/Linux
lspci finds the PCI Bridging chip.
Code:
# lspci -s 6:4.0 -vv
06:04.0 Bridge: PLX Technology, Inc. PCI9030 32-bit 33MHz PCI <-> IOBus Bridge (rev 01)
Subsystem: Thales Computers Unknown device 0002
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 80100000 (32-bit, non-prefetchable) [size=128]
Region 1: I/O ports at 2000 [size=128]
Region 2: Memory at 80100080 (32-bit, non-prefetchable) [size=64]
Capabilities: [40] Power Management version 0
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
# lspci -s 6:4.0 -xxx
06:04.0 Bridge: PLX Technology, Inc. PCI9030 32-bit 33MHz PCI <-> IOBus Bridge (rev 01)
00: b5 10 30 90 03 00 90 02 01 00 80 06 00 00 00 00
10: 00 00 10 80 01 20 00 00 80 00 10 80 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4a 18 02 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00
40: 01 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# dmesg | grep tty
Kernel command line: ro root=LABEL=/ console=ttyS0,115200n8 rhgb quiet
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
# ll /dev/ttyS*
crw------- 1 root root 4, 64 Jan 1 00:01 /dev/ttyS0
crw-rw---- 1 root uucp 4, 65 Jan 1 00:00 /dev/ttyS1
crw-rw---- 1 root uucp 4, 66 Jan 1 00:00 /dev/ttyS2
crw-rw---- 1 root uucp 4, 67 Jan 1 00:00 /dev/ttyS3
# setserial -G /dev/ttyS*
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
# cat /proc/ioports
...
2000-2fff : PCI Bus #06
2000-207f : 0000:06:04.0
...
Edit start
The
Fastcom ESCC-PCI-335 uses a
SIEMENS SAB82532 ESCC via PCI!
So is ESCC a standard? Can/should the Linux kernel support it?
End end
I am lost who to ask, I know this is real down deep in the drivers/kernel space, and most likely it is really the customer who has to support me on this.
But I am a geek, and wanna know more!
Any help, pointers, redirects on who to ask....
Cheers Ian