2008-04-27 19:55:59 +08:00
|
|
|
/****************************************************************************
|
|
|
|
* Driver for Solarflare Solarstorm network controllers and boards
|
|
|
|
* Copyright 2005-2006 Fen Systems Ltd.
|
2009-11-29 23:16:19 +08:00
|
|
|
* Copyright 2006-2009 Solarflare Communications Inc.
|
2008-04-27 19:55:59 +08: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 13:50:08 +08:00
|
|
|
extern struct efx_mac_operations falcon_gmac_operations;
|
|
|
|
extern struct efx_mac_operations falcon_xmac_operations;
|
2009-11-29 23:15:41 +08:00
|
|
|
extern struct efx_mac_operations efx_mcdi_mac_operations;
|
2009-11-29 11:42:41 +08:00
|
|
|
extern void falcon_reconfigure_xmac_core(struct efx_nic *efx);
|
2009-11-29 23:15:41 +08: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 19:55:59 +08:00
|
|
|
|
|
|
|
#endif
|