FreeBSD 8.0 driver for MCS9901 based 2-port RS232 PCI-E card

Dan Grillo dan at grillo.net
Tue Feb 2 01:14:01 UTC 2010


FreeBSDers,

Has anyone gotten an MCS9901 based 2-port RS232 PCI-E card working with FreeBSD 8?

The actual card is a StarTech PEX2S552.  pci id from pciconf -lv looks like:


none5 at pci0:4:0:0:	class=0x070002 card=0x1000a000 chip=0x99019710 rev=0x00
hdr=0x00
    vendor     = 'MosChip Semiconductors (Was: Netmos Technology)'
    class      = simple comms
    subclass   = UART

none6 at pci0:4:0:1:	class=0x070002 card=0x1000a000 chip=0x99019710 rev=0x00
hdr=0x00
    vendor     = 'MosChip Semiconductors (Was: Netmos Technology)'
    class      = simple comms
    subclass   = UART

I tried just dropping this into dev/puc/pucdata.c

--- pucdata.c.org	2010-02-01 13:46:09.000000000 -0800
+++ pucdata.c	2010-02-01 13:47:35.000000000 -0800
@@ -790,6 +790,12 @@
 	    PUC_PORT_2S, 0x10, 4, 0,
 	},
 
+	{   0x9710, 0x9901, 0x1000, 2,
+	    "MosChip (Awas Netmos) MCS9901 based 2-port serial",
+	    DEFAULT_RCLK,
+	    PUC_PORT_2S, 0x10, 4, 0,
+	},
+
 	{   0x9710, 0x9835, 0xffff, 0,
 	    "NetMos NM9835 Dual UART and 1284 Printer port",
 	    DEFAULT_RCLK,

but no luck.

Any advice you can give is appreciated.

			--Dan
-- 
  Dan Grillo  dan at grillo.net  (650) 299-1470


More information about the freebsd-hardware mailing list