Subject: Re: how to write/port network drivers?
To: Christoph Fuchs <christoph@fuchs.cc>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-net
Date: 10/14/2006 17:16:35
On Fri, Oct 13, 2006 at 04:57:08PM +0200, Christoph Fuchs wrote:
> Hello,
> 
> I'm trying hard to make the Intel 82573 network controllers work with 
> the NetBSD 3.0 kernel.
> 
> Somehow I managed it to "port" the if_em.c mentioned at 
> <http://users.ece.gatech.edu/~dheeraj/netbsd.html> to kernel 3.0 - the 
> network interface works with with some major flaws (only 100mbit 
> connections work "correct", but if you pull the cable and plug it in 
> again the connection is very slow -- setting the device down and up 
> makes it fast again; gigabit support doesn't really work (very slow, 
> just 4 MB/s)).

I think you should just backport the wm(4) driver from current, it supports
the 82573. This will probably be much easier.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--