git: kernel/ath: Make it compile into the kernel again and re-add to GENERIC.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Jan 2 16:23:18 PST 2014


commit 50a82a170aaf19668f95311f53046f00865b9734
Author: Sascha Wildner <saw at online.de>
Date:   Fri Jan 3 01:22:08 2014 +0100

    kernel/ath: Make it compile into the kernel again and re-add to GENERIC.
    
    Full list of changes:
    
    * Adjust the 'files' file for changed ath_hal path and additional
      source.
    
    * Add options from FreeBSD and comment those out which are not
      compiling/used. Add the remaining ones to the LINT kernels for
      additional build checking.
    
    * Fix some typos in the ar9300 code.
    
    * Use ath_hal_ether_sprintf() where needed.
    
    * Add some casts to work around -Wenum-compare and -Wformat breakage.
    
    * Comment out some unused struct ifp's and FreeBSD's ktr.
    
    * Slightly readjust ATH_RXBUF and ATH_TXBUF handling to let the kernel
      options of the same name override the defaults. In the GENERIC kernel
      and module everything stays the same.
    
    * Use the (slightly better structured) FreeBSD Makefile for ath_hal.
    
    All kernels compile with ath(4) as of this commit.

Summary of changes:
 sys/conf/files                                   | 244 ++++++++++++++---------
 sys/conf/kern.pre.mk                             |   4 +-
 sys/conf/options                                 |  24 +++
 sys/config/GENERIC                               |   8 +-
 sys/config/LINT                                  |  17 +-
 sys/config/LINT64                                |  17 +-
 sys/config/X86_64_GENERIC                        |   8 +-
 sys/contrib/dev/ath/ath_hal/ar9300/ar9300_gpio.c |   2 +-
 sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c |   2 +-
 sys/contrib/dev/ath/ath_hal/ar9300/ar9300eep.h   |   4 +-
 sys/dev/netif/ath/ath/if_ath.c                   |  70 ++++---
 sys/dev/netif/ath/ath/if_ath_debug.h             |   4 +
 sys/dev/netif/ath/ath/if_ath_keycache.c          |   2 +
 sys/dev/netif/ath/ath/if_ath_sysctl.c            |   4 +-
 sys/dev/netif/ath/ath/if_ath_tdma.c              |  22 +-
 sys/dev/netif/ath/ath/if_ath_tx.c                | 119 +++++------
 sys/dev/netif/ath/ath/if_athvar.h                |  31 ++-
 sys/dev/netif/ath/ath_hal/Makefile               | 130 +++++++-----
 sys/dev/netif/ath/ath_hal/ah_osdep.c             |   2 +-
 sys/dev/netif/ath/ath_hal/ar9002/ar9285_btcoex.c |   2 +-
 sys/dev/netif/ath/ath_rate/sample/sample.c       |   4 +-
 tools/tools/ath/Makefile.inc                     |   2 +-
 tools/tools/ath/athrd/Makefile                   |   2 +-
 23 files changed, 430 insertions(+), 294 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/50a82a170aaf19668f95311f53046f00865b9734


-- 
DragonFly BSD source repository



More information about the Commits mailing list