ethernet: mac stm32fxx7: Fix style and docs

Rushed commits are bad mkay :)
This commit is contained in:
Karl Palsson 2014-12-18 21:55:06 +00:00
parent cf6d8d7235
commit 3974e5f48d
2 changed files with 2 additions and 1 deletions

View File

@ -719,7 +719,7 @@ void eth_desc_init(uint8_t *buf, uint32_t nTx, uint32_t nRx, uint32_t cTx,
bool eth_tx(uint8_t *ppkt, uint32_t n);
bool eth_rx(uint8_t *ppkt, uint32_t *len, uint32_t maxlen);
void eth_init(uint8_t phy,enum eth_clk clock);
void eth_init(uint8_t phy, enum eth_clk clock);
void eth_start(void);
void eth_enable_checksum_offload(void);

View File

@ -198,6 +198,7 @@ void eth_start(void)
*
* This function will initialize ethernet, set up clocks, and initialize DMA.
*
* @param[in] phy phy id
* @param[in] clock enum eth_clk Core clock speed
*/
void eth_init(uint8_t phy, enum eth_clk clock)