summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mbx8xx/network
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-21 16:01:48 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-21 16:01:48 +0000
commitf05b2ac0bc4626e854afc6e6a5d1b88071adbd7c (patch)
tree4150010cec9b6b51100f183b435955cd847679b4 /c/src/lib/libbsp/powerpc/mbx8xx/network
parentRemove stray white spaces. (diff)
downloadrtems-f05b2ac0bc4626e854afc6e6a5d1b88071adbd7c.tar.bz2
Remove duplicate white lines.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mbx8xx/network')
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/network/network.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c b/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c
index 32c08798f5..943911007b 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c
@@ -59,7 +59,6 @@
#define INET_ADDR_MAX_BUF_SIZE (sizeof "255.255.255.255")
-
/*
* RTEMS event used by interrupt handler to signal daemons.
* This must *not* be the same event used by the TCP/IP task synchronization.
@@ -126,7 +125,6 @@ struct m8xx_enet_struct {
};
static struct m8xx_enet_struct enet_driver[NIFACES];
-
static void m8xx_scc1_ethernet_on(const rtems_irq_connect_data* ptr)
{
}
@@ -418,7 +416,6 @@ m8xx_enet_initialize (struct m8xx_enet_struct *sc)
m8xx.scc1.gsmr_l = 0x1088003c;
}
-
#ifdef MPC860T
/*
* Please organize FEC controller code better by moving code from
@@ -468,7 +465,6 @@ m860_fec_initialize_hardware (struct m860_enet_struct *sc)
*/
m8xx.pgcra &= ~0x80;
-
/*
* Set SIU interrupt level to LVL2
*
@@ -575,8 +571,6 @@ m860_fec_initialize_hardware (struct m860_enet_struct *sc)
sc->txBdHead = sc->txBdTail = 0;
sc->txBdActiveCount = 0;
-
-
/*
* Mask all FEC interrupts and clear events
*/
@@ -593,7 +587,6 @@ m860_fec_initialize_hardware (struct m860_enet_struct *sc)
}
#endif
-
/*
* Soak up buffer descriptors that have been sent.
* Note that a buffer descriptor can't be retired as soon as it becomes
@@ -815,7 +808,6 @@ scc_rxDaemon (void *arg)
}
}
-
#ifdef MPC860T
static void
fec_rxDaemon (void *arg)
@@ -949,7 +941,6 @@ fec_rxDaemon (void *arg)
}
#endif
-
static void
scc_sendpacket (struct ifnet *ifp, struct mbuf *m)
{
@@ -1076,7 +1067,6 @@ scc_sendpacket (struct ifnet *ifp, struct mbuf *m)
}
}
-
#ifdef MPC860T
static void
fec_sendpacket (struct ifnet *ifp, struct mbuf *m)
@@ -1208,7 +1198,6 @@ fec_sendpacket (struct ifnet *ifp, struct mbuf *m)
}
#endif
-
/*
* Driver transmit daemon
*/
@@ -1242,7 +1231,6 @@ scc_txDaemon (void *arg)
}
}
-
#ifdef MPC860T
void
fec_txDaemon (void *arg)
@@ -1278,7 +1266,6 @@ fec_txDaemon (void *arg)
}
#endif
-
/*
* Send packet (caller provides header).
*/
@@ -1291,7 +1278,6 @@ m8xx_enet_start (struct ifnet *ifp)
ifp->if_flags |= IFF_OACTIVE;
}
-
/*
* Initialize and start the device
*/
@@ -1335,7 +1321,6 @@ scc_init (void *arg)
m8xx.scc1.gsmr_l |= 0x30;
}
-
#ifdef MPC860T
static void
fec_init (void *arg)
@@ -1366,7 +1351,6 @@ fec_init (void *arg)
else
m8xx.fec.r_cntrl &= ~0x8;
-
/*
* Tell the world that we're running.
*/
@@ -1379,7 +1363,6 @@ fec_init (void *arg)
}
#endif
-
/*
* Stop the device
*/
@@ -1396,7 +1379,6 @@ scc_stop (struct m8xx_enet_struct *sc)
m8xx.scc1.gsmr_l &= ~0x30;
}
-
#ifdef MPC860T
static void
fec_stop (struct m8xx_enet_struct *sc)
@@ -1412,7 +1394,6 @@ fec_stop (struct m8xx_enet_struct *sc)
}
#endif
-
/*
* Show interface statistics
*/
@@ -1440,7 +1421,6 @@ enet_stats (struct m8xx_enet_struct *sc)
printf (" Raw output wait:%-8lu\n", sc->txRawWait);
}
-
/*
* Driver ioctl handler
*/
@@ -1490,7 +1470,6 @@ scc_ioctl (struct ifnet *ifp, int command, caddr_t data)
return error;
}
-
#ifdef MPC860T
static int
fec_ioctl (struct ifnet *ifp, int command, caddr_t data)
@@ -1539,7 +1518,6 @@ fec_ioctl (struct ifnet *ifp, int command, caddr_t data)
}
#endif
-
/*
* Attach an SCC driver to the system
*/
@@ -1671,7 +1649,6 @@ rtems_scc1_driver_attach (struct rtems_bsdnet_ifconfig *config)
return 1;
};
-
#ifdef MPC860T
int
rtems_fec_driver_attach (struct rtems_bsdnet_ifconfig *config)
@@ -1749,7 +1726,6 @@ rtems_fec_driver_attach (struct rtems_bsdnet_ifconfig *config)
};
#endif
-
int
rtems_enet_driver_attach(struct rtems_bsdnet_ifconfig *config, int attaching)
{