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 16 extern const struct efx_mac_operations falcon_xmac_operations; 17 extern const struct efx_mac_operations efx_mcdi_mac_operations; 18 extern int efx_mcdi_mac_stats(struct efx_nic *efx, dma_addr_t dma_addr, 19 u32 dma_len, int enable, int clear); 20 21 #endif 22