git: ifmedia: Macro naming and add function to convert str to FC settings

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Nov 24 01:14:25 PST 2015


commit 6ecea76fc8e5f3244e15fd81340ffaef4b5cf399
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Nov 24 17:07:39 2015 +0800

    ifmedia: Macro naming and add function to convert str to FC settings
    
    - IFM_MANUFLOW -> IFM_FORCEPAUSE
    - ifmedia_str2ethfc() converts various strings to ifmedia flow control
      settings.  It helps flow control tunable parsing.

Summary of changes:
 sys/net/if_media.c | 22 ++++++++++++++++++++++
 sys/net/if_media.h | 25 ++++++++++++++++++++++---
 2 files changed, 44 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6ecea76fc8e5f3244e15fd81340ffaef4b5cf399


-- 
DragonFly BSD source repository



More information about the Commits mailing list