1
linux/drivers/net/wireless/zd1211rw
Daniel Drake 0ce34bc8f7 [PATCH] zd1211rw: Remove addressing abstraction
Instead of passing our own custom 32-bit addresses around and
translating them, this patch makes all our register address constants
absolute and removes the translation.

There are two ugly parts:
 - fw_reg_addr() is needed to compute addresses of firmware registers, as this
   is dynamic based upon firmware
 - inc_addr() needs a small hack to handle byte vs word addressing

However, both of those are only small, and we don't use fw_regs a whole
lot anyway.

The bonuses here include simplicity and improved driver readability. Also, the
fact that registers are now referenced by 16-bit absolute addresses (as
opposed to 32-bit pseudo addresses) means that over 2kb compiled code size has
been shaved off.

Includes some touchups and sparse fixes from Ulrich Kunitz.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2007-02-05 16:58:42 -05:00
..
Kconfig
Makefile
zd_chip.c [PATCH] zd1211rw: Remove addressing abstraction 2007-02-05 16:58:42 -05:00
zd_chip.h [PATCH] zd1211rw: Remove addressing abstraction 2007-02-05 16:58:42 -05:00
zd_def.h [PATCH] zd1211rw: Remove addressing abstraction 2007-02-05 16:58:42 -05:00
zd_ieee80211.c [PATCH] zd1211rw: Allow channels 1-13 in Japan 2006-12-02 00:12:05 -05:00
zd_ieee80211.h [PATCH] zd1211rw: Remove addressing abstraction 2007-02-05 16:58:42 -05:00
zd_mac.c [PATCH] zd1211rw: Call ieee80211_rx in tasklet 2006-12-19 16:09:59 -05:00
zd_mac.h [PATCH] zd1211rw: Call ieee80211_rx in tasklet 2006-12-19 16:09:59 -05:00
zd_netdev.c [PATCH] zd1211rw: Support for multicast addresses 2006-12-05 19:31:32 -05:00
zd_netdev.h
zd_rf_al2230.c
zd_rf_al7230b.c
zd_rf_rf2959.c
zd_rf.c
zd_rf.h [PATCH] zd1211rw: Remove addressing abstraction 2007-02-05 16:58:42 -05:00
zd_usb.c [PATCH] zd1211rw: Remove addressing abstraction 2007-02-05 16:58:42 -05:00
zd_usb.h [PATCH] zd1211rw: Remove addressing abstraction 2007-02-05 16:58:42 -05:00
zd_util.c
zd_util.h