2008-04-27 11:55:59 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* Driver for Solarflare Solarstorm network controllers and boards
|
|
|
|
* Copyright 2005-2006 Fen Systems Ltd.
|
2009-11-29 15:16:19 +00:00
|
|
|
* Copyright 2006-2009 Solarflare Communications Inc.
|
2008-04-27 11:55:59 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
|
|
* by the Free Software Foundation, incorporated herein by reference.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef EFX_MAC_H
|
|
|
|
#define EFX_MAC_H
|
|
|
|
|
|
|
|
#include "net_driver.h"
|
|
|
|
|
2008-12-13 05:50:08 +00:00
|
|
|
extern struct efx_mac_operations falcon_gmac_operations;
|
|
|
|
extern struct efx_mac_operations falcon_xmac_operations;
|
2009-11-29 15:15:41 +00:00
|
|
|
extern struct efx_mac_operations efx_mcdi_mac_operations;
|
2009-11-29 03:42:41 +00:00
|
|
|
extern void falcon_reconfigure_xmac_core(struct efx_nic *efx);
|
2009-11-29 15:15:41 +00:00
|
|
|
extern int efx_mcdi_mac_stats(struct efx_nic *efx, dma_addr_t dma_addr,
|
|
|
|
u32 dma_len, int enable, int clear);
|
2008-04-27 11:55:59 +00:00
|
|
|
|
|
|
|
#endif
|