kernel/ath: Make it compile into the kernel again and re-add to GENERIC.
authorSascha Wildner <saw@online.de>
Fri, 3 Jan 2014 00:22:08 +0000 (01:22 +0100)
committerSascha Wildner <saw@online.de>
Fri, 3 Jan 2014 00:23:03 +0000 (01:23 +0100)
commit50a82a170aaf19668f95311f53046f00865b9734
tree842ee222feff3788fa2f4df275fcdab533d0e091
parent3efed4582e1ebd0c8309207701e0147a6a9b66d2
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.
23 files changed:
sys/conf/files
sys/conf/kern.pre.mk
sys/conf/options
sys/config/GENERIC
sys/config/LINT
sys/config/LINT64
sys/config/X86_64_GENERIC
sys/contrib/dev/ath/ath_hal/ar9300/ar9300_gpio.c
sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c
sys/contrib/dev/ath/ath_hal/ar9300/ar9300eep.h
sys/dev/netif/ath/ath/if_ath.c
sys/dev/netif/ath/ath/if_ath_debug.h
sys/dev/netif/ath/ath/if_ath_keycache.c
sys/dev/netif/ath/ath/if_ath_sysctl.c
sys/dev/netif/ath/ath/if_ath_tdma.c
sys/dev/netif/ath/ath/if_ath_tx.c
sys/dev/netif/ath/ath/if_athvar.h
sys/dev/netif/ath/ath_hal/Makefile
sys/dev/netif/ath/ath_hal/ah_osdep.c
sys/dev/netif/ath/ath_hal/ar9002/ar9285_btcoex.c
sys/dev/netif/ath/ath_rate/sample/sample.c
tools/tools/ath/Makefile.inc
tools/tools/ath/athrd/Makefile