| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2004-2008 Atheros Communications Inc. | 2 * Copyright (c) 2004-2008 Atheros Communications Inc. |
| 3 * All rights reserved. | 3 * All rights reserved. |
| 4 * | 4 * |
| 5 * This file defines the symbols exported by Atheros PS and patch download modul
e. | 5 * This file defines the symbols exported by Atheros PS and patch download modul
e. |
| 6 * define the constant HCI_TRANSPORT_SDIO if the module is being used for HCI SD
IO transport. | 6 * define the constant HCI_TRANSPORT_SDIO if the module is being used for HCI SD
IO transport. |
| 7 * defined. | 7 * defined. |
| 8 * | 8 * |
| 9 * | 9 * |
| 10 * ar3kcpsconfig.h | 10 * ar3kcpsconfig.h |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #include <linux/firmware.h> | 46 #include <linux/firmware.h> |
| 47 #include <linux/wait.h> | 47 #include <linux/wait.h> |
| 48 | 48 |
| 49 | 49 |
| 50 #include <net/bluetooth/bluetooth.h> | 50 #include <net/bluetooth/bluetooth.h> |
| 51 #include <net/bluetooth/hci_core.h> | 51 #include <net/bluetooth/hci_core.h> |
| 52 | 52 |
| 53 #include "ar3kpsparser.h" | 53 #include "ar3kpsparser.h" |
| 54 | 54 |
| 55 #define FPGA_REGISTER 0x4FFC | 55 #define FPGA_REGISTER 0x4FFC |
| 56 | 56 #define BDADDR_TYPE_STRING» 0 |
| 57 #define BDADDR_TYPE_HEX»» 1 |
| 58 #define CONFIG_PATH» "ar3k" |
| 57 | 59 |
| 58 #define PS_ASIC_FILE "PS_ASIC.pst" | 60 #define PS_ASIC_FILE "PS_ASIC.pst" |
| 59 #define PS_FPGA_FILE "PS_FPGA.pst" | 61 #define PS_FPGA_FILE "PS_FPGA.pst" |
| 60 | 62 |
| 61 #define PATCH_FILE "RamPatch.txt" | 63 #define PATCH_FILE "RamPatch.txt" |
| 62 #define BDADDR_FILE "ar3kbdaddr.pst" | 64 #define BDADDR_FILE "ar3kbdaddr.pst" |
| 63 | 65 |
| 66 #define ROM_VER_AR3001_3_1_0 30000 |
| 67 #define ROM_VER_AR3001_3_1_1 30101 |
| 68 |
| 64 | 69 |
| 65 #ifndef HCI_TRANSPORT_SDIO | 70 #ifndef HCI_TRANSPORT_SDIO |
| 66 #define AR3K_CONFIG_INFO struct hci_dev | 71 #define AR3K_CONFIG_INFO struct hci_dev |
| 67 extern wait_queue_head_t HciEvent; | 72 extern wait_queue_head_t HciEvent; |
| 68 extern wait_queue_t Eventwait; | 73 extern wait_queue_t Eventwait; |
| 69 extern A_UCHAR *HciEventpacket; | 74 extern A_UCHAR *HciEventpacket; |
| 70 #endif /* #ifndef HCI_TRANSPORT_SDIO */ | 75 #endif /* #ifndef HCI_TRANSPORT_SDIO */ |
| 71 | 76 |
| 72 A_STATUS AthPSInitialize(AR3K_CONFIG_INFO *hdev); | 77 A_STATUS AthPSInitialize(AR3K_CONFIG_INFO *hdev); |
| 73 A_STATUS ReadPSEvent(A_UCHAR* Data); | 78 A_STATUS ReadPSEvent(A_UCHAR* Data); |
| 74 #endif /* __AR3KPSCONFIG_H */ | 79 #endif /* __AR3KPSCONFIG_H */ |
| OLD | NEW |