Module Name: src
Committed By: reinoud
Date: Thu May 14 09:07:49 UTC 2009
Modified Files:
src/sys/external/isc/atheros_hal/dist: ah_internal.h
src/sys/external/isc/atheros_hal/dist/ar5210: ar5210.h
src/sys/external/isc/atheros_hal/dist/ar5211: ar5211.h
Log Message:
Fix prototypes to match the functions. The prototypes had `int' specified for
parameters or result where they should have been the corresponding enums.
gcc won't bitch on them but conceptually they are different and could be
stored in a different width. Compiling with pcc brought this to light.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/external/isc/atheros_hal/dist/ah_internal.h
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/sys/external/isc/atheros_hal/dist/ar5210/ar5210.h
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/sys/external/isc/atheros_hal/dist/ar5211/ar5211.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/isc/atheros_hal/dist/ah_internal.h
diff -u src/sys/external/isc/atheros_hal/dist/ah_internal.h:1.2 src/sys/external/isc/atheros_hal/dist/ah_internal.h:1.3
--- src/sys/external/isc/atheros_hal/dist/ah_internal.h:1.2 Thu Dec 11 05:30:29 2008
+++ src/sys/external/isc/atheros_hal/dist/ah_internal.h Thu May 14 09:07:49 2009
@@ -14,7 +14,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: ah_internal.h,v 1.2 2008/12/11 05:30:29 alc Exp $
+ * $Id: ah_internal.h,v 1.3 2009/05/14 09:07:49 reinoud Exp $
*/
#ifndef _ATH_AH_INTERAL_H_
#define _ATH_AH_INTERAL_H_
@@ -516,7 +516,7 @@
* based on the current regulatory domain for the specified
* channel.
*/
-extern u_int ath_hal_getnfcheckrequired(struct ath_hal *, HAL_CHANNEL *);
+extern HAL_BOOL ath_hal_getnfcheckrequired(struct ath_hal *, HAL_CHANNEL *);
/*
* Map a public channel definition to the corresponding
Index: src/sys/external/isc/atheros_hal/dist/ar5210/ar5210.h
diff -u src/sys/external/isc/atheros_hal/dist/ar5210/ar5210.h:1.1.1.1 src/sys/external/isc/atheros_hal/dist/ar5210/ar5210.h:1.2
--- src/sys/external/isc/atheros_hal/dist/ar5210/ar5210.h:1.1.1.1 Thu Dec 11 04:46:27 2008
+++ src/sys/external/isc/atheros_hal/dist/ar5210/ar5210.h Thu May 14 09:07:49 2009
@@ -14,7 +14,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: ar5210.h,v 1.1.1.1 2008/12/11 04:46:27 alc Exp $
+ * $Id: ar5210.h,v 1.2 2009/05/14 09:07:49 reinoud Exp $
*/
#ifndef _ATH_AR5210_H_
#define _ATH_AR5210_H_
@@ -254,7 +254,7 @@
extern HAL_BOOL ar5210SetKeyCacheEntryMac(struct ath_hal *,
uint16_t, const uint8_t *);
-extern HAL_BOOL ar5210SetPowerMode(struct ath_hal *, uint32_t powerRequest,
+extern HAL_BOOL ar5210SetPowerMode(struct ath_hal *, HAL_POWER_MODE mode,
int setChip);
extern HAL_POWER_MODE ar5210GetPowerMode(struct ath_hal *);
Index: src/sys/external/isc/atheros_hal/dist/ar5211/ar5211.h
diff -u src/sys/external/isc/atheros_hal/dist/ar5211/ar5211.h:1.1.1.1 src/sys/external/isc/atheros_hal/dist/ar5211/ar5211.h:1.2
--- src/sys/external/isc/atheros_hal/dist/ar5211/ar5211.h:1.1.1.1 Thu Dec 11 04:46:31 2008
+++ src/sys/external/isc/atheros_hal/dist/ar5211/ar5211.h Thu May 14 09:07:49 2009
@@ -14,7 +14,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: ar5211.h,v 1.1.1.1 2008/12/11 04:46:31 alc Exp $
+ * $Id: ar5211.h,v 1.2 2009/05/14 09:07:49 reinoud Exp $
*/
#ifndef _ATH_AR5211_H_
#define _ATH_AR5211_H_
@@ -284,7 +284,7 @@
extern HAL_BOOL ar5211SetKeyCacheEntryMac(struct ath_hal *,
uint16_t, const uint8_t *);
-extern HAL_BOOL ar5211SetPowerMode(struct ath_hal *, uint32_t powerRequest,
+extern HAL_BOOL ar5211SetPowerMode(struct ath_hal *, HAL_POWER_MODE mode,
int setChip);
extern HAL_POWER_MODE ar5211GetPowerMode(struct ath_hal *);