Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2004 19:04:59 +0200
From:      Paul Schenkeveld <fb-stable@psconsult.nl>
To:        freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Trying to get Quatech quad SIO to work
Message-ID:  <20040915170459.GA23228@psconsult.nl>

next in thread | raw e-mail | index | archive | help
Hi All,

I need some help with a quad serial I/O card and the puc driver.

  <context>
    Hardware:
      Intel SCB2/SCSI board, dual Pentium 3 1.4GHz, 3GB Ram
      Quatech QSCLP-100 quad serial board
    OS:
      FreeBSD 4.9-RELEASE-p1 #8: Wed Sep 15 18:13:54 CEST 2004
  </context>

After a long search I finally found a quad serial board for 3.3V only
PCI bus available locally: Quatech QSCLP-100.

It's not automatically recognized by the puc(4) driver so I tried to
guess the entry in pucdata.c from the pciconf -l output:

    # pciconf -l | grep none0
    none0@pci2:10:0: class=0x070200 card=0x0170135c chip=0x0170135c rev=0x01 hdr=0x00

I added the following to the end of pucdata.c:

    {   "Quatech quad PCI/LP",
	{   0x135c, 0x0170, 0,      0       },
	{   0xffff, 0xffff, 0,      0       },
	{
	    { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
	    { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ },
	    { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ },
	    { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ },
	},
    },

>From dmesg I can see that the card is recognized but could not be
configured (boot -v flag used):

    found-> vendor=0x135c, dev=0x0170, revid=0x01
	    class=07-02-00, hdrtype=0x00, mfdev=0
	    subordinatebus=0        secondarybus=0
	    intpin=a, irq=18
	    map[10]: type 1, range 32, base febf0000, size  7
	    map[14]: type 1, range 32, base 00004000, size  7
	    map[18]: type 1, range 32, base 00004080, size  5
    pci2: <PCI bus> on pcib2
    puc0: <Quatech quad PCI/LP> port 0x4080-0x409f,0x4000-0x407f mem 0xfebf0000-0xfe
    bf007f irq 18 at device 10.0 on pci2
    could not get resource
    could not get resource
    could not get resource
    could not get resource

>From the documentation I know the board has 16750 Uarts and an interrupt
status register.
The documentation (and sources for a Linux driver) are at:

    http://www.psconsult.nl/quatech/

Can anyone tell me how to get this board to work, preferrably with
FreeBSD-4?

Many thanks in advance!

Paul Schenkeveld



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