netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Erik Slagter <erik@slagter.name>
To: David Hollis <dhollis@davehollis.com>
Cc: netdev@vger.kernel.org
Subject: Re: Linksys Gigabit USB2.0 adapter (asix) regression
Date: Mon, 20 Aug 2007 18:23:14 +0200	[thread overview]
Message-ID: <46C9BFF2.8030206@slagter.name> (raw)
In-Reply-To: <1186603993.3078.16.camel@dhollis-lnx.sunera.com>

David Hollis wrote:

> It's a bit of a longshot, but I notice that EEPROM index 0x17 returns
> 0x580 for you, 0x180 for my devices.  Based on that, my devices go
> through the "gpio phymode == 1 path" GPIO init sequence, and yours goes
> through the other path (  if ((eeprom >> 8) != 1) { ).  Comment out the
> if() else portion so that you go through the "phymode == 1" path and see
> if that makes a difference.  That segment should look something like
> this:
> 
> /*
>         if ((eeprom >> 8) != 1) {
>                 asix_write_gpio(dev, 0x003c, 30);
>                 asix_write_gpio(dev, 0x001c, 300);
>                 asix_write_gpio(dev, 0x003c, 30);
>         } else {
> */
>                 dbg("gpio phymode == 1 path");
>                 asix_write_gpio(dev, AX_GPIO_GPO1EN, 30);
>                 asix_write_gpio(dev, AX_GPIO_GPO1EN | AX_GPIO_GPO_1,
> 30);
> //      }

Tried, but now it doesn't work at all, no LEDs and no traffic.

  parent reply	other threads:[~2007-08-20 16:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-20 11:56 Linksys Gigabit USB2.0 adapter (asix) regression Erik Slagter
2007-06-22 14:37 ` David Hollis
2007-06-22 19:08   ` Erik Slagter
2007-06-25 17:05   ` Erik Slagter
2007-06-27  5:54     ` David Hollis
2007-06-27  7:43       ` Erik Slagter
2007-07-30  9:27       ` Erik Slagter
2007-07-30 18:27         ` David Hollis
2007-08-04 16:24           ` Erik Slagter
     [not found]             ` <1186603993.3078.16.camel@dhollis-lnx.sunera.com>
2007-08-20 16:23               ` Erik Slagter [this message]
2007-08-21 20:48                 ` David Hollis
2007-08-29 15:56                   ` Erik Slagter
2007-09-07 17:18                     ` David Hollis

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=46C9BFF2.8030206@slagter.name \
    --to=erik@slagter.name \
    --cc=dhollis@davehollis.com \
    --cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).