All of lore.kernel.org
 help / color / mirror / Atom feed
From: ben@simtec.co.uk (Ben Dooks)
To: linux-arm-kernel@lists.infradead.org
Subject: colibri-pxa320/AX88796: phy-read/write problems
Date: Tue, 21 Sep 2010 01:30:16 +0100	[thread overview]
Message-ID: <4C97FC98.9080309@simtec.co.uk> (raw)
In-Reply-To: <4C9208DD.8000805@pengutronix.de>

On 16/09/10 13:09, Marc Kleine-Budde wrote:
> Hello,
> 
> my hardware is a toradex colibri PXA320 board using latest stable
> Kernel 2.6.35.4. The Ethernet controller is a AX88796BI.
> 
> Ethernet is working, but access via MDIO to the AX's internal phy is
> broken. The contents of all registers is 0xffff.
> 
> The userspace tool "mii-diag" illustrates the problem:
> root at grabowski:~ mii-diag
> Using the default interface 'eth0'.
> Basic registers of MII PHY #16:  ffff ffff ffff ffff ffff ffff ffff ffff.
>   No MII transceiver present!.
>   Use '--force' to view the information anyway.
> 
> If I switch on the phy_debug in the ax88796 driver we see that the
> 0xffff are read via "ax_phy_read()" from the hardware, this means it's
> not a problem in the userspace.

I've not tried it with a PXA, but it was working with a S3C2440 based
system when it was written, so I do beleive it should work. However
I've not had a chance to test the MII code for a few releases so have
no idea if it does still work.

Do you know if the hardware is correct? Has any other linux version
managed to talk to the MII interface, or other OS/bootloader
combination?

-- 
Ben

      reply	other threads:[~2010-09-21  0:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-16 12:09 colibri-pxa320/AX88796: phy-read/write problems Marc Kleine-Budde
2010-09-21  0:30 ` Ben Dooks [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=4C97FC98.9080309@simtec.co.uk \
    --to=ben@simtec.co.uk \
    --cc=linux-arm-kernel@lists.infradead.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.