mac.h 1.1 KB

1234567891011121314151617181920212223242526272829
  1. /****************************************************************************
  2. * Driver for Solarflare Solarstorm network controllers and boards
  3. * Copyright 2005-2006 Fen Systems Ltd.
  4. * Copyright 2006-2007 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 int falcon_init_xmac(struct efx_nic *efx);
  14. extern void falcon_reconfigure_xmac(struct efx_nic *efx);
  15. extern void falcon_update_stats_xmac(struct efx_nic *efx);
  16. extern void falcon_fini_xmac(struct efx_nic *efx);
  17. extern int falcon_check_xmac(struct efx_nic *efx);
  18. extern void falcon_xmac_sim_phy_event(struct efx_nic *efx);
  19. extern int falcon_xmac_get_settings(struct efx_nic *efx,
  20. struct ethtool_cmd *ecmd);
  21. extern int falcon_xmac_set_settings(struct efx_nic *efx,
  22. struct ethtool_cmd *ecmd);
  23. extern int falcon_xmac_set_pause(struct efx_nic *efx,
  24. enum efx_fc_type pause_params);
  25. #endif