1/**************************************************************************** 2 * Driver for Solarflare Solarstorm network controllers and boards 3 * Copyright 2005-2006 Fen Systems Ltd. 4 * Copyright 2006-2009 Solarflare Communications Inc. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License version 2 as published 8 * by the Free Software Foundation, incorporated herein by reference. 9 */ 10 11#ifndef EFX_MAC_H 12#define EFX_MAC_H 13 14#include "net_driver.h" 15 16extern struct efx_mac_operations falcon_gmac_operations; 17extern struct efx_mac_operations falcon_xmac_operations; 18extern struct efx_mac_operations efx_mcdi_mac_operations; 19extern void falcon_reconfigure_xmac_core(struct efx_nic *efx); 20extern int efx_mcdi_mac_stats(struct efx_nic *efx, dma_addr_t dma_addr, 21 u32 dma_len, int enable, int clear); 22 23#endif 24