summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c')
-rw-r--r--c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c b/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c
index 29d1c497a7..6d58721f77 100644
--- a/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c
+++ b/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c
@@ -161,7 +161,7 @@ struct m8xx_fec_enet_struct {
static struct m8xx_fec_enet_struct enet_driver[NIFACES];
/* declare ioctl function for internal use */
-static int fec_ioctl (struct ifnet *ifp,
+static int fec_ioctl (struct ifnet *ifp,
ioctl_command_t command, caddr_t data);
/***************************************************************************\
| MII Management access functions |
@@ -221,7 +221,7 @@ int fec_mdio_read
*/
if (phy == -1) {
/*
- * set default phy number: 0
+ * set default phy number: 0
*/
phy = sc->phy_default;
}
@@ -288,7 +288,7 @@ int fec_mdio_write
*/
if (phy == -1) {
/*
- * set default phy number: 0
+ * set default phy number: 0
*/
phy = sc->phy_default;
}
@@ -978,7 +978,7 @@ static void fec_enet_stats (struct m8xx_fec_enet_struct *sc)
printf (" Raw output wait:%-8lu\n", sc->txRawWait);
}
-static int fec_ioctl (struct ifnet *ifp,
+static int fec_ioctl (struct ifnet *ifp,
ioctl_command_t command, caddr_t data)
{
struct m8xx_fec_enet_struct *sc = ifp->if_softc;
@@ -1107,7 +1107,7 @@ int fec_mode_adapt
}
else {
m8xx.fec.x_cntrl |= M8xx_FEC_X_CNTRL_FDEN;
- }
+ }
/*
* store current media state for future compares
*/
@@ -1136,7 +1136,7 @@ static void fec_watchdog
\*=========================================================================*/
{
fec_mode_adapt(ifp);
- ifp->if_timer = FEC_WATCHDOG_TIMEOUT;
+ ifp->if_timer = FEC_WATCHDOG_TIMEOUT;
}
int rtems_fec_driver_attach (struct rtems_bsdnet_ifconfig *config)
@@ -1205,7 +1205,7 @@ int rtems_fec_driver_attach (struct rtems_bsdnet_ifconfig *config)
/*
* assume: IF 1 -> PHY 0
*/
- sc->phy_default = unitNumber-1;
+ sc->phy_default = unitNumber-1;
/*
* Set up network interface values
@@ -1231,7 +1231,7 @@ int rtems_fec_driver_attach (struct rtems_bsdnet_ifconfig *config)
return 1;
};
-int rtems_fec_enet_driver_attach(struct rtems_bsdnet_ifconfig *config,
+int rtems_fec_enet_driver_attach(struct rtems_bsdnet_ifconfig *config,
int attaching)
{
/*