summaryrefslogtreecommitdiff
path: root/drivers/net/ax88180.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-05-10 16:10:00 -0400
committerBen Warren <biggerbadderben@gmail.com>2010-07-12 00:14:28 -0700
commit141ab7a52cf6678a992c504c641dd35896592a75 (patch)
tree426f6b35dbdc52dfdb7141e6f5d39decda9d7628 /drivers/net/ax88180.h
parentbb7336a41446bca475caa551a19603d779489af3 (diff)
downloadu-boot-imx-141ab7a52cf6678a992c504c641dd35896592a75.zip
u-boot-imx-141ab7a52cf6678a992c504c641dd35896592a75.tar.gz
u-boot-imx-141ab7a52cf6678a992c504c641dd35896592a75.tar.bz2
AX88180: improve phy searching
Rather than hardcode specific phy addresses, search the possible phy address space to find the first available phy. Also respect the normal CONFIG_PHY_ADDR option for board porters to pick a specific address. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/ax88180.h')
-rw-r--r--drivers/net/ax88180.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ax88180.h b/drivers/net/ax88180.h
index d2113df..77bab5f 100644
--- a/drivers/net/ax88180.h
+++ b/drivers/net/ax88180.h
@@ -63,10 +63,8 @@ struct ax88180_private {
/* Max Rx Jumbo size is 15K Bytes */
#define MAX_RX_SIZE 0x3C00
-#define MARVELL_88E1111_PHYADDR 0x18
#define MARVELL_88E1111_PHYIDR0 0x0141
-#define CICADA_CIS8201_PHYADDR 0x01
#define CICADA_CIS8201_PHYIDR0 0x000F
#define MEDIA_AUTO 0