Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2000 22:41:47 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Warner Losh <imp@village.org>
Cc:        Mike Smith <msmith@FreeBSD.ORG>, John Hay <jhay@icomtek.csir.co.za>, hackers@FreeBSD.ORG
Subject:   Re: Support for Syba pci multi i/o card? 
Message-ID:  <92918.976225307@critter>
In-Reply-To: Your message of "Thu, 07 Dec 2000 13:12:07 MST." <200012072012.NAA06519@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200012072012.NAA06519@harmony.village.org>, Warner Losh writes:
>In message <200012070933.eB79XDF00934@mass.osd.bsdi.com> Mike Smith writes:
>: > If there aren't any patches I might look at adding support for it. Probably
>: > only the serial ports, because that is what I need. I would like some advice
>: > on how to do it though. I had a look at the sio driver and it has support
>: > for a few pci cards, but it looks like they are single serial port cards
>: > and not dual or quad. So how should I go about getting the sio probe and
>: > attach to do more than one serial port per pci card?
>: 
>: As Warner suggested, you probably want to create a "bus-like" device that 
>: looks to the sio/ppc drivers like an ISA bus, and then forcibly attach 
>: the relevant sio/ppc instances as children of this device.
>
>sio doesn't care what bus it attaches to, so long as it can get its
>resources.  ppc still has some isa specific calls in it, but those map
>to bus generic ones so would just work.  I've been holding off working
>on this until I saw what haked out of the bus unification work that
>Matt Dodd has been working on.  I think he's mostly done, but I wasn't
>sure enough of that to proceed.


There is a PR already with a patch for some multiport cards...

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


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




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