AX88180: improve phy searching
authorMike Frysinger <vapier@gentoo.org>
Mon, 10 May 2010 20:10:00 +0000 (16:10 -0400)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 12 Jul 2010 07:14:28 +0000 (00:14 -0700)
commit141ab7a52cf6678a992c504c641dd35896592a75
tree426f6b35dbdc52dfdb7141e6f5d39decda9d7628
parentbb7336a41446bca475caa551a19603d779489af3
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>
drivers/net/ax88180.c
drivers/net/ax88180.h