Changeset 0717607 in rtems-libbsd


Ignore:
Timestamp:
Aug 5, 2016, 10:00:47 AM (3 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
32a3dd1
Parents:
9907ae4
git-author:
Christian Mauderer <Christian.Mauderer@…> (08/05/16 10:00:47)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/05/16 11:11:46)
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

    r9907ae4 r0717607  
    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.