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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [bootloaders/] [orpmon/] [services/] [net.c] - Diff between revs 175 and 246

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

Rev 175 Rev 246
Line 65... Line 65...
#include "tftp.h"
#include "tftp.h"
#include "rarp.h"
#include "rarp.h"
#include "arp.h"
#include "arp.h"
#if OC_LAN==1
#if OC_LAN==1
#include "eth.h"
#include "eth.h"
#else if SMC91111_LAN==1
#else 
 
# if SMC91111_LAN==1
#include "smc91111.h"
#include "smc91111.h"
#endif
#endif
 
#endif
 
 
#if 0
#if 0
#define ET_DEBUG
#define ET_DEBUG
#endif
#endif
 
 
Line 308... Line 310...
  while (p == (unsigned char*) 0)
  while (p == (unsigned char*) 0)
    p = eth_get_tx_buf();
    p = eth_get_tx_buf();
 
 
  memcpy(p, (void *)pkt, len);
  memcpy(p, (void *)pkt, len);
  eth_send(p, len);
  eth_send(p, len);
#else if SMC91111_LAN==1
#else
 
# if  SMC91111_LAN==1
  eth_send(pkt, len);
  eth_send(pkt, len);
#endif
#endif
 
#endif
}
}
 
 
 
 
 
 
void
void

powered by: WebSVN 2.1.0

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