5 #include <adf_os_types.h>
10 #define GMAC_MAX_PKT_LEN 1600
11 #define GMAC_MAX_DESC 5
13 #define GMAC_DISCV_PKT_SZ 60
14 #define GMAC_DISCV_WAIT 2000
16 #define ATH_P_MAGBOOT 0x12 /*Magpie GMAC 18 for boot downloader*/
17 #define ATH_P_MAGNORM 0x13 /*Magpie GMAC 19 for HTC & others*/
19 #define ETH_P_ATH 0x88bd
21 typedef enum hif_gmac_pipe{
22 HIF_GMAC_PIPE_RX = 1, /*Normal Priority RX*/
23 HIF_GMAC_PIPE_TX = 2, /*Normal Priority TX*/
27 void (*gmac_boot_init)(void);
30 void cmnos_gmac_module_install(struct gmac_api *boot_apis);
31 void hif_gmac_module_install(struct hif_api *apis);