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