9 #define PCI_MAX_DATA_PKT_LEN 1664
10 #define PCI_MAX_CMD_PKT_LEN 512
11 #define PCI_MAX_BOOT_DESC 2
13 typedef enum hif_pci_pipe_rx{
14 HIF_PCI_PIPE_RX0, /*Normal Priority RX*/
21 typedef enum hif_pci_pipe_tx{
22 HIF_PCI_PIPE_TX0, /*Normal Priority TX*/
27 typedef struct __pci_softc{
32 void (*pci_boot_init)(void);
33 hif_handle_t (*pci_init)(HIF_CONFIG *pConfig);
34 void (*pci_reset)(void);
35 void (*pci_enable)(void);
36 void (*pci_reap_xmitted)(__pci_softc_t *sc,
38 void (*pci_reap_recv)(__pci_softc_t *sc, dma_engine_t eng_no);
39 A_UINT8 (*pci_get_pipe)(dma_engine_t eng);
40 dma_engine_t (*pci_get_tx_eng)(hif_pci_pipe_tx_t pipe);
41 dma_engine_t (*pci_get_rx_eng)(hif_pci_pipe_rx_t pipe);
45 void hif_pci_api_install(struct hif_pci_api *apis);
46 void hif_pci_module_install(struct hif_api *apis);