projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing header.
[bertos.git]
/
bertos
/
drv
/
eth.h
diff --git
a/bertos/drv/eth.h
b/bertos/drv/eth.h
index 2d29ba7ad410260669fc53c3c479663e7557061b..786e7979c2ee303293ac5f72f1a91ca239c92b2c 100644
(file)
--- a/
bertos/drv/eth.h
+++ b/
bertos/drv/eth.h
@@
-36,12
+36,14
@@
*
* $WIZ$ module_name = "eth"
* $WIZ$ module_configuration = "bertos/cfg/cfg_eth.h"
*
* $WIZ$ module_name = "eth"
* $WIZ$ module_configuration = "bertos/cfg/cfg_eth.h"
- * $WIZ$ module_supports = "at91sam7x"
+ * $WIZ$ module_supports = "at91sam7x or sam3x"
+ * $WIZ$ module_hw = "bertos/hw/hw_eth.h", "bertos/hw/hw_eth.c"
*/
#ifndef DRV_ETH_H
#define DRV_ETH_H
*/
#ifndef DRV_ETH_H
#define DRV_ETH_H
+#include "hw/hw_eth.h"
#include <cpu/types.h>
#define ETH_ADDR_LEN 6
#include <cpu/types.h>
#define ETH_ADDR_LEN 6
@@
-130,6
+132,4
@@
ssize_t eth_recv(uint8_t *buf, size_t len);
int eth_init(void);
int eth_init(void);
-extern const uint8_t mac_addr[ETH_ADDR_LEN];
-
#endif /* DRV_ETH_H */
#endif /* DRV_ETH_H */