diff options
| author | Evan Lojewski <github@meklort.com> | 2019-02-18 17:35:07 -0700 |
|---|---|---|
| committer | Evan Lojewski <github@meklort.com> | 2019-02-18 17:35:07 -0700 |
| commit | 5a2b287cac9f534b0ba553719e079fe0edf6e38f (patch) | |
| tree | e6de456fecc476cea4a776fdd634460bf5a78653 /libs/MII/include | |
| parent | 56857263620d77651cd467d4e0070a3a4092def9 (diff) | |
| download | bcm5719-ortega-5a2b287cac9f534b0ba553719e079fe0edf6e38f.tar.gz bcm5719-ortega-5a2b287cac9f534b0ba553719e079fe0edf6e38f.zip | |
Update MII init code to match latest description for port 0.
Diffstat (limited to 'libs/MII/include')
| -rw-r--r-- | libs/MII/include/MII.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/MII/include/MII.h b/libs/MII/include/MII.h index dcdaf37..1be6e04 100644 --- a/libs/MII/include/MII.h +++ b/libs/MII/include/MII.h @@ -68,8 +68,13 @@ uint16_t MII_readRegister(uint8_t phy, mii_reg_t reg); void MII_writeRegister(uint8_t phy, mii_reg_t reg, uint16_t data); /** - * @fn void MII_writeRegister(uint8_t PHY, uint8_t reg, uint16_t data); + * @fn void MII_selectBlock(uint8_t phy, uint16_t block); */ void MII_selectBlock(uint8_t phy, uint16_t block); +/** + * @fn uint16_t MII_getBlock(uint8_t phy); + */ +uint16_t MII_getBlock(uint8_t phy); + #endif /* MII_H */ |

