File tree Expand file tree Collapse file tree 3 files changed +22
-21
lines changed
Expand file tree Collapse file tree 3 files changed +22
-21
lines changed Original file line number Diff line number Diff line change 66//
77
88#include <linux/device.h>
9+ #include <linux/ethtool.h>
910#include <linux/of.h>
1011#include <linux/pse-pd/pse.h>
1112#include <linux/regulator/driver.h>
Original file line number Diff line number Diff line change @@ -1326,24 +1326,4 @@ struct ethtool_forced_speed_map {
13261326
13271327void
13281328ethtool_forced_speed_maps_init (struct ethtool_forced_speed_map * maps , u32 size );
1329-
1330- /* C33 PSE extended state and substate. */
1331- struct ethtool_c33_pse_ext_state_info {
1332- enum ethtool_c33_pse_ext_state c33_pse_ext_state ;
1333- union {
1334- enum ethtool_c33_pse_ext_substate_error_condition error_condition ;
1335- enum ethtool_c33_pse_ext_substate_mr_pse_enable mr_pse_enable ;
1336- enum ethtool_c33_pse_ext_substate_option_detect_ted option_detect_ted ;
1337- enum ethtool_c33_pse_ext_substate_option_vport_lim option_vport_lim ;
1338- enum ethtool_c33_pse_ext_substate_ovld_detected ovld_detected ;
1339- enum ethtool_c33_pse_ext_substate_power_not_available power_not_available ;
1340- enum ethtool_c33_pse_ext_substate_short_detected short_detected ;
1341- u32 __c33_pse_ext_substate ;
1342- };
1343- };
1344-
1345- struct ethtool_c33_pse_pw_limit_range {
1346- u32 min ;
1347- u32 max ;
1348- };
13491329#endif /* _LINUX_ETHTOOL_H */
Original file line number Diff line number Diff line change 55#ifndef _LINUX_PSE_CONTROLLER_H
66#define _LINUX_PSE_CONTROLLER_H
77
8- #include <linux/ethtool.h>
98#include <linux/list.h>
109#include <uapi/linux/ethtool.h>
1110
1615
1716struct phy_device ;
1817struct pse_controller_dev ;
18+ struct netlink_ext_ack ;
19+
20+ /* C33 PSE extended state and substate. */
21+ struct ethtool_c33_pse_ext_state_info {
22+ enum ethtool_c33_pse_ext_state c33_pse_ext_state ;
23+ union {
24+ enum ethtool_c33_pse_ext_substate_error_condition error_condition ;
25+ enum ethtool_c33_pse_ext_substate_mr_pse_enable mr_pse_enable ;
26+ enum ethtool_c33_pse_ext_substate_option_detect_ted option_detect_ted ;
27+ enum ethtool_c33_pse_ext_substate_option_vport_lim option_vport_lim ;
28+ enum ethtool_c33_pse_ext_substate_ovld_detected ovld_detected ;
29+ enum ethtool_c33_pse_ext_substate_power_not_available power_not_available ;
30+ enum ethtool_c33_pse_ext_substate_short_detected short_detected ;
31+ u32 __c33_pse_ext_substate ;
32+ };
33+ };
34+
35+ struct ethtool_c33_pse_pw_limit_range {
36+ u32 min ;
37+ u32 max ;
38+ };
1939
2040/**
2141 * struct pse_control_config - PSE control/channel configuration.
You can’t perform that action at this time.
0 commit comments