projects
/
open-ath9k-htc-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add cryptographic assurances when fetching the toolchain
[open-ath9k-htc-firmware.git]
/
target_firmware
/
wlan
/
ah_osdep.h
diff --git
a/target_firmware/wlan/ah_osdep.h
b/target_firmware/wlan/ah_osdep.h
index 322148f30bc53c98a91c6591a52ff131bdd0ad02..005753ea6df8d5ba5f0963f791f3556785e02dd0 100755
(executable)
--- a/
target_firmware/wlan/ah_osdep.h
+++ b/
target_firmware/wlan/ah_osdep.h
@@
-2,19
+2,18
@@
* Copyright (c) 2002-2004 Sam Leffler, Errno Consulting, Atheros
* Communications, Inc. All rights reserved.
*
* Copyright (c) 2002-2004 Sam Leffler, Errno Consulting, Atheros
* Communications, Inc. All rights reserved.
*
- * Redistribution and use in source and binary forms are permitted
- * provided that the following conditions are met:
- * 1. The materials contained herein are unmodified and are used
- * unmodified.
- * 2. Redistributions of source code must retain the above copyright
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following NO
* ''WARRANTY'' disclaimer below (''Disclaimer''), without
* modification.
* notice, this list of conditions and the following NO
* ''WARRANTY'' disclaimer below (''Disclaimer''), without
* modification.
- *
3
. Redistributions in binary form must reproduce at minimum a
+ *
2
. Redistributions in binary form must reproduce at minimum a
* disclaimer similar to the Disclaimer below and any redistribution
* must be conditioned upon including a substantially similar
* Disclaimer requirement for further binary redistribution.
* disclaimer similar to the Disclaimer below and any redistribution
* must be conditioned upon including a substantially similar
* Disclaimer requirement for further binary redistribution.
- *
4
. Neither the names of the above-listed copyright holders nor the
+ *
3
. Neither the names of the above-listed copyright holders nor the
* names of any contributors may be used to endorse or promote
* product derived from this software without specific prior written
* permission.
* names of any contributors may be used to endorse or promote
* product derived from this software without specific prior written
* permission.
@@
-146,11
+145,6
@@
extern a_uint32_t __ahdecl ath_hal_getuptime(struct ath_hal *);
#define __bswap16(_x) (_x)
#endif
#define __bswap16(_x) (_x)
#endif
-#define OS_REG_WRITE(_ah, _reg, _val) ath_hal_reg_write_target(_ah, _reg, _val)
-
-extern void __ahdecl ath_hal_reg_write_target(struct ath_hal *ah,
- a_uint32_t reg, a_uint32_t val);
-
#define AH_USE_EEPROM 0x00000001
extern struct ath_hal *_ath_hal_attach_tgt( a_uint32_t, HAL_SOFTC, adf_os_device_t,
a_uint32_t flags, void* status);
#define AH_USE_EEPROM 0x00000001
extern struct ath_hal *_ath_hal_attach_tgt( a_uint32_t, HAL_SOFTC, adf_os_device_t,
a_uint32_t flags, void* status);