aboutsummaryrefslogtreecommitdiff
path: root/drivers/wiznet5k/ethernet/wizchip_conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/wiznet5k/ethernet/wizchip_conf.h')
-rw-r--r--drivers/wiznet5k/ethernet/wizchip_conf.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/wiznet5k/ethernet/wizchip_conf.h b/drivers/wiznet5k/ethernet/wizchip_conf.h
index 6f4461b3f..55c79ae0a 100644
--- a/drivers/wiznet5k/ethernet/wizchip_conf.h
+++ b/drivers/wiznet5k/ethernet/wizchip_conf.h
@@ -56,7 +56,7 @@
* @todo You should select one, \b 5100, \b 5200 ,\b 5500 or etc. \n\n
* ex> <code> #define \_WIZCHIP_ 5500 </code>
*/
-#define _WIZCHIP_ 5500 // 5100, 5200, 5500
+#define _WIZCHIP_ 5200 // 5100, 5200, 5500
#define _WIZCHIP_IO_MODE_NONE_ 0x0000
#define _WIZCHIP_IO_MODE_BUS_ 0x0100 /**< Bus interface mode */
@@ -515,6 +515,10 @@ void wizchip_setnetinfo(wiz_NetInfo* pnetinfo);
*/
void wizchip_getnetinfo(wiz_NetInfo* pnetinfo);
+#if _WIZCHIP_ == 5200 // for W5200 ARP errata
+uint8_t *wizchip_getsubn(void);
+#endif
+
/**
* @ingroup extra_functions
* @brief Set the network mode such WOL, PPPoE, Ping Block, and etc.