Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2002 13:44:28 +0200
From:      Mark Pearce <mark@netchat.co.za>
To:        Dean Hollister <dean@odyssey.apana.org.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Decision PCCOM 8 port serial cards
Message-ID:  <20021012114625.7124443EC2@mx1.FreeBSD.org>
In-Reply-To: <20021012192920.G6645-100000@odyssey.apana.org.au>
References:  <200210120947.RAA93154@mail.wa.apana.org.au> <20021012192920.G6645-100000@odyssey.apana.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 Oct 2002 19:34:28 +0800 (WST)
Dean Hollister <dean@odyssey.apana.org.au> grunted:

> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/serial-uart/sio.html

Hi

I know I'm close, but still so far to go:

no progress yet, but
my dmesg shows the following:

pci0: <unknown card> (vendor=0x6666, dev=0x0002) at 15.0 irq 11

and pciconf shows the following:

none1@pci0:15:0:        class=0x070002 card=0x02000008 chip=0x00026666
rev=0x02 hdr=0x00
    vendor   = 'Decision Computer International Co.'
    device   = 'PCCOM8'
    class    = simple comms
    subclass = UART

I suspect the sio ports are "working" as per the kernel, but they have
to be "attached" to the serial card, the card is detected, but no device
driver is loaded to drive this card.

I have tried the PUC driver, investigation says I should add new cards
to the src/sys/dev/puc/pucdata.c and rebuild.

the only Decision cards in pucdata.c are as follows:

        /* Decision Computer Inc, serial ports */
        {   "Decision Computer Inc, PCCOM 4-port serial",
            {   0x6666, 0x0001, 0,      0       },
            {   0xffff, 0xffff, 0,      0       },
            {
                { PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
                { PUC_PORT_TYPE_COM, 0x1c, 0x08, COM_FREQ },
                { PUC_PORT_TYPE_COM, 0x1c, 0x10, COM_FREQ },
                { PUC_PORT_TYPE_COM, 0x1c, 0x18, COM_FREQ },
            },
        },

        {   "PCCOM dual port RS232/422/485",
            {   0x6666, 0x0004, 0,      0       },
            {   0xffff, 0xffff, 0,      0       },
            {
                { PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
                { PUC_PORT_TYPE_COM, 0x1c, 0x08, COM_FREQ },
            },
        },

How should I alter this to add support for the puc driver to attach to
the sio ports ?

Thanks

Mark

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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