Initial cut of the open ath9k htc firmware.
[open-ath9k-htc-firmware.git] / target_firmware / magpie_fw_dev / build / magpie_1_1 / sboot / hif / inc / hif_pci.h
1
2 #ifndef __HIF_PCI_H
3 #define __HIF_PCI_H
4
5 #include <hif_api.h>
6
7
8 #define PCI_MAX_DATA_PKT_LEN            1600
9 #define PCI_MAX_CMD_PKT_LEN             64
10 #define PCI_MAX_BOOT_DESC               2 
11      
12 typedef enum hif_pci_pipe_rx{
13     HIF_PCI_PIPE_RX0, /*Normal Priority RX*/
14     HIF_PCI_PIPE_RX1,
15     HIF_PCI_PIPE_RX2,
16     HIF_PCI_PIPE_RX3,
17     HIF_PCI_PIPE_RX_MAX
18 }hif_pci_pipe_rx_t;
19
20 typedef enum hif_pci_pipe_tx{
21     HIF_PCI_PIPE_TX0, /*Normal Priority TX*/
22     HIF_PCI_PIPE_TX1,
23     HIF_PCI_PIPE_TX_MAX
24 }hif_pci_pipe_tx_t;
25
26 struct pci_api{
27     void (*pci_boot_init)(void);
28 };
29
30 void        cmnos_pci_module_install(struct pci_api *apis);
31 void        hif_pci_module_install(struct hif_api *apis);
32 #endif
33
34