All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: Bastien Nocera <hadess@hadess.net>
Cc: "linuxppc-dev@lists.linuxppc.org" <linuxppc-dev@lists.linuxppc.org>
Subject: Re: mii-tool support for gmac/sungem
Date: Mon, 23 Sep 2002 05:48:52 -0400	[thread overview]
Message-ID: <3D8EE384.3030503@mandrakesoft.com> (raw)
In-Reply-To: 1032772148.4083.75.camel@bnocera.surrey.redhat.com


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/

      parent reply	other threads:[~2002-09-23  9:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-23  0:19 mii-tool support for gmac/sungem Bastien Nocera
2002-09-23  3:22 ` Jeff Garzik
2002-09-23  9:09   ` Bastien Nocera
2002-09-22 21:57     ` Benjamin Herrenschmidt
2002-09-23  9:48     ` Jeff Garzik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D8EE384.3030503@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=hadess@hadess.net \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.