AVR32: macb - Search for PHY id
authorGunnar Rangoy <gunnar@rangoy.com>
Fri, 23 Jan 2009 11:56:31 +0000 (12:56 +0100)
committerBen Warren <biggerbadderben@gmail.com>
Thu, 29 Jan 2009 07:59:28 +0000 (23:59 -0800)
commitfc01ea1e27d5b124f0a1868d0ce569f156d58dfe
treee50e4cdadf14776e713c0ccd340cc8ba76974c3f
parentaf8626e0c08a780d9ded1d9c4883a89355f60e75
AVR32: macb - Search for PHY id

This patch adds support for searching through available PHY-addresses in
the macb-driver. This is needed for the ATEVK1100 evaluation board,
where the PHY-address will be initialized to either 1 or 7.

This patch adds a config option, CONFIG_MACB_SEARCH_PHY, which when
enabled tells the driver to search for the PHY address.

Signed-off-by: Gunnar Rangoy <gunnar@rangoy.com>
Signed-off-by: Paul Driveklepp <pauldriveklepp@gmail.com>
Signed-off-by: Olav Morken <olavmrk@gmail.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/macb.c