Dear All,
I have an PCI-e X1 card Oxford Semiconductor Ltd OX16PCI954 made of 2*4 e.g 8 serial 16950 UARTs.
lspci -v, reports two detections on same slot (there is two chips on the daugther pci-e board):
…
04:04.0 Serial controller: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 0 (Uart)
04:04.1 Bridge: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 1 (8bit bus)
04:08.0 Serial controller: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 0 (Uart)
04:08.1 Bridge: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 1 (8bit bus)
…
lspci -vvv well detects addresses of those 2 chips (each manage 4 serial ports) as based 0xa000 for first chip and based 0xa400 for second chip.
but setserial -g /dev/ttyS* reports :
/dev/ttyS0, UART: 16950/954, Port: 0xa000, IRQ: 17
/dev/ttyS1, UART: 16950/954, Port: 0xa008, IRQ: 17
/dev/ttyS2, UART: 16950/954, Port: 0xa010, IRQ: 17
/dev/ttyS3, UART: 16950/954, Port: 0xa018, IRQ: 17
/dev/ttyS4: No such device or adress
/dev/ttyS5: No such device or adress
/dev/ttyS6: No such device or adress
/dev/ttyS7: No such device or adress
as if only the 4 first ports were scanned.
I guess the serial driver by default installs 8 /dev/ttySx but only scans 4 of them.
So I’ve added command : 8250.nr_uarts=8 to my file menu.lst of grub boot. It’s now :
…
###Don’t change this comment - YaST2 identifier: Original name: linux-2.6.25.18-0.2-default###
title openSUSE 11.0 - 2.6.25.18-0.2 (default)
kernel (hd0,0)/vmlinuz-2.6.25.18-0.2-default root=/dev/md0 resume=/dev/sda2 splash=silent showopts 8250.nr_uarts=8 nr_uarts=8 vga=0x31a
initrd (hd0,0)/initrd-2.6.25.18-0.2-default
…
Nothing changed, always only 4 ports detected and boot config continues to check only 4 ports, as config reports! >:(:
cat /boot/config-2.6.25.18-0.2-default |grep UARTS
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
What is the mistake?
Any idea?
Thx for support,
Hervé