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