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