At Mon, 1 Dec 2008 22:15:28 +0100,
Manuel Bouyer wrote:
> On Mon, Dec 01, 2008 at 11:49:15AM +1300, Mark Davies wrote:
> > On Mon, 01 Dec 2008, Jean-Yves Moulin wrote:
> > > this patch works for me but the mii layer is not configured:
> > >
> > > OUI 0x000000 model 0x0000 rev 0 at wm0 phy 1 not configured
> > >
> > > It seems that kernel can't read data from phy. (netbsd-5.99.3/i386
> > > with ich9 chipset: 82801I mobile (AMT) LAN Controller).
> > >
> > > Any ideas ?
> > Note, I'm seeing the same thing on a Dell Optiplex 760 (ich10,
> > 82567LM-3 LAN Controller).
> > See
> > http://mail-index.netbsd.org/current-users/2008/11/26/msg006291.html
> 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.
# uname -sr
# lspci | grep Ethernet
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network
Connection (rev 03)
# dmesg | grep ^em
em0 at pci0 dev 25 function 0: ioapic0 pin 20, address 00:1f:16:xx:xx:xx
# ifconfig em0 inet 192.168.0.3/24
# ifconfig em0
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
media: Ethernet autoselect (1000baseT full-duplex)
inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::21f:16ff:xxxx:xxxx%em0 prefixlen 64 scopeid 0x1
OOo_3.0.0_src_core.tar.bz2 100% 175MB 24.9MB/s 23.2MB/s 00:07
It seems to work but I don't know much about kernel. Please review
and correct the files in the follwoing URL (if 0 and XXX are exist).