summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 14:27:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 14:27:49 +0000
commit844de9915c5a6568d9f83dba66ccd46777b7b50a (patch)
treef63853649765660a462d314692b58ed052f32f79 /c/src/lib/libbsp/powerpc/mbx8xx/network/network.c
parent4486b180cd7d79f79af0453c6adff9048e1a3060 (diff)
downloadrtems-844de9915c5a6568d9f83dba66ccd46777b7b50a.tar.bz2
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* console/console.c, network/network.c: Removed warnings.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mbx8xx/network/network.c')
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/network/network.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c b/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c
index 5043fd6481..d11835f6c9 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c
@@ -136,7 +136,8 @@ static void m8xx_scc1_ethernet_off(const rtems_irq_connect_data* ptr)
static void m8xx_scc1_ethernet_isOn(const rtems_irq_connect_data* ptr)
{
- return BSP_irq_enabled_at_cpm (ptr->name);
+ int BSP_irq_enabled_at_cpm(const rtems_irq_symbolic_name );
+ BSP_irq_enabled_at_cpm (ptr->name);
}
/*
@@ -203,8 +204,6 @@ m8xx_enet_initialize (struct m8xx_enet_struct *sc)
{
int i;
unsigned char *hwaddr;
- rtems_status_code status;
- rtems_isr_entry old_handler;
/*
* Configure port A
@@ -754,10 +753,10 @@ scc_rxDaemon (void *arg)
*/
struct ether_header *eh;
- /*
- * Invalidate the buffer for this descriptor
- */
- rtems_cache_invalidate_multiple_data_lines(rxBd->buffer, rxBd->length);
+ /*
+ * Invalidate the buffer for this descriptor
+ */
+ rtems_cache_invalidate_multiple_data_lines(rxBd->buffer, rxBd->length);
m = sc->rxMbuf[rxBdIndex];
m->m_len = m->m_pkthdr.len = rxBd->length -