Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2010 16:34:33 -0800
From:      Dan Grillo <dan@grillo.net>
To:        "freebsd-hardware@freebsd.org" <freebsd-hardware@freebsd.org>
Subject:   FreeBSD 8.0 driver for MCS9901 based 2-port RS232 PCI-E card
Message-ID:  <201002020034.o120YX5i070747@more.grillo.net>
References:  <65BCAB515656D34AA48B0E713966CC83046A64@MBX021-E2-NJ-5.exch021.domain.local> <201002010932.20443.jhb@freebsd.org> <65BCAB515656D34AA48B0E713966CC8305F775@MBX021-E2-NJ-5.exch021.domain.local> <201002011150.31782.jhb@freebsd.org> <65BCAB515656D34AA48B0E713966CC8305F832@MBX021-E2-NJ-5.exch021.domain.local>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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@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@grillo.net  (650) 299-1470



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002020034.o120YX5i070747>