Jun Furutani / libMiMic

Fork of libMiMic by Ryo Iizuka

Revision:
0:142ee8b12fef
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/driver/uip/EthDev.cpp	Wed Jan 30 03:46:05 2013 +0000
@@ -0,0 +1,20 @@
+#include "EthDev.h"
+#include "EtherDev_DP83848C_protected.h"
+#include "EtherDev_LAN8720_protected.h"
+
+
+
+const struct TiEthernetDevice* getEthernetDevicePnP(void)
+{
+    const struct TiEthernetDevice* ret;
+    if(EthDev_LAN8720_getInterface(&ret)){
+        return ret;
+    }
+    if(EthDev_DP83848C_getInterface(&ret)){
+        return ret;
+    }
+    return NULL;
+}
+
+
+