Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2010 17:28:06 -0800
From:      dan@grillo.net (Dan Grillo)
To:        freebsd-hardware@freebsd.org
Subject:   Re: FreeBSD 8.0 driver for MCS9901 based 2-port RS232 PCI-E card
Message-ID:  <20100214012807.002AD54C959@gti.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

Can someone recommend a PCI-E 2-port RS232 card that is supported?

Thank you,

			--Dan


----- Begin forwarded message:

Subject: FreeBSD 8.0 driver for MCS9901 based 2-port RS232 PCI-E card
To: freebsd-hardware@freebsd.org
Date: Mon, Feb 1 16:34:33 

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

----- End forwarded message
-- 
  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?20100214012807.002AD54C959>