Adjusted Initialization of MAC address

Fork of WIZnetInterface by WIZnet

Revision:
8:4c02de1dbf3a
Parent:
0:6f28332c466f
Child:
14:2101ab5ee40f
diff -r da6fcec0f3fe -r 4c02de1dbf3a arch/int/W7500x_toe.h
--- a/arch/int/W7500x_toe.h	Mon Jun 15 23:43:56 2015 +0000
+++ b/arch/int/W7500x_toe.h	Tue Jun 16 11:11:11 2015 +0900
@@ -38,7 +38,7 @@
 #define SUBR                (0x600C)
 #define SHAR                (0x6000)
 #define SIPR                (0x6010)
-//#define PHYSTATUS 0x0035 //not support in W7500
+
 // Added Common register @W7500
 #define TIC100US            (0x2000) 
 
@@ -115,6 +115,13 @@
 	WIZnet_Chip();
 
     /*
+    * Set MAC Address to W7500x_TOE
+    *
+    * @return true if connected, false otherwise
+    */ 
+    bool setmac();
+
+    /*
     * Connect the W7500 WZTOE to the ssid contained in the constructor.
     *
     * @return true if connected, false otherwise