mac.h 891 B

1234567891011121314151617181920212223
  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 struct efx_mac_operations falcon_gmac_operations;
  14. extern struct efx_mac_operations falcon_xmac_operations;
  15. extern struct efx_mac_operations efx_mcdi_mac_operations;
  16. extern void falcon_reconfigure_xmac_core(struct efx_nic *efx);
  17. extern int efx_mcdi_mac_stats(struct efx_nic *efx, dma_addr_t dma_addr,
  18. u32 dma_len, int enable, int clear);
  19. #endif