dm9000 remove dead external phy support, gpio fix
authorAndrew Dyer <adyer@righthandtech.com>
Tue, 26 Aug 2008 22:03:38 +0000 (17:03 -0500)
committerBen Warren <biggerbadderben@gmail.com>
Wed, 27 Aug 2008 06:08:19 +0000 (23:08 -0700)
commitd26b739afe5a6760bd345743188759cd9d0f3b47
treee477a5d846545ff8451cbb4089d73699c0f53b93
parenta1573db0c07c8ba99e9c373bb07ecd6f59da672c
dm9000 remove dead external phy support, gpio fix

dm9000 has code to detect and initialize external phy parts, but later
on in the code the part is forced to use the internal phy
unconditionally.  Remove the unused/untested code.

change the GPIO initialization so that only the GPIO used as an
internal phy reset (hardwired in the chip) is set as an output.  The
remaining GPIO need to be handled by board specific code to prevent
possible drive conflicts.  Set as inputs for safety.

replace a few magic numbers with defines

Signed-off-by: Andrew Dyer <adyer@righthandtech.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/dm9000x.c
drivers/net/dm9000x.h