Changeset 0157c5b in rtems-libbsd


Ignore:
Timestamp:
Aug 5, 2016, 10:00:47 AM (3 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
4.11
Parents:
6bf772b8
git-author:
Christian Mauderer <Christian.Mauderer@…> (08/05/16 10:00:47)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/05/16 11:11:28)
Message:

if_ffec_mcf548x: Init when interface is set to UP.

Call the driver initialization function if the interface is set to UP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/sys/dev/ffec/if_ffec_mcf548x.c

    r6bf772b8 r0157c5b  
    13801380  switch(command)
    13811381    {
     1382    case SIOCSIFFLAGS:
     1383      if (ifp->if_flags & IFF_UP) {
     1384        if (!(ifp->if_drv_flags & IFF_DRV_RUNNING)) {
     1385          mcf548x_fec_init(sc);
     1386        }
     1387      }
     1388      break;
     1389
    13821390    case SIO_RTEMS_SHOW_STATS:
    13831391
Note: See TracChangeset for help on using the changeset viewer.