ethernet.h 860 B

12345678910111213141516171819202122
  1. /*
  2. * ioctl defines for ethernet driver
  3. *
  4. * Copyright (c) 2001 Axis Communications AB
  5. *
  6. * Author: Mikael Starvik
  7. *
  8. */
  9. #ifndef _CRIS_ETHERNET_H
  10. #define _CRIS_ETHERNET_H
  11. #define SET_ETH_SPEED_AUTO SIOCDEVPRIVATE /* Auto neg speed */
  12. #define SET_ETH_SPEED_10 SIOCDEVPRIVATE+1 /* 10 Mbps */
  13. #define SET_ETH_SPEED_100 SIOCDEVPRIVATE+2 /* 100 Mbps. */
  14. #define SET_ETH_DUPLEX_AUTO SIOCDEVPRIVATE+3 /* Auto neg duplex */
  15. #define SET_ETH_DUPLEX_HALF SIOCDEVPRIVATE+4 /* Full duplex */
  16. #define SET_ETH_DUPLEX_FULL SIOCDEVPRIVATE+5 /* Half duplex */
  17. #define SET_ETH_ENABLE_LEDS SIOCDEVPRIVATE+6 /* Enable net LEDs */
  18. #define SET_ETH_DISABLE_LEDS SIOCDEVPRIVATE+7 /* Disable net LEDs */
  19. #define SET_ETH_AUTONEG SIOCDEVPRIVATE+8
  20. #endif /* _CRIS_ETHERNET_H */