mii-tool support for gmac/sungem
Jeff Garzik
jgarzik at mandrakesoft.com
Mon Sep 23 19:48:52 EST 2002
Bastien Nocera wrote:
> 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 ?
not yet... I still need to add fallback code to ethtool, that lets it
speak low-level MII [older drivers] as well as the newer ethtool [newer
drivers].
Jeff
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list