kern/186891: MCS9922 based card not known

Milan Obuch bsd at dino.sk
Wed Feb 19 11:40:01 UTC 2014


>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:


More information about the freebsd-bugs mailing list