LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Serial Driver Failing to Register all Ports of my Quad Uart (https://www.linuxquestions.org/questions/linux-newbie-8/serial-driver-failing-to-register-all-ports-of-my-quad-uart-584420/)

bramsey123 09-13-2007 10:16 AM

Serial Driver Failing to Register all Ports of my Quad Uart
 
I have built a pci board with an Oxford OX16PCI954 chip. I have placed it in mode 00 which has two functions. Function 0 is a Quad Uart and function 1 is an 8-bit local bus. That issue I'm having is that when I place the device in the pc and boot it comes up as the first 3 ports of the uart being registered as serial port but the 4 port failing. Then it registers the 8-bit local bus as a serial port and also fails. I'm not entirely sure what this means. Below is he output from /var/log/messages.


Sep 13 08:43:24 localhost kernel: Serial: 8250/16550 driver $Revision:
1.90 $ 4 ports, IRQ sharing disabled
Sep 13 08:43:24 localhost kernel: serial8250: ttyS0 at I/O 0x3f8 (irq
= 4) is a 16550A
Sep 13 08:43:24 localhost kernel: 00:07: ttyS0 at I/O 0x3f8 (irq = 4)
is a 16550A
Sep 13 08:43:24 localhost kernel: ACPI: PCI Interrupt Link [LNKM]
enabled at IRQ 10
Sep 13 08:43:24 localhost kernel: ACPI: PCI Interrupt 0000:00:09.0[A]
-> Link [LNKM] -> GSI 10 (level, low) -> IRQ 10
Sep 13 08:43:24 localhost kernel: ttyS1: detected caps 00000700 should
be 00000100
Sep 13 08:43:24 localhost kernel: 0000:00:09.0: ttyS1 at I/O 0xeca0
(irq = 10) is a 16C950/954
Sep 13 08:43:24 localhost kernel: ttyS2: detected caps 00000700 should
be 00000100
Sep 13 08:43:24 localhost kernel: 0000:00:09.0: ttyS2 at I/O 0xeca8
(irq = 10) is a 16C950/954
Sep 13 08:43:24 localhost kernel: ttyS3: detected caps 00000700 should
be 00000100
Sep 13 08:43:24 localhost kernel: 0000:00:09.0: ttyS3 at I/O 0xecb0
(irq = 10) is a 16C950/954
Sep 13 08:43:24 localhost kernel: Couldn't register serial port
0000:00:09.0: -28
Sep 13 08:43:24 localhost kernel: ACPI: PCI Interrupt Link [LNKN]
enabled at IRQ 7
Sep 13 08:43:24 localhost kernel: ACPI: PCI Interrupt 0000:00:09.1[B]
-> Link [LNKN] -> GSI 7 (level, low) -> IRQ 7
Sep 13 08:43:24 localhost kernel: Couldn't register serial port
0000:00:09.1: -28
Sep 13 08:43:24 localhost kernel: RAMDISK driver initialized: 16 RAM
disks of 16384K size 1024 blocksize

Below is the output from lspci which shows the device at 00:09.0 and 00.09.1:

[root@localhost]# /sbin/lspci
00:00.0 Host bridge: Broadcom (formerly ServerWorks) CNB20LE Host
Bridge (rev 06)
00:00.1 Host bridge: Broadcom (formerly ServerWorks) CNB20LE Host
Bridge (rev 06)
00:02.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro
100] (rev 08)
00:09.0 Serial controller: Oxford Semiconductor Ltd OX16PCI954 (Quad
16950 UART) function 0
00:09.1 Bridge: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 1
00:0b.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:0f.0 ISA bridge: Broadcom (formerly ServerWorks) CSB5 South Bridge (rev 92)
00:0f.1 IDE interface: Broadcom (formerly ServerWorks) CSB5 IDE
Controller (rev 92)
00:0f.2 USB Controller: Broadcom (formerly ServerWorks) OSB4/CSB5 OHCI
USB Controller (rev 05)
00:0f.3 Host bridge: Broadcom (formerly ServerWorks) CSB5 LPC bridge

Below is the output from scanpci which seems to contatin the proper values in the pci configuration space.

[root@localhost]# scanpci -v
pci bus 0x0000 cardnum 0x09 function 0x00: vendor 0x1415 device 0x9501
Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 0
CardVendor 0x1415 card 0x0000 (Oxford Semiconductor Ltd, Card unknown)
STATUS 0x0290 COMMAND 0x0103
CLASS 0x07 0x00 0x06 REVISION 0x00
BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00
BASE0 0x0000eca1 addr 0x0000eca0 I/O
BASE1 0xfe105000 addr 0xfe105000 MEM
BASE2 0x0000ec61 addr 0x0000ec60 I/O
BASE3 0xfe104000 addr 0xfe104000 MEM
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x0a
BYTE_0 0x01 BYTE_1 0x00 BYTE_2 0x01 BYTE_3 0x6c

pci bus 0x0000 cardnum 0x09 function 0x01: vendor 0x1415 device 0x9511
Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 1
CardVendor 0x1415 card 0x0000 (Oxford Semiconductor Ltd, Card unknown)
STATUS 0x0290 COMMAND 0x0103
CLASS 0x06 0x80 0x00 REVISION 0x00
BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00
BASE0 0x0000ec81 addr 0x0000ec80 I/O
BASE1 0xfe103000 addr 0xfe103000 MEM
BASE2 0x0000ec41 addr 0x0000ec40 I/O
BASE3 0xfe102000 addr 0xfe102000 MEM
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x02 INT_LINE 0x07
BYTE_0 0x01 BYTE_1 0x00 BYTE_2 0x01 BYTE_3 0x6c

Any help would be greatly appreciated, thanks.


All times are GMT -5. The time now is 08:15 PM.