Initial cut of the open ath9k htc firmware.
[open-ath9k-htc-firmware.git] / target_firmware / magpie_fw_dev / target / htc / htc_tgt.c
1 #include <adf_os_types.h>
2 #include <adf_os_dma.h>
3 #include <adf_os_timer.h>
4 #include <adf_os_time.h>
5 #include <adf_os_lock.h>
6 #include <adf_os_io.h>
7 #include <adf_os_mem.h>
8 #include <adf_os_module.h>
9
10 #include <osapi.h>
11 #include <Magpie_api.h>
12
13 _A_magpie_indirection_table_t _indir_tbl;
14
15 int init_htc_tgt(void);
16
17 int init_htc_tgt(void)
18 {
19         /* target-side HIF/HTC/WMI module installation */
20         BUF_POOL_MODULE_INSTALL();
21         HIF_MODULE_INSTALL();
22         HTC_MODULE_INSTALL();
23         WMI_SERVICE_MODULE_INSTALL();
24
25         adf_os_print("HTC Target Version 1.xx Loaded...\n");
26         return 0;
27 }
28
29 void exit_htc_tgt(void);
30
31 void exit_htc_tgt(void)
32 {
33         adf_os_print("HTC Target UnLoaded...\n");
34 }
35
36 adf_os_export_symbol(_indir_tbl);
37
38 adf_os_virt_module_init(init_htc_tgt);
39 adf_os_virt_module_exit(exit_htc_tgt);
40 adf_os_module_dep(htc_tgt, adf_net);
41 adf_os_module_dep(htc_tgt, inproc_hif);
42 adf_os_virt_module_name(htc_tgt);