Initial cut of the open ath9k htc firmware.
[open-ath9k-htc-firmware.git] / target_firmware / magpie_fw_dev / target / inc / k2 / 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_PKT_LEN         1600
9 #define PCI_MAX_DESC            2 
10      
11 typedef enum hif_pci_pipe_rx{
12     HIF_PCI_PIPE_RX0, /*Normal Priority RX*/
13     HIF_PCI_PIPE_RX1,
14     HIF_PCI_PIPE_RX2,
15     HIF_PCI_PIPE_RX3,
16     HIF_PCI_PIPE_RX_MAX
17 }hif_pci_pipe_rx_t;
18
19 typedef enum hif_pci_pipe_tx{
20     HIF_PCI_PIPE_TX0, /*Normal Priority TX*/
21     HIF_PCI_PIPE_TX1,
22     HIF_PCI_PIPE_TX_MAX
23 }hif_pci_pipe_tx_t;
24
25 struct pci_api{
26     void (*pci_boot_init)(void);
27 };
28
29 void        cmnos_pci_module_install(struct pci_api *apis);
30 void        hif_pci_module_install(struct hif_api *apis);
31 #endif
32
33