URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 306 to Rev 307
- ↔ Reverse comparison
Rev 306 → Rev 307
/trunk/or1ksim/peripheral/ethernet.c
60,6 → 60,11
static int first_time = 1; |
unsigned i; |
|
if (!config.nethernets) |
config.ethernets_enabled = 0; |
if (!config.ethernets_enabled) |
return; |
|
if ( first_time ) { |
memset( eths, 0, sizeof(eths) ); |
first_time = 0; |