diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index ca5ab98053c8..c7861e4b402c 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1730,6 +1730,8 @@ enum netdev_priv_flags { | |||
1730 | * switch driver and used to set the phys state of the | 1730 | * switch driver and used to set the phys state of the |
1731 | * switch port. | 1731 | * switch port. |
1732 | * | 1732 | * |
1733 | * @wol_enabled: Wake-on-LAN is enabled | ||
1734 | * | ||
1733 | * FIXME: cleanup struct net_device such that network protocol info | 1735 | * FIXME: cleanup struct net_device such that network protocol info |
1734 | * moves out. | 1736 | * moves out. |
1735 | */ | 1737 | */ |
@@ -2014,6 +2016,7 @@ struct net_device { | |||
2014 | struct lock_class_key *qdisc_tx_busylock; | 2016 | struct lock_class_key *qdisc_tx_busylock; |
2015 | struct lock_class_key *qdisc_running_key; | 2017 | struct lock_class_key *qdisc_running_key; |
2016 | bool proto_down; | 2018 | bool proto_down; |
2019 | unsigned wol_enabled:1; | ||
2017 | }; | 2020 | }; |
2018 | #define to_net_dev(d) container_of(d, struct net_device, dev) | 2021 | #define to_net_dev(d) container_of(d, struct net_device, dev) |
2019 | 2022 | ||