Merge branch 'dev'
[bertos.git] / boards / at91sam7x-ek / hw / hw_eth.h
index 71c2ac895be32de6fcfbc26c822980a900fe3fc8..fd4f7922670c020c26b19a366460b923dfd09cb9 100644 (file)
 
 extern uint8_t mac_addr[6];
 
-#endif // HW_ETH_H
+#define PHY_HW_INIT() \
+       do { \
+               PIOB_OER = BV(18); \
+               PIOB_CODR = BV(18); \
+               PIOB_PER = BV(18); \
+       } while (0)
+
+#endif /* HW_ETH_H */