Hmmm... plugged in a "CyberPro PCI 4S" 4-port serial card, which uses
16950 chips:
% lspci -v
...
00:0e.0 Serial controller: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950
UART) function 0 (Uart) (prog-if 06 [16950])
Subsystem: Siig Inc Device 2052
Flags: medium devsel, IRQ 10
I/O ports at e500 [size=32]
Memory at a0005000 (32-bit, non-prefetchable) [size=4K]
I/O ports at e520 [size=32]
Memory at a0006000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 1
Kernel driver in use: serial
00:0e.1 Bridge: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function
1 (Disabled)
Subsystem: Siig Inc Device 0000
Flags: medium devsel, IRQ 15
I/O ports at e540 [size=32]
Memory at a0007000 (32-bit, non-prefetchable) [size=4K]
I/O ports at e560 [size=32]
Memory at a0008000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 1
...
dmesg tells me:
PCI: 0000:00:0e.0 reg 10 io port: [e500, e51f]
PCI: 0000:00:0e.0 reg 14 32bit mmio: [a0005000, a0005fff]
PCI: 0000:00:0e.0 reg 18 io port: [e520, e53f]
PCI: 0000:00:0e.0 reg 1c 32bit mmio: [a0006000, a0006fff]
pci 0000:00:0e.0: supports D2
pci 0000:00:0e.0: PME# supported from D0 D2 D3hot
pci 0000:00:0e.0: PME# disabled
PCI: 0000:00:0e.1 reg 10 io port: [e540, e55f]
PCI: 0000:00:0e.1 reg 14 32bit mmio: [a0007000, a0007fff]
PCI: 0000:00:0e.1 reg 18 io port: [e560, e57f]
PCI: 0000:00:0e.1 reg 1c 32bit mmio: [a0008000, a0008fff]
pci 0000:00:0e.1: supports D2
pci 0000:00:0e.1: PME# supported from D0 D2 D3hot
pci 0000:00:0e.1: PME# disabled
...
Serial: 8250/16550 driver4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS2: detected caps 00000700 should be 00000100
0000:00:0e.0: ttyS2 at I/O 0xe500 (irq = 10) is a 16C950/954
ttyS3: detected caps 00000700 should be 00000100
0000:00:0e.0: ttyS3 at I/O 0xe508 (irq = 10) is a 16C950/954
Couldn't register serial port 0000:00:0e.0: -28
S0 and S1 are on the motherboard... so S2 and S3 are on the PCI card, but it's
a 4-port card. So where are the other 2 ports?
Errno 28 is:
#define ENOSPC 28 /* No space left on device */
which doesn't make much sense.
------------------------------------------------------------------------------
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
[email protected].