diff options
author | Marian Balakowicz <m8@semihalf.com> | 2005-11-30 18:06:04 +0100 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2005-11-30 18:06:04 +0100 |
commit | d9785c14bf489908b8e39b1e20f0c14cb8fcda76 (patch) | |
tree | c5105eb907ce0cb7b353619007f34b4c86879f30 /include/miiphy.h | |
parent | 0a69b26ed6fe3184cab86872589c27b076e6cb8e (diff) | |
download | u-boot-d9785c14bf489908b8e39b1e20f0c14cb8fcda76.tar.gz u-boot-d9785c14bf489908b8e39b1e20f0c14cb8fcda76.tar.xz u-boot-d9785c14bf489908b8e39b1e20f0c14cb8fcda76.zip |
Fix miiphy global data initialization (problem on 4xx boards when no
ethaddr is assigned). Initialization moved from miiphy_register() to
eth_initialize().
Based on initial patch for 4xx platform by Matthias Fuchs.
Diffstat (limited to 'include/miiphy.h')
-rw-r--r-- | include/miiphy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/miiphy.h b/include/miiphy.h index 3c6ee77077..71716b04d4 100644 --- a/include/miiphy.h +++ b/include/miiphy.h @@ -53,6 +53,8 @@ int miiphy_duplex(char *devname, unsigned char addr); int miiphy_link(char *devname, unsigned char addr); #endif +void miiphy_init(void); + void miiphy_register(char *devname, int (* read)(char *devname, unsigned char addr, unsigned char reg, unsigned short *value), |