/*
* This file is auto - generated . Modifications will be lost .
*
* See https : //android.googlesource.com/platform/bionic/+/master/libc/kernel/
* for more information .
*/
#ifndef _UAPI__LINUX_MII_H__
#define _UAPI__LINUX_MII_H__
#include <linux/types.h>
#include <linux/ethtool.h>
#define MII_BMCR 0 x00
#define MII_BMSR 0 x01
#define MII_PHYSID1 0 x02
#define MII_PHYSID2 0 x03
#define MII_ADVERTISE 0 x04
#define MII_LPA 0 x05
#define MII_EXPANSION 0 x06
#define MII_CTRL1000 0 x09
#define MII_STAT1000 0 x0a
#define MII_MMD_CTRL 0 x0d
#define MII_MMD_DATA 0 x0e
#define MII_ESTATUS 0 x0f
#define MII_DCOUNTER 0 x12
#define MII_FCSCOUNTER 0 x13
#define MII_NWAYTEST 0 x14
#define MII_RERRCOUNTER 0 x15
#define MII_SREVISION 0 x16
#define MII_RESV1 0 x17
#define MII_LBRERROR 0 x18
#define MII_PHYADDR 0 x19
#define MII_RESV2 0 x1a
#define MII_TPISTATUS 0 x1b
#define MII_NCONFIG 0 x1c
#define BMCR_RESV 0 x003f
#define BMCR_SPEED1000 0 x0040
#define BMCR_CTST 0 x0080
#define BMCR_FULLDPLX 0 x0100
#define BMCR_ANRESTART 0 x0200
#define BMCR_ISOLATE 0 x0400
#define BMCR_PDOWN 0 x0800
#define BMCR_ANENABLE 0 x1000
#define BMCR_SPEED100 0 x2000
#define BMCR_LOOPBACK 0 x4000
#define BMCR_RESET 0 x8000
#define BMCR_SPEED10 0 x0000
#define BMSR_ERCAP 0 x0001
#define BMSR_JCD 0 x0002
#define BMSR_LSTATUS 0 x0004
#define BMSR_ANEGCAPABLE 0 x0008
#define BMSR_RFAULT 0 x0010
#define BMSR_ANEGCOMPLETE 0 x0020
#define BMSR_RESV 0 x00c0
#define BMSR_ESTATEN 0 x0100
#define BMSR_100HALF2 0 x0200
#define BMSR_100FULL2 0 x0400
#define BMSR_10HALF 0 x0800
#define BMSR_10FULL 0 x1000
#define BMSR_100HALF 0 x2000
#define BMSR_100FULL 0 x4000
#define BMSR_100BASE4 0 x8000
#define ADVERTISE_SLCT 0 x001f
#define ADVERTISE_CSMA 0 x0001
#define ADVERTISE_10HALF 0 x0020
#define ADVERTISE_1000XFULL 0 x0020
#define ADVERTISE_10FULL 0 x0040
#define ADVERTISE_1000XHALF 0 x0040
#define ADVERTISE_100HALF 0 x0080
#define ADVERTISE_1000XPAUSE 0 x0080
#define ADVERTISE_100FULL 0 x0100
#define ADVERTISE_1000XPSE_ASYM 0 x0100
#define ADVERTISE_100BASE4 0 x0200
#define ADVERTISE_PAUSE_CAP 0 x0400
#define ADVERTISE_PAUSE_ASYM 0 x0800
#define ADVERTISE_RESV 0 x1000
#define ADVERTISE_RFAULT 0 x2000
#define ADVERTISE_LPACK 0 x4000
#define ADVERTISE_NPAGE 0 x8000
#define ADVERTISE_FULL (ADVERTISE_100FULL | ADVERTISE_10FULL | ADVERTISE_CSMA)
#define ADVERTISE_ALL (ADVERTISE_10HALF | ADVERTISE_10FULL | ADVERTISE_100HALF | ADVERTISE_100FULL)
#define LPA_SLCT 0 x001f
#define LPA_10HALF 0 x0020
#define LPA_1000XFULL 0 x0020
#define LPA_10FULL 0 x0040
#define LPA_1000XHALF 0 x0040
#define LPA_100HALF 0 x0080
#define LPA_1000XPAUSE 0 x0080
#define LPA_100FULL 0 x0100
#define LPA_1000XPAUSE_ASYM 0 x0100
#define LPA_100BASE4 0 x0200
#define LPA_PAUSE_CAP 0 x0400
#define LPA_PAUSE_ASYM 0 x0800
#define LPA_RESV 0 x1000
#define LPA_RFAULT 0 x2000
#define LPA_LPACK 0 x4000
#define LPA_NPAGE 0 x8000
#define LPA_DUPLEX (LPA_10FULL | LPA_100FULL)
#define LPA_100 (LPA_100FULL | LPA_100HALF | LPA_100BASE4)
#define EXPANSION_NWAY 0 x0001
#define EXPANSION_LCWP 0 x0002
#define EXPANSION_ENABLENPAGE 0 x0004
#define EXPANSION_NPCAPABLE 0 x0008
#define EXPANSION_MFAULTS 0 x0010
#define EXPANSION_RESV 0 xffe0
#define ESTATUS_1000_XFULL 0 x8000
#define ESTATUS_1000_XHALF 0 x4000
#define ESTATUS_1000_TFULL 0 x2000
#define ESTATUS_1000_THALF 0 x1000
#define NWAYTEST_RESV1 0 x00ff
#define NWAYTEST_LOOPBACK 0 x0100
#define NWAYTEST_RESV2 0 xfe00
#define ADVERTISE_SGMII 0 x0001
#define LPA_SGMII 0 x0001
#define LPA_SGMII_SPD_MASK 0 x0c00
#define LPA_SGMII_FULL_DUPLEX 0 x1000
#define LPA_SGMII_DPX_SPD_MASK 0 x1C00
#define LPA_SGMII_10 0 x0000
#define LPA_SGMII_10HALF 0 x0000
#define LPA_SGMII_10FULL 0 x1000
#define LPA_SGMII_100 0 x0400
#define LPA_SGMII_100HALF 0 x0400
#define LPA_SGMII_100FULL 0 x1400
#define LPA_SGMII_1000 0 x0800
#define LPA_SGMII_1000HALF 0 x0800
#define LPA_SGMII_1000FULL 0 x1800
#define LPA_SGMII_LINK 0 x8000
#define ADVERTISE_1000FULL 0 x0200
#define ADVERTISE_1000HALF 0 x0100
#define CTL1000_PREFER_MASTER 0 x0400
#define CTL1000_AS_MASTER 0 x0800
#define CTL1000_ENABLE_MASTER 0 x1000
#define LPA_1000MSFAIL 0 x8000
#define LPA_1000MSRES 0 x4000
#define LPA_1000LOCALRXOK 0 x2000
#define LPA_1000REMRXOK 0 x1000
#define LPA_1000FULL 0 x0800
#define LPA_1000HALF 0 x0400
#define FLOW_CTRL_TX 0 x01
#define FLOW_CTRL_RX 0 x02
#define MII_MMD_CTRL_DEVAD_MASK 0 x1f
#define MII_MMD_CTRL_ADDR 0 x0000
#define MII_MMD_CTRL_NOINCR 0 x4000
#define MII_MMD_CTRL_INCR_RDWT 0 x8000
#define MII_MMD_CTRL_INCR_ON_WT 0 xC000
struct mii_ioctl_data {
__u16 phy_id;
__u16 reg_num;
__u16 val_in;
__u16 val_out;
};
#endif
Messung V0.5 in Prozent C=82 H=97 G=89
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-06-28)
¤
*© Formatika GbR, Deutschland