On 2009/03/10 10:40, Eric Belhomme wrote:
> Le mardi 10 mars 2009 ` 09:24 +0000, Stuart Henderson a icrit :
> 
> 
> > > ste*    at pci?                 # D-Link DFE 580TX
> > 
> > It will need more than that, this driver needs to be converted to
> > use bus_dma instead of vtophys. If you need a working 4-port ethernet
> > now, Sun QFE cards work and they're often reasonably priced.
> 
> That's a solution too, but I bought these cards especially for these
> machines (my goal is to set-up a redundant router/fw with pf/carp and
> two Sun ultra 5 equiped with DFE580 nics)
> 
> I googled against vtophy and found references about the bus_dma
> conversion (http://www.squish.net/pipermail/odc/2005-May/004343.html)
> 
> I'm not a guru of kernel hacking but I can try to do the job... if
> someone can provide me some pointers on how to do that ?

I would look through a driver which was already converted and see what
was done. vr(4) doesn't look to be a bad choice, since it was done in
stages, so there are small commits you can look at (look at jason@'s
commits in October 2003)..

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_vr.c

It will be easier to do this with the card in an i386 box so you can
test things in stages.

Reply via email to