linux/drivers/net/wireless/ipw2x00
Jiri Slaby 1788bcd155 ipw2200, fix ipw io functions
- some of them are defined as follows:
  #define ipw_write32	expr1; expr2
  and are called from loops or ifs without a compound statement, so
  they are broken. Fix it by putting them into do {} while (0) for
  writes and ({ }) for reads.
- also unify and cleanup them while at it -- convert them from
  macros to inline functions, so that we get some basic typechecking

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Zhu Yi <yi.zhu@intel.com>
Cc: James Ketrenos <jketreno@linux.intel.com>
Cc: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-02-27 14:52:34 -05:00
..
ieee80211.h make net/ieee80211.h private to ipw2x00 2009-02-27 14:51:42 -05:00
ipw2100.c drivers/net/wireless/ipw2x00: fix sparse warnings: fix signedness 2009-02-17 19:49:20 -08:00
ipw2100.h make net/ieee80211.h private to ipw2x00 2009-02-27 14:51:42 -05:00
ipw2200.c ipw2200, fix ipw io functions 2009-02-27 14:52:34 -05:00
ipw2200.h make net/ieee80211.h private to ipw2x00 2009-02-27 14:51:42 -05:00
Kconfig make net/ieee80211.h private to ipw2x00 2009-02-27 14:51:42 -05:00
libipw_geo.c make net/ieee80211.h private to ipw2x00 2009-02-27 14:51:42 -05:00
libipw_module.c make net/ieee80211.h private to ipw2x00 2009-02-27 14:51:42 -05:00
libipw_rx.c make net/ieee80211.h private to ipw2x00 2009-02-27 14:51:42 -05:00
libipw_tx.c make net/ieee80211.h private to ipw2x00 2009-02-27 14:51:42 -05:00
libipw_wx.c make net/ieee80211.h private to ipw2x00 2009-02-27 14:51:42 -05:00
Makefile