git: igb: Define macros for wreg_nsegs, instead of using magic number

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Jan 28 01:19:16 PST 2013


commit 5a612d02757719844fe799d676e8cc2389937356
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Jan 28 17:22:17 2013 +0800

    igb: Define macros for wreg_nsegs, instead of using magic number

Summary of changes:
 sys/dev/netif/igb/if_igb.c |  4 ++--
 sys/dev/netif/igb/if_igb.h | 10 ++++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5a612d02757719844fe799d676e8cc2389937356


-- 
DragonFly BSD source repository



More information about the Commits mailing list