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.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to