X-Git-Url: https://git.openfabrics.org/?p=~tnikolova%2Fcompat%2F.git;a=blobdiff_plain;f=include%2Flinux%2Fcompat-3.0.h;h=f1df271c29f0fad4a113e62b1f2a0f5a7bb7f736;hp=22ab5399ad12da2084f38a82a19c7f3c35f3e07e;hb=1360f69c61cd3aba8a20d09eb46009b41480432b;hpb=5b9990a2ff3ef931c42dc3baf6260e17e93c2536 diff --git a/include/linux/compat-3.0.h b/include/linux/compat-3.0.h index 22ab539..f1df271 100644 --- a/include/linux/compat-3.0.h +++ b/include/linux/compat-3.0.h @@ -125,6 +125,22 @@ static inline int __must_check kstrtos32_from_user(const char __user *s, size_t #endif +/* + * enum ethtool_phys_id_state - indicator state for physical identification + * @ETHTOOL_ID_INACTIVE: Physical ID indicator should be deactivated + * @ETHTOOL_ID_ACTIVE: Physical ID indicator should be activated + * @ETHTOOL_ID_ON: LED should be turned on (used iff %ETHTOOL_ID_ACTIVE + * is not supported) + * @ETHTOOL_ID_OFF: LED should be turned off (used iff %ETHTOOL_ID_ACTIVE + * is not supported) + */ +enum ethtool_phys_id_state { + ETHTOOL_ID_INACTIVE, + ETHTOOL_ID_ACTIVE, + ETHTOOL_ID_ON, + ETHTOOL_ID_OFF +}; + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0)) */ #endif /* LINUX_3_0_COMPAT_H */