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
remove ar5416GetTxDP
[open-ath9k-htc-firmware.git]
/
target_firmware
/
wlan
/
ah_osdep.c
diff --git
a/target_firmware/wlan/ah_osdep.c
b/target_firmware/wlan/ah_osdep.c
index 9fda0744611724ce6eb201f4f246c859a19b52e2..eebf7225377e94ad1f21eaa1988bba48a3e1262c 100755
(executable)
--- a/
target_firmware/wlan/ah_osdep.c
+++ b/
target_firmware/wlan/ah_osdep.c
@@
-48,7
+48,6
@@
#include <adf_os_atomic.h>
#include <adf_nbuf.h>
#include <adf_net.h>
#include <adf_os_atomic.h>
#include <adf_nbuf.h>
#include <adf_net.h>
-#include <adf_net_types.h>
#include "ah.h"
#include<ah_internal.h>
#include "ah.h"
#include<ah_internal.h>
@@
-62,21
+61,15
@@
ath_hal_getuptime(struct ath_hal *ah)
struct ath_hal *
_ath_hal_attach_tgt(a_uint32_t devid, HAL_SOFTC sc,
struct ath_hal *
_ath_hal_attach_tgt(a_uint32_t devid, HAL_SOFTC sc,
- adf_os_device_t dev,
HAL_BUS_HANDLE sh,
a_uint32_t flags, void* s)
+ adf_os_device_t dev, a_uint32_t flags, void* s)
{
HAL_STATUS status;
{
HAL_STATUS status;
- struct ath_hal *ah = ath_hal_attach_tgt(devid,
sc,dev,sh
, flags, &status);
+ struct ath_hal *ah = ath_hal_attach_tgt(devid,
sc, dev
, flags, &status);
adf_os_print(" ath_hal = %p \n",ah);
*(HAL_STATUS *)s = status;
return ah;
}
adf_os_print(" ath_hal = %p \n",ah);
*(HAL_STATUS *)s = status;
return ah;
}
-void
-ath_hal_detach(struct ath_hal *ah)
-{
- (*ah->ah_detach)(ah);
-}
-
extern void *global_hdl;
/*
extern void *global_hdl;
/*
@@
-142,7
+135,7
@@
ath_hal_memzero(void *dst, adf_os_size_t n)
}
void * __ahdecl
}
void * __ahdecl
-ath_hal_memcpy(void *dst, void *src, adf_os_size_t n)
+ath_hal_memcpy(void *dst,
const
void *src, adf_os_size_t n)
{
adf_os_mem_copy(dst, src, n);
return 0;
{
adf_os_mem_copy(dst, src, n);
return 0;