Subject: Re: Lava 4-port COM PCI card
To: None <port-i386@netbsd.org>
From: Michael Richardson <mcr@solidum.com>
List: port-i386
Date: 06/13/2000 14:41:25
>>>>> "David" == David Maxwell <david@vex.net> writes:
    David> On Tue, Jun 13, 2000 at 01:37:41AM -0400, mcr@research.solidum.com
    David> wrote:
    >> unknown vendor 0x1407 product 0x0101 (serial communications, interface
    >> 0x02) a pci0 dev 12 function 0 not configured unknown vendor 0x1407
    >> product 0x0102 (serial communications, interface 0x02) at pci0 dev 12
    >> function 1 not configured
    >> 
    >> -current has nothing on it that I can see.
    >> 
    >> I get zilch on seaches for "Lava Semiconductor", and "lava.com" seems
    >> to be mostly audio products that I can see. Maybe I just missed
    >> stuff. The box is not near me, so I can't check that.

    David> It's probably http://www.lavalink.com

    David> I have one of their 1 port 16650 boards - never plugged it in yet.

  I put:


        /* Lava Semiconductor 4-port */
        {   "Lava Semiconductor 4-port",
            {   0x1407, 0x0101, 0,      0       },
            {   0xffff, 0xffff, 0,      0       },
            {
                { PUC_PORT_TYPE_COM, 0x10, 0x00 },
                { PUC_PORT_TYPE_COM, 0x10, 0x08 },
                { PUC_PORT_TYPE_COM, 0x14, 0x00 },
                { PUC_PORT_TYPE_COM, 0x14, 0x08 },
            },
        },

  in, and got:

puc0 at pci0 dev 12 function 0: Lava Semiconductor 4-port (com, com, com, com)
com3 at puc0 port 0: interrupting at irq 11
com3: ns16550a, working fifo
com4 at puc0 port 1: interrupting at irq 11
com4: ns16550a, working fifo
com5 at puc0 port 2: interrupting at irq 11
com5: ns16550a, working fifo
com6 at puc0 port 3: interrupting at irq 11
com6: ns16550a, working fifo
unknown vendor 0x1407 product 0x0102 (serial communications, interface 0x02) a 
pci0 dev 12 function 1 not configured

  It then crashed while setting ttyflags. Of course, I screwed up...
  I should have defined two devices with two ports each.

  And since, there is a second flag, looks like the card actually has 2 ports
on each function... I suspect for your one-port card, you just need to define
the one port.... why the probe worked is a different question.

   :!mcr!:            |  Solidum Systems Corporation, http://www.solidum.com
   Michael Richardson |For a better connected world,where data flows faster<tm>
 Personal: http://www.sandelman.ottawa.on.ca/People/Michael_Richardson/Bio.html
	mailto:mcr@sandelman.ottawa.on.ca	mailto:mcr@solidum.com