]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: asix: Detect internal PHY and enable/use accordingly
authorAndres Salomon <dilinger@debian.org>
Thu, 11 Jan 2007 23:39:16 +0000 (18:39 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Jan 2007 19:46:55 +0000 (11:46 -0800)
commitd0ffff8fddd5853e4b2b101790ac0c3690655af5
treebfd65bbfa9c33b4c5244c8b206b32d5d7842ea4b
parentc9d8c2b324d24ffb4fdcd93b3f752530a5a0a591
USB: asix: Detect internal PHY and enable/use accordingly

Different AX88772 dongles use different PHYs; the chip is capable of using
both a primary and secondary PHY, and supports an internal and external PHY.

It appears that some DUB-E100 devices use the internal PHY, so trying to use
an external one will not work (note that this is different across revisions,
as well; the "A" and "B" revs of the DUB-E100 use different PHYs!).  The data
sheet for the AX88772 chip specifies that the internal PHY id will be 0x10,
so if that's read from the EEPROM, we should use that rather than attempting
to use an external PHY.

Thanks to Mitch Bradley for pointing this out!

Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: David Hollis <dhollis@davehollis.com>
Cc: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/net/asix.c