ethtool.h 825 B

123456789101112131415161718192021222324252627
  1. /****************************************************************************
  2. * Driver for Solarflare Solarstorm network controllers and boards
  3. * Copyright 2005 Fen Systems Ltd.
  4. * Copyright 2006 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_ETHTOOL_H
  11. #define EFX_ETHTOOL_H
  12. #include "net_driver.h"
  13. /*
  14. * Ethtool support
  15. */
  16. extern int efx_ethtool_get_settings(struct net_device *net_dev,
  17. struct ethtool_cmd *ecmd);
  18. extern int efx_ethtool_set_settings(struct net_device *net_dev,
  19. struct ethtool_cmd *ecmd);
  20. extern struct ethtool_ops efx_ethtool_ops;
  21. #endif /* EFX_ETHTOOL_H */