Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * ioctl defines for ethernet driver |
| 3 | * |
| 4 | * Copyright (c) 2001 Axis Communications AB |
| 5 | * |
| 6 | * Author: Mikael Starvik |
| 7 | * |
| 8 | */ |
| 9 | |
| 10 | #ifndef _CRIS_ETHERNET_H |
| 11 | #define _CRIS_ETHERNET_H |
| 12 | #define SET_ETH_SPEED_AUTO SIOCDEVPRIVATE /* Auto neg speed */ |
| 13 | #define SET_ETH_SPEED_10 SIOCDEVPRIVATE+1 /* 10 Mbps */ |
| 14 | #define SET_ETH_SPEED_100 SIOCDEVPRIVATE+2 /* 100 Mbps. */ |
| 15 | #define SET_ETH_DUPLEX_AUTO SIOCDEVPRIVATE+3 /* Auto neg duplex */ |
| 16 | #define SET_ETH_DUPLEX_HALF SIOCDEVPRIVATE+4 /* Full duplex */ |
| 17 | #define SET_ETH_DUPLEX_FULL SIOCDEVPRIVATE+5 /* Half duplex */ |
Jesper Nilsson | bafef0a | 2007-11-14 17:00:55 -0800 | [diff] [blame] | 18 | #define SET_ETH_ENABLE_LEDS SIOCDEVPRIVATE+6 /* Enable net LEDs */ |
| 19 | #define SET_ETH_DISABLE_LEDS SIOCDEVPRIVATE+7 /* Disable net LEDs */ |
| 20 | #define SET_ETH_AUTONEG SIOCDEVPRIVATE+8 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #endif /* _CRIS_ETHERNET_H */ |