Ryo Iizuka / libMiMic

Dependents:   MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more

core/driver/uip/EthDev.c

Committer:
nyatla
Date:
2013-10-23
Revision:
64:258e84040262
Parent:
12:efe841863fc8

File content as of revision 64:258e84040262:

#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;
}