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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [orpmon/] [drivers/] [eth.c] - Diff between revs 1031 and 1495

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

Rev 1031 Rev 1495
Line 1... Line 1...
 
#include "board.h"
 
#if OC_LAN==1
 
 
#include "common.h"
#include "common.h"
#include "support.h"
#include "support.h"
#include "board.h"
 
#include "uart.h"
#include "uart.h"
#include "eth.h"
#include "eth.h"
#include "int.h"
#include "int.h"
#include "spr_defs.h"
#include "spr_defs.h"
 
 
Line 277... Line 279...
void eth_halt(void)
void eth_halt(void)
{
{
  /* Enable receiver and transmiter */
  /* Enable receiver and transmiter */
  REG32(ETH_REG_BASE + ETH_MODER) &= ~(ETH_MODER_RXEN | ETH_MODER_TXEN);
  REG32(ETH_REG_BASE + ETH_MODER) &= ~(ETH_MODER_RXEN | ETH_MODER_TXEN);
}
}
 
#endif
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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