Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 11:29:57 GMT
From:      Milan Obuch <bsd@dino.sk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/186891: MCS9922 based card not known
Message-ID:  <201402191129.s1JBTviC098962@cgiserv.freebsd.org>
Resent-Message-ID: <201402191140.s1JBe0VV096814@freefall.freebsd.org>

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

>Number:         186891
>Category:       kern
>Synopsis:       MCS9922 based card not known
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 19 11:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Milan Obuch
>Release:        8.4-STABLE, 9.2-STABLE, 10.0-STABLE, 11-CURRENT
>Organization:
>Environment:
>Description:
MCS9922 chip from ASIX, formerly MosChip, is not yet recognised in any FreeBSD. It has two serial ports and PCIe bridge. Simple patch shown below makes it work for me in any of 8.4-STABLE, 9.2-STABLE, 10.0-STABLE, 11-CURRENT version on both i386 and amd64 architecture. Tested lightly with both cu from base and minicom prom ports.
>How-To-Repeat:
Put any MCS9922 based PCIe card into PCIe slot and see it not recognised.
>Fix:
Index: /data/src/11/sys/dev/puc/pucdata.c
===================================================================
--- /usr/src/sys/dev/puc/pucdata.c  (revision 262219)
+++ /usr/src/sys/dev/puc/pucdata.c  (working copy)
@@ -1094,6 +1094,13 @@
            PUC_PORT_2P, 0x10, 4, 0,
        },
 
+       {   0x9710, 0x9922, 0xffff, 0,
+           "NetMos NM9922 Dual UART",
+           DEFAULT_RCLK,
+           PUC_PORT_2S, 0x10, 0, 0,
+           .config_function = puc_config_saturn
+       },
+
        {   0xb00c, 0x021c, 0xffff, 0,
            "IC Book Labs Gunboat x4 Lite",
            DEFAULT_RCLK,


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



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