OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc3/] [or1ksim/] [peripheral/] [eth.c] - Diff between revs 1598 and 1606

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1598 Rev 1606
Line 868... Line 868...
  if(!new) {
  if(!new) {
    fprintf(stderr, "Peripheral Eth: Run out of memory\n");
    fprintf(stderr, "Peripheral Eth: Run out of memory\n");
    exit(-1);
    exit(-1);
  }
  }
 
 
 
  memset(new, 0, sizeof(struct eth_device));
  new->enabled = 1;
  new->enabled = 1;
 
 
  return new;
  return new;
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.