Skip to content
Snippets Groups Projects
Commit d26b739a authored by Andrew Dyer's avatar Andrew Dyer Committed by Ben Warren
Browse files

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: default avatarAndrew Dyer <adyer@righthandtech.com>
Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
parent a1573db0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment