git: if_iwm - Fix several nitpicks in iwm(4).

Matthew Dillon dillon at crater.dragonflybsd.org
Mon May 23 21:38:06 PDT 2016


commit 29fcb331e5620ae145a6ab9cdda830e22fff626a
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat May 21 17:27:11 2016 +0200

    if_iwm - Fix several nitpicks in iwm(4).
    
    Move some declarations to if_iwmreg.h.
    Remove iwm_fw_alive(); just call iwm_post_alive() directly.
    Simplify iwm_mvm_add_sta().
    Return timeout error from iwm_apm_init().
    Print a message when init (i.e. boot) firmware fails to load.
    Remove some commented-out code which wouldn't compile anyway.
    Move iwm_mvm_tx_fifo to if_iwmreg.h to match better where Linux puts it.
    
    Taken-From: OpenBSD (if_iwm.c r1.80 and if_iwmreg.h r1.11)

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c            | 29 ++++----------------
 sys/dev/netif/iwm/if_iwm_pcie_trans.c |  4 ++-
 sys/dev/netif/iwm/if_iwm_phy_db.h     | 35 ------------------------
 sys/dev/netif/iwm/if_iwm_power.c      | 24 -----------------
 sys/dev/netif/iwm/if_iwmreg.h         | 50 +++++++++++++++++++++++++++++++++--
 5 files changed, 56 insertions(+), 86 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/29fcb331e5620ae145a6ab9cdda830e22fff626a


-- 
DragonFly BSD source repository



More information about the Commits mailing list