Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2007 18:09:47 +1200
From:      Andrew Thompson <thompsa@freebsd.org>
To:        Alan Garfield <alan@fromorbit.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: RFI: Ethernet driver ported from Linux
Message-ID:  <20070409060947.GE64415@heff.fud.org.nz>
In-Reply-To: <1176096815.4064.6.camel@hiro.auspc.com.au>
References:  <1176096815.4064.6.camel@hiro.auspc.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 09, 2007 at 03:33:35PM +1000, Alan Garfield wrote:
> Hello all!
> 
> I've got a couple of Sun Fire V20z (re-badged NewISys E2100) which have
> little dedicated Service Processor on-board running Linux. The "SP" can
> communicate via IPMI and also by Ethernet. It talks Ethernet to the SP
> by using two small fifo buffers in the PRS via the LPC.
> 
> --
> 
> I'd like to port/re-write this driver for FreeBSD but I cannot find
> enough documentation and examples of a basic Ethernet driver for
> FreeBSD. (if_wlan and if_ef look like good candidates but if_clone and
> the miibus confuse me a bit and there isn't any clear docs on them)
> 
> Can someone point me in the direction of an example or the relevant man
> pages I should be reading to help with this.
> 
> The device driver for Linux seems quite simple.
> 
> Any help would be gratefully appreciated.

You should look at the edsc driver, its a dummy ethernet driver and a
template for writing one.
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/net/if_edsc.c


Andrew



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