Subject: Re: INTEL 82573E on CURRENT
To: Allen Briggs <briggs@netbsd.org>
From: Marcin Jessa <lists@yazzy.org>
List: current-users
Date: 11/02/2005 19:17:27
On Wed, 2 Nov 2005 13:52:19 -0500
Allen Briggs <briggs@netbsd.org> wrote:

> On Fri, Oct 28, 2005 at 02:07:37PM +0200, Marcin Jessa wrote:
> > dmesg lists it as
> > Intel i82573E Gigabit Ethernet (ethernet network, revision 0x03) at
> > pci2 dev 0 function 0 not configured
> 
> Yeah.  That's a PCI-Express version of the Intel gig-e -- if_wm.c is
> the right driver, but it needs some extra attention.  If you look at
> the current FreeBSD em(4) driver, you will see what changes need to
> be made -- some of the stuff in their driver seems to be vestigial,
> but reading/writing eeprom is among the changes (which is why your
> MAC is not sensible right now).

Yes, I read the code of the FreeBSD's em driver.
And it seems the only part I need to add to make this work is the
EEPROM part.
It's just not easy to read the FreeBSD code and figure out the
equivalents used by NetBSD.