git: ath - Basic re-port, base code compile

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jan 1 23:16:01 PST 2014


commit 3133c5e39700a9e7b81ed2a7d3eabb3a751dcd80
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jan 1 17:31:41 2014 -0800

    ath - Basic re-port, base code compile
    
    * First re-port pass, make base code modifications to work with DragonFly.
    
    * Remove ath locks (mostly using #define's).
    
    * Protect entry points with our global wlan_serializer.  This includes:
    	- callout functions
    	- PCI entry/exit
    	- ifnet access (typically already protected from the DFly kernel).
    	- taskqueue functions
    	- sysctl functions
    
    * Rework the sysctl hierarchy a little.
    
    * Fixup malloc->kmalloc, free->kfree, snprintf->ksnprintf.
    * Fixup ether_sprintf() use cases.
    
    * Fixup bad M_NOWAIT semantics from FreeBSD.  Convert all such to
      M_INTWAIT.
    
    * IFF_RUNNING and IFF_OACTIVE adjustments.
    
    * Temporarily #if 0 out code that our wlan infrastructure does not
      yet support.
    
    * Add appropriate DRIVER and MODULE declarations for module handling.
    
    * #include path adjustments
    
    * API differences in bus_dma_tag_create(), bus_dmamap_load_mbuf_sg(),
      and related interactions.
    
    * Several TAILQ_FOREACH_SAFE() interactions were broken (pushed to Adrian).
    
    * Revert field name for now (tap->txa_tid -> tap_txa_ac).  We need to fixup
      our wlan infrastructure to rename txa_ac to txa_tid.
    
    * va_list/va_start/va_end -> __va_list/__va_start/__va_end.

Summary of changes:
 sys/dev/netif/ath/Makefile                       |   2 +-
 sys/dev/netif/ath/ath/if_ath.c                   | 192 +++++---
 sys/dev/netif/ath/ath/if_ath_ahb.c               |  35 +-
 sys/dev/netif/ath/ath/if_ath_alq.c               |  14 +-
 sys/dev/netif/ath/ath/if_ath_beacon.c            |  14 +-
 sys/dev/netif/ath/ath/if_ath_btcoex.c            |  12 +-
 sys/dev/netif/ath/ath/if_ath_debug.c             |  48 +-
 sys/dev/netif/ath/ath/if_ath_keycache.c          |  16 +-
 sys/dev/netif/ath/ath/if_ath_led.c               |   6 +
 sys/dev/netif/ath/ath/if_ath_lna_div.c           |  16 +-
 sys/dev/netif/ath/ath/if_ath_pci.c               |  22 +-
 sys/dev/netif/ath/ath/if_ath_rx.c                |   9 +-
 sys/dev/netif/ath/ath/if_ath_rx_edma.c           |  35 +-
 sys/dev/netif/ath/ath/if_ath_spectral.c          |  14 +-
 sys/dev/netif/ath/ath/if_ath_sysctl.c            | 319 ++++++++-----
 sys/dev/netif/ath/ath/if_ath_tx.c                |  44 +-
 sys/dev/netif/ath/ath/if_ath_tx_edma.c           |  11 +-
 sys/dev/netif/ath/ath/if_athvar.h                | 188 +++-----
 sys/dev/netif/ath/ath_dfs/null/Makefile          |   4 +-
 sys/dev/netif/ath/ath_dfs/null/dfs_null.c        |  10 +-
 sys/dev/netif/ath/ath_hal/Makefile               |  17 +-
 sys/dev/netif/ath/ath_hal/ah_osdep.c             |  96 ++--
 sys/dev/netif/ath/ath_hal/ah_osdep.h             |   4 +
 sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c |  20 +-
 sys/dev/netif/ath/ath_hal/ar71xx/ar71xx_cpudef.h | 160 +++++++
 sys/dev/netif/ath/ath_hal/ar71xx/ar71xxreg.h     | 565 +++++++++++++++++++++++
 sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c |   2 +-
 sys/dev/netif/ath/ath_hal/ar9002/ar9280_olc.c    |   2 +-
 sys/dev/netif/ath/ath_hal/ar91xx/ar91xxreg.h     |  84 ++++
 sys/dev/netif/ath/ath_rate/amrr/Makefile         |   2 +-
 sys/dev/netif/ath/ath_rate/amrr/amrr.c           |  51 +-
 sys/dev/netif/ath/ath_rate/onoe/Makefile         |   2 +-
 sys/dev/netif/ath/ath_rate/onoe/onoe.c           |  51 +-
 sys/dev/netif/ath/ath_rate/sample/Makefile       |   2 +-
 sys/dev/netif/ath/ath_rate/sample/sample.c       |  80 +++-
 sys/dev/netif/ath/ath_rate/sample/sample.h       |   2 +-
 36 files changed, 1648 insertions(+), 503 deletions(-)
 create mode 100644 sys/dev/netif/ath/ath_hal/ar71xx/ar71xx_cpudef.h
 create mode 100644 sys/dev/netif/ath/ath_hal/ar71xx/ar71xxreg.h
 create mode 100644 sys/dev/netif/ath/ath_hal/ar91xx/ar91xxreg.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3133c5e39700a9e7b81ed2a7d3eabb3a751dcd80


-- 
DragonFly BSD source repository



More information about the Commits mailing list