misc/163450: new pci quad serial card supported by puc

Anonymous Hardware Hacker silicium at harmony-p.ath.cx
Mon Dec 19 15:00:22 UTC 2011


>Number:         163450
>Category:       misc
>Synopsis:       new pci quad serial card supported by puc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 19 15:00:21 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous Hardware Hacker
>Release:        8.2
>Organization:
>Environment:
8.2-STABLE i386
>Description:
Insert this into /sys/dev/puc/pucdata.c to support a cheap PCI quad serial card (found on eBay from China) with chip labeled 'Sun 1040'. The new uart's show on boot or dmesg: uart2: <16550 or compatible> at port 1 on puc0 ... up to uart5 at port 4. Basic testing: the four ports were successfully tested at 9600 then 115200 bps, one at a time with 'cu', a crossover cable and another terminal, sending and receiving a few characters typed on keyboard.

/* Sun 1040 board */
{   0x5372, 0x6873, 0xffff, 0,
    "Sun 1040 PCI Quad Serial",
    DEFAULT_RCLK,
    PUC_PORT_4S, 0x10, 4, 0,
},


>How-To-Repeat:

>Fix:
Also update 'man 4 sio' manpage to tell sio has been broken since the new tty came out, can't appear in i386/amd64 kernel config file (don't know for other architectures), and has been replaced with uart.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list