git: if_iwm - Move struct iwm_cfg chipset configs to if_iwm_7000.c and _8000.c

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Sep 25 13:14:41 PDT 2016


commit 27d11320e707d2c41424efc1983762f6799941d6
Author: Imre Vadász <imre at vdsz.com>
Date:   Sun Sep 25 21:21:20 2016 +0200

    if_iwm - Move struct iwm_cfg chipset configs to if_iwm_7000.c and _8000.c
    
    * This is more similar to how code/definitions are distributed in
      Linux's iwlwifi.
    
    * This should make recognizing new chipset variants, and adding additional
      flags from the Linux iwlwifi code easier, without blowing up if_iwm.c
    
    Taken-From: Linux iwlwifi

Summary of changes:
 sys/conf/files                                     |   2 +
 sys/dev/netif/iwm/Makefile                         |   2 +-
 sys/dev/netif/iwm/if_iwm.c                         |  96 +++--------------
 sys/dev/netif/iwm/{if_iwm_led.h => if_iwm_7000.c}  |  98 +++++++++++-------
 sys/dev/netif/iwm/{if_iwm_led.h => if_iwm_8000.c}  |  62 +++++------
 .../iwm/{if_iwm_notif_wait.h => if_iwm_config.h}   | 115 ++++++++++-----------
 sys/dev/netif/iwm/if_iwm_pcie_trans.c              |   1 +
 sys/dev/netif/iwm/if_iwmvar.h                      |  24 +----
 8 files changed, 162 insertions(+), 238 deletions(-)
 copy sys/dev/netif/iwm/{if_iwm_led.h => if_iwm_7000.c} (59%)
 copy sys/dev/netif/iwm/{if_iwm_led.h => if_iwm_8000.c} (65%)
 copy sys/dev/netif/iwm/{if_iwm_notif_wait.h => if_iwm_config.h} (56%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/27d11320e707d2c41424efc1983762f6799941d6


-- 
DragonFly BSD source repository



More information about the Commits mailing list