sfc: Don't use enums as a bitmask.
[zen-stable.git] / drivers / net / sfc / mac.h
blobd6a255d0856be02aed4db82f3fc03e725e49566b
1 /****************************************************************************
2 * Driver for Solarflare Solarstorm network controllers and boards
3 * Copyright 2005-2006 Fen Systems Ltd.
4 * Copyright 2006-2009 Solarflare Communications Inc.
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 */
11 #ifndef EFX_MAC_H
12 #define EFX_MAC_H
14 #include "net_driver.h"
16 extern const struct efx_mac_operations falcon_xmac_operations;
17 extern const struct efx_mac_operations efx_mcdi_mac_operations;
18 extern int efx_mcdi_mac_stats(struct efx_nic *efx, dma_addr_t dma_addr,
19 u32 dma_len, int enable, int clear);
21 #endif