On May 6, 2008, at 6:05 AM, Ingeborg Hellemo wrote:


[EMAIL PROTECTED] said:
Try loading the uart(4) driver, which can also replace sio(4) if I remember
correctly.

I have now tried both loading the uart4) -driver and kompiled it into the
kernel, but the card is still unrecognized:

pci1: <simple comms, UART> at device 8.0 (no driver attached)

~# pciconf -l -v | grep -B 4 UART
[EMAIL PROTECTED]:8:0: class=0x070002 card=0x00041000 chip=0x98459710 rev=0x01
hdr=0x00
   vendor     = 'MosChip Semiconductors (Was: Netmos Technology)'
   device     = 'Nm9845 Parallel/Serial Port Adapter'
   class      = simple comms
   subclass   = UART

The problem seems to be puc(4). This appears to be a multi-port
card, which means puc(4) needs to attach. This is not happening.

The problem seems to be revision 1.51.2.3 of src/sys/dev/puc/pucdata.c

Could you try the following patch?

Index: pucdata.c
===================================================================
RCS file: /volume/apg-bbuild09-b/marcelm/ncvs/src/sys/dev/puc/ pucdata.c,v
retrieving revision 1.51.2.3
diff -u -r1.51.2.3 pucdata.c
--- pucdata.c   15 Dec 2006 22:31:37 -0000      1.51.2.3
+++ pucdata.c   6 May 2008 16:51:02 -0000
@@ -946,7 +946,7 @@

        /* NetMos 4S0P PCI: 4S, 0P */
        {   "NetMos NM9845 Quad UART",
-           {   0x9710, 0x9845, 0,      0x0014  },
+           {   0x9710, 0x9845, 0,      0x0004  },
            {   0xffff, 0xffff, 0,      0xffff  },
            {
                { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },


--
Marcel Moolenaar
[EMAIL PROTECTED]



_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to