diff options
author | Marian Balakowicz <m8@semihalf.com> | 2005-11-30 17:06:04 (GMT) |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2005-11-30 17:06:04 (GMT) |
commit | d9785c14bf489908b8e39b1e20f0c14cb8fcda76 (patch) | |
tree | c5105eb907ce0cb7b353619007f34b4c86879f30 /include | |
parent | 0a69b26ed6fe3184cab86872589c27b076e6cb8e (diff) | |
download | u-boot-fsl-qoriq-d9785c14bf489908b8e39b1e20f0c14cb8fcda76.tar.xz |
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')
-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 3c6ee77..71716b0 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), |