blob: f1aa5f37489036adb028b6d306a04e5a7d15203c [file] [log] [blame]
Ben Hutchings8ceee662008-04-27 12:55:59 +01001/****************************************************************************
2 * Driver for Solarflare Solarstorm network controllers and boards
3 * Copyright 2005-2006 Fen Systems Ltd.
Ben Hutchings906bb262009-11-29 15:16:19 +00004 * Copyright 2006-2009 Solarflare Communications Inc.
Ben Hutchings8ceee662008-04-27 12:55:59 +01005 *
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
Ben Hutchings177dfcd2008-12-12 21:50:08 -080016extern struct efx_mac_operations falcon_gmac_operations;
17extern struct efx_mac_operations falcon_xmac_operations;
Ben Hutchings8880f4e2009-11-29 15:15:41 +000018extern struct efx_mac_operations efx_mcdi_mac_operations;
Ben Hutchingsd3245b22009-11-29 03:42:41 +000019extern void falcon_reconfigure_xmac_core(struct efx_nic *efx);
Ben Hutchings8880f4e2009-11-29 15:15:41 +000020extern int efx_mcdi_mac_stats(struct efx_nic *efx, dma_addr_t dma_addr,
21 u32 dma_len, int enable, int clear);
Ben Hutchings8ceee662008-04-27 12:55:59 +010022
23#endif