mii-tool support for gmac/sungem
Bastien Nocera
hadess at hadess.net
Mon Sep 23 19:09:07 EST 2002
On Mon, 2002-09-23 at 04:22, Jeff Garzik wrote:
>
> Bastien Nocera wrote:
> > Hello,
> >
> > I wanted to know if mii-tool was supposed to work with the gmac/sungem
> > card in the iBook2 laptops. I tried it out:
> >
> > $ sudo mii-tool
> > SIOCGMIIPHY on 'eth0' failed: Operation not supported
> > SIOCGMIIPHY on 'eth1' failed: Operation not supported
> > no MII interfaces found
> >
> > I see code for this ioctl in the kernel though in gem_ioctl
> > (drivers/net/sungem.c) and some messages that seem relevant in dmesg:
> >
> > eth0: MII PHY ID: 4061e0 BCM 5221
> > eth0: switching to forced 100bt
> > eth0: switching to forced 10bt
> > etc.
> >
> > Any ideas ?
>
>
> use ethtool...
Rock, it works. Does ethtool work for every card for which the driver
has an MII interface ?
Thanks
--
/Bastien Nocera
http://hadess.net
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list