[patch] applied: uartpex4s950

2 views
Skip to first unread message

9cha...@cat-v.org

unread,
Jul 21, 2008, 7:53:10 PM7/21/08
to plan9c...@googlegroups.com
Created Jul 21 17:53 by none
Processed Jul 21 23:53 by geoff

support the startech 4 port pci-e 16c950 serial card.

--
/sys/src/9/pc/uartpci.c
uartpci.c.orig:115,120 - /n/sources/patch/applied/uartpex4s950/uartpci.c:115,121
continue;
break;
case (0x950A<<16)|0x1415: /* Oxford Semi OX16PCI954 */
+ case (0x9501<<16)|0x1415:
/*
* These are common devices used by 3rd-party
* manufacturers.
uartpci.c.orig:125,131 - /n/sources/patch/applied/uartpex4s950/uartpci.c:126,137
subid |= pcicfgr16(p, PciSID)<<16;
switch(subid){
default:
+ print("oxsemi uart %.8ux unknown\n", subid);
continue;
+ case (0<<16)|0x1415:
+ uart = uartpci(ctlrno, p, 0, 4, 1843200,
+ "starport-pex4s", 8);
+ break;
case (0x2000<<16)|0x131F:/* SIIG CyberSerial PCIe */
uart = uartpci(ctlrno, p, 0, 1, 18432000,
"CyberSerial-1S", 8);

Reply all
Reply to author
Forward
0 new messages