mac.h 783 B

12345678910111213141516171819202122
  1. /****************************************************************************
  2. * Driver for Solarflare Solarstorm network controllers and boards
  3. * Copyright 2005-2006 Fen Systems Ltd.
  4. * Copyright 2006-2009 Solarflare Communications Inc.
  5. *
  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. #ifndef EFX_MAC_H
  11. #define EFX_MAC_H
  12. #include "net_driver.h"
  13. extern const struct efx_mac_operations falcon_xmac_operations;
  14. extern const struct efx_mac_operations efx_mcdi_mac_operations;
  15. extern int efx_mcdi_mac_stats(struct efx_nic *efx, dma_addr_t dma_addr,
  16. u32 dma_len, int enable, int clear);
  17. #endif