git: ath - Basic report - Additional DragonFly compatibility work
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Jan 1 23:16:06 PST 2014
commit 410f33ab2de733af4dcd975bc104993bb85ca647
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Jan 1 22:51:33 2014 -0800
ath - Basic report - Additional DragonFly compatibility work
* Implement a quick and dirty if_start() as our ifp API is somewhat
different. FreeBSD has a ath_transmit() (per packet), which we do
not have (and do not really want).
* The FreeBSD OACTIVE mechanics are completely different from ours. Rip it
out and add in DFly mechanics. DFly uses OACTIVE for queue control.
(not perfect but...)
* Add some more wlan_serialize_*() calls that I had forgotten.
* Fix a m_getcl() and several other instances where M_* flags were
being used for mbuf operations (DragonFly renamed those to MB_* flags).
* Fix a m_getm() call in ath_edma_rxbuf_init() to use m_getjcl().
* Fix a bug in my previous TAILQ_FOREACH_SAFE() fix, in
ath_edma_recv_proc_deferred_queue(), that I introduced,
and another in ath_txfrag_cleanup().
* Fix the mbuf DMA segment defragmentation code in
ath_tx_dmasetup(). DragonFly has a neat call that does all the work
for us.
* Fix an apparent bug in ath_txq_sched() (-> adrian)
* Change ATH_TXBUF and ATH_RXBUF defaults to 256.
* Add missing MODULE directives in ath_dfs (null.c).
* Add AR9300* support from contrib, taken from FreeBSD
Summary of changes:
sys/dev/netif/ath/ath/if_ath.c | 71 +++++++++++++++++++++++-
sys/dev/netif/ath/ath/if_ath_ahb.c | 2 +
sys/dev/netif/ath/ath/if_ath_misc.h | 1 -
sys/dev/netif/ath/ath/if_ath_pci.c | 2 +
sys/dev/netif/ath/ath/if_ath_rx.c | 5 +-
sys/dev/netif/ath/ath/if_ath_rx_edma.c | 10 +++-
sys/dev/netif/ath/ath/if_ath_sysctl.c | 2 +-
sys/dev/netif/ath/ath/if_ath_tx.c | 51 ++++-------------
sys/dev/netif/ath/ath/if_ath_tx_edma.c | 10 ++++
sys/dev/netif/ath/ath/if_athvar.h | 9 +++
sys/dev/netif/ath/ath_dfs/null/dfs_null.c | 38 +++++++++++++
sys/dev/netif/ath/ath_hal/Makefile | 14 ++++-
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c | 4 ++
13 files changed, 171 insertions(+), 48 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/410f33ab2de733af4dcd975bc104993bb85ca647
--
DragonFly BSD source repository
More information about the Commits
mailing list