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 6
6
//
7
7
8
8
#include <linux/device.h>
9
+ #include <linux/ethtool.h>
9
10
#include <linux/of.h>
10
11
#include <linux/pse-pd/pse.h>
11
12
#include <linux/regulator/driver.h>
Original file line number Diff line number Diff line change @@ -1326,24 +1326,4 @@ struct ethtool_forced_speed_map {
1326
1326
1327
1327
void
1328
1328
ethtool_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
- };
1349
1329
#endif /* _LINUX_ETHTOOL_H */
Original file line number Diff line number Diff line change 5
5
#ifndef _LINUX_PSE_CONTROLLER_H
6
6
#define _LINUX_PSE_CONTROLLER_H
7
7
8
- #include <linux/ethtool.h>
9
8
#include <linux/list.h>
10
9
#include <uapi/linux/ethtool.h>
11
10
16
15
17
16
struct phy_device ;
18
17
struct 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
+ };
19
39
20
40
/**
21
41
* struct pse_control_config - PSE control/channel configuration.
You can’t perform that action at this time.
0 commit comments