Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
driver/uip/EthDev.cpp@0:142ee8b12fef, 2013-01-30 (annotated)
- Committer:
- nyatla
- Date:
- Wed Jan 30 03:46:05 2013 +0000
- Revision:
- 0:142ee8b12fef
ported core classes
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| nyatla | 0:142ee8b12fef | 1 | #include "EthDev.h" |
| nyatla | 0:142ee8b12fef | 2 | #include "EtherDev_DP83848C_protected.h" |
| nyatla | 0:142ee8b12fef | 3 | #include "EtherDev_LAN8720_protected.h" |
| nyatla | 0:142ee8b12fef | 4 | |
| nyatla | 0:142ee8b12fef | 5 | |
| nyatla | 0:142ee8b12fef | 6 | |
| nyatla | 0:142ee8b12fef | 7 | const struct TiEthernetDevice* getEthernetDevicePnP(void) |
| nyatla | 0:142ee8b12fef | 8 | { |
| nyatla | 0:142ee8b12fef | 9 | const struct TiEthernetDevice* ret; |
| nyatla | 0:142ee8b12fef | 10 | if(EthDev_LAN8720_getInterface(&ret)){ |
| nyatla | 0:142ee8b12fef | 11 | return ret; |
| nyatla | 0:142ee8b12fef | 12 | } |
| nyatla | 0:142ee8b12fef | 13 | if(EthDev_DP83848C_getInterface(&ret)){ |
| nyatla | 0:142ee8b12fef | 14 | return ret; |
| nyatla | 0:142ee8b12fef | 15 | } |
| nyatla | 0:142ee8b12fef | 16 | return NULL; |
| nyatla | 0:142ee8b12fef | 17 | } |
| nyatla | 0:142ee8b12fef | 18 | |
| nyatla | 0:142ee8b12fef | 19 | |
| nyatla | 0:142ee8b12fef | 20 |
