Jun Furutani / libMiMic

Fork of libMiMic by Ryo Iizuka

Revision:
12:efe841863fc8
Parent:
1:9f6a78395432
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/driver/uip/EthDev.c	Sat Apr 20 05:03:57 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;
+}
+
+
+