Changeset 2232
- Timestamp:
- 03/27/07 19:29:30 (3 years ago)
- Files:
-
- branches/madwifi-old-openhal/openhal/Makefile (modified) (1 diff)
- branches/madwifi-old-openhal/openhal/README (modified) (2 diffs)
- branches/madwifi-old-openhal/openhal/ah.h (modified) (1 diff)
- branches/madwifi-old-openhal/openhal/ah_osdep.c (modified) (2 diffs)
- branches/madwifi-old-openhal/openhal/ah_osdep.h (modified) (1 diff)
- branches/madwifi-old-openhal/openhal/ar5210.c (deleted)
- branches/madwifi-old-openhal/openhal/ar5210reg.h (deleted)
- branches/madwifi-old-openhal/openhal/ar5210var.h (deleted)
- branches/madwifi-old-openhal/openhal/ar5211.c (deleted)
- branches/madwifi-old-openhal/openhal/ar5211reg.h (deleted)
- branches/madwifi-old-openhal/openhal/ar5211var.h (deleted)
- branches/madwifi-old-openhal/openhal/ar5212.c (deleted)
- branches/madwifi-old-openhal/openhal/ar5212reg.h (deleted)
- branches/madwifi-old-openhal/openhal/ar5212var.h (deleted)
- branches/madwifi-old-openhal/openhal/ar5xxx.c (deleted)
- branches/madwifi-old-openhal/openhal/ar5xxx.h (deleted)
- branches/madwifi-old-openhal/openhal/ath5k.h (added)
- branches/madwifi-old-openhal/openhal/ath5k_hw.c (added)
- branches/madwifi-old-openhal/openhal/ath5k_hw.h (added)
- branches/madwifi-old-openhal/openhal/ath5kreg.h (added)
- branches/madwifi-old-openhal/openhal/ieee80211_regdomain.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/madwifi-old-openhal/openhal/Makefile
r1941 r2232 6 6 7 7 obj-m += ath_hal.o 8 ath_hal-objs := ah_osdep.o a r5xxx.o ar5212.o ar5211.o ar5210.o ieee80211_regdomain.o8 ath_hal-objs := ah_osdep.o ath5k_hw.o ieee80211_regdomain.o 9 9 10 10 include $(TOP)/Makefile.inc branches/madwifi-old-openhal/openhal/README
r1857 r2232 1 Linux OpenHAL 200 614121 Linux OpenHAL 20072703 2 2 ====================== 3 3 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\ 4 4 * This is a port of the ar5k hal for atheros device drivers that is * 5 * source-compatible with the Madwifi driver for linux * 6 * (before the BSD - HEAD merge). * 5 * source-compatible with the Madwifi driver for linux. * 7 6 * * 8 7 * Code ported, modified for combatibility and some bugs were fixed by * 9 8 * Nick "Mick Flemm" Kossifidis (Athens Wireless Metropolitan Network) * 10 * <mickflemm'at'gmail.com> so ar5k can work propertly on Linux. * 9 * <mickflemm'at'gmail.com> and Pavel Roskin so ar5k can work propertly * 10 * on Linux. * 11 * * 11 12 * Currently only the 5212 code has been tested due to lack of hardware. * 12 13 * * … … 92 93 WARNING: Don't delete the empty files included (ah_desc.h etc) 93 94 94 Note: Currenty works for MadWiFi versions before HEAD - BSD merge 95 (that means it works with 07/11/05 snapshot). 95 Note: Currenty works for MadWiFi-old 96 96 97 97 Use branches/madwifi-old-openhal/openhal/ah.h
r1975 r2232 1 #ifndef _AR5K_AH_H 2 #define _AR5K_AH_H 3 4 #include "ar5xxx.h" 5 6 #endif 1 #include "ath5k.h" branches/madwifi-old-openhal/openhal/ah_osdep.c
r1972 r2232 42 42 MODULE_AUTHOR("Nick Kossifidis"); 43 43 MODULE_DESCRIPTION("OpenHAL"); 44 MODULE_SUPPORTED_DEVICE(" ");44 MODULE_SUPPORTED_DEVICE("Atheros AR5xxx WLAN cards"); 45 45 #ifdef MODULE_LICENSE 46 46 MODULE_LICENSE("Dual BSD/GPL"); … … 54 54 { 55 55 AR5K_STATUS status; 56 struct ath_hal *ah = ath _hal_attach(devid, sc, t, h, &status);56 struct ath_hal *ah = ath5k_hw_init(devid, sc, t, h, &status); 57 57 58 58 *(AR5K_STATUS *)s = status; branches/madwifi-old-openhal/openhal/ah_osdep.h
r2038 r2232 75 75 #define bzero(_a, _b) memset(_a, 0, _b) 76 76 77 #define AR5K_REG_WRITE(_reg, _val) (writel(_val, hal->ah_sh + (_reg)))77 //#define AR5K_REG_WRITE(_reg, _val) (writel(_val, hal->ah_sh + (_reg))) 78 78 // bus_space_write_4(hal->ah_st, hal->ah_sh, (_reg), (_val)) 79 79 80 #define AR5K_REG_READ(_reg) (readl(hal->ah_sh + (_reg)))80 //#define AR5K_REG_READ(_reg) (readl(hal->ah_sh + (_reg))) 81 81 // bus_space_read_4(hal->ah_st, hal->ah_sh, (_reg)) branches/madwifi-old-openhal/openhal/ieee80211_regdomain.c
r2034 r2232 21 21 */ 22 22 23 #include "a r5xxx.h"23 #include "ah_osdep.h" 24 24 #include "ieee80211_regdomain.h" 25 25
