Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD on Lenovo ThinkPad T400 - Intel 82567LM ethernet adapter


At Mon, 26 Jan 2009 20:43:25 +0100,
Manuel Bouyer wrote:
> On Tue, Jan 27, 2009 at 12:22:50AM +0900, Kouichirou Hiratsuka wrote:
> > > Most probably the way to talk to PHYs is different for this chip.
> > > Some more code may be needed; usually the FreeBSD driver is a good source
> > > or information (unfortunably Intel doens't make public documentation for 
> > > its
> > > network chips)
> > 
> > I have a same NIC.  I'm trying to import em(4) driver from OpenBSD.
> unless you're removing code from em(4) which is duplicated in dev/mii/
> I don't think it's the way to go. It may be easier to add the missing
> pieces to wm(4) from em(4).

I see, I took some code from em(4).

wm0 at pci0 dev 25 function 0: 82801I mobile (AMT) LAN Controller, rev. 3
wm0: interrupting at ioapic0 pin 20
wm0: PCI-Express bus
wm0: FLASH
wm0: Ethernet address 00:1f:16:xx:xx:xx
igphy0 at wm0 phy 1: i82567 10/100/1000 media interface, rev. 0
igphy0: no media present

        address: 00:1f:16:xx:xx:xx
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet netmask 0xffffff00 broadcast
        inet6 fe80::21f:16ff:xxxx:xxxx%wm0 prefixlen 64 scopeid 0x1

It's work in progress.  I'll look more.

best regards.
 Kouichirou Hiratsuka

Home | Main Index | Thread Index | Old Index