[rtems-libbsd commit] Fix legacy MCF548X FEC interface driver

Sebastian Huber sebh at rtems.org
Thu Jan 30 15:35:16 UTC 2014


Module:    rtems-libbsd
Branch:    master
Commit:    45b110fbf581780a0136b27be62725ed569ac180
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=45b110fbf581780a0136b27be62725ed569ac180

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jan 30 16:39:30 2014 +0100

Fix legacy MCF548X FEC interface driver

---

 rtemsbsd/sys/dev/ffec/if_ffec_mcf548x.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/rtemsbsd/sys/dev/ffec/if_ffec_mcf548x.c b/rtemsbsd/sys/dev/ffec/if_ffec_mcf548x.c
index 7595d9a..2f081a7 100644
--- a/rtemsbsd/sys/dev/ffec/if_ffec_mcf548x.c
+++ b/rtemsbsd/sys/dev/ffec/if_ffec_mcf548x.c
@@ -1379,11 +1379,6 @@ static int mcf548x_fec_ioctl (struct ifnet *ifp, ioctl_command_t command, caddr_
 
   switch(command)
     {
-
-    case SIOCGIFMEDIA:
-    case SIOCSIFMEDIA:
-      rtems_mii_ioctl (&(sc->mdio_info),sc,command,(void *)data);
-      break;
     case SIO_RTEMS_SHOW_STATS:
 
       enet_stats(sc);




More information about the vc mailing list