git: em/emx: Integrate ifmedia flow control support.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Nov 24 22:00:15 PST 2015


commit 81ac62f774b31cc8da961743e1924a4592fc1625
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Wed Nov 25 11:30:35 2015 +0800

    em/emx: Integrate ifmedia flow control support.
    
    Other minor bits:
    - Set media to IFM_NONE, if there is no link yet.
    - Remove no longer used dev.em.Y.flow_ctrl sysctl node.
      ifconfig emY [mediaopt|-mediaopt] [rxpause|txpause|forcepause]
      should be used instead.

Summary of changes:
 share/man/man4/em.4                    |  34 ++++++++
 sys/dev/netif/em/if_em.c               | 138 ++++++++++++++++++++-------------
 sys/dev/netif/em/if_em.h               |   2 +-
 sys/dev/netif/emx/if_emx.c             | 111 +++++++++++++++-----------
 sys/dev/netif/emx/if_emx.h             |   2 +-
 sys/dev/netif/ig_hal/e1000_dragonfly.h |  11 ---
 sys/dev/netif/ig_hal/e1000_osdep.c     |  52 ++-----------
 7 files changed, 190 insertions(+), 160 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/81ac62f774b31cc8da961743e1924a4592fc1625


-- 
DragonFly BSD source repository



More information about the Commits mailing list