Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
23 lines
923 B
C
23 lines
923 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/*
|
|
* ioctl defines for ethernet driver
|
|
*
|
|
* Copyright (c) 2001 Axis Communications AB
|
|
*
|
|
* Author: Mikael Starvik
|
|
*
|
|
*/
|
|
|
|
#ifndef _CRIS_ETHERNET_H
|
|
#define _CRIS_ETHERNET_H
|
|
#define SET_ETH_SPEED_AUTO SIOCDEVPRIVATE /* Auto neg speed */
|
|
#define SET_ETH_SPEED_10 SIOCDEVPRIVATE+1 /* 10 Mbps */
|
|
#define SET_ETH_SPEED_100 SIOCDEVPRIVATE+2 /* 100 Mbps. */
|
|
#define SET_ETH_DUPLEX_AUTO SIOCDEVPRIVATE+3 /* Auto neg duplex */
|
|
#define SET_ETH_DUPLEX_HALF SIOCDEVPRIVATE+4 /* Full duplex */
|
|
#define SET_ETH_DUPLEX_FULL SIOCDEVPRIVATE+5 /* Half duplex */
|
|
#define SET_ETH_ENABLE_LEDS SIOCDEVPRIVATE+6 /* Enable net LEDs */
|
|
#define SET_ETH_DISABLE_LEDS SIOCDEVPRIVATE+7 /* Disable net LEDs */
|
|
#define SET_ETH_AUTONEG SIOCDEVPRIVATE+8
|
|
#endif /* _CRIS_ETHERNET_H */
|