Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2000 12:58:19 -0800 (PST)
From:      "Castor Fu" <castor@geocast.com>
To:        Adam Szeliga <XSoftware@internet.pl>
Cc:        freebsd-hardware@FreeBSD.ORG
Subject:   Re: Lava driver
Message-ID:  <Pine.NEB.4.10.10010311256330.341-100000@swamp.sfo.geocast.com>
In-Reply-To: <39FF29F8.5D595911@internet.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
You might want to look at the 'puc' driver in NetBSD.  I made
the Lava Quattro work under that fairly easily.  In that, the card
ends up detecting child devices which are serial ports, and
so the numbers end up being allocated sequentially.

> Does somebody could help me ?
> 
> I have to write driver for pci serial card: Lava Quattro.
> It has 4 serial ports working on single interrupt. I'm tring to use
> driver sio for this.
> 
> In kernel config file I have:
> 
> device sio0 at isa? port IO_COM1 flags 0x10 irq 4
> device sio1 at isa? port IO_COM2 irq 3
> 
> and Lava port I want configure:
> 
> device sio4 at pci?
> device sio5 at pci?
> device sio6 at pci?
> device sio7 at pci?
> 
> But in my attach function for Lava I receive unit number 0.
> I have no idea how and where to change it.
> I would like to use flags options. I don't known how I can read them.
> 
> Best Regards
> Adam Szeliga
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hardware" in the body of the message
> 



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.4.10.10010311256330.341-100000>