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
Hello,
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
wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
enabled=0
address: 00:1f:16:xx:xx:xx
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::21f:16ff:xxxx:xxxx%wm0 prefixlen 64 scopeid 0x1
It's work in progress. I'll look more.
http://www6.nsk.ne.jp/~hira/NetBSD/wm-from-em-20090131.tar.gz
best regards.
--
Kouichirou Hiratsuka
hira%po6.nsk.ne.jp@localhost
Home |
Main Index |
Thread Index |
Old Index