diff options
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | 2017-06-06 15:33:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-06 20:05:01 +0300 |
commit | 79a04e40f7f0e968b485a0d0cb12dcffc7f509c6 (patch) | |
tree | e755dc7eeddca3c37d791eb71e6520515058e212 /drivers/s390/net/qeth_l3.h | |
parent | cf536ffea99472e043929749508d6656163138a1 (diff) | |
download | linux-79a04e40f7f0e968b485a0d0cb12dcffc7f509c6.tar.xz |
s390/qeth: add support for early L3 device setup
Similar to how qeth currently does early L2 setup of OSM and OSN
devices, add support for early setup of L3-only devices.
This adds a qeth_l3_devtype that contains all core and l3-specific
sysfs attributes, so that they can be created in one go while probing.
This just adds the infrastructure, exploitation of the support happens
in a subsequent patch.
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Reviewed-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l3.h')
-rw-r--r-- | drivers/s390/net/qeth_l3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l3.h b/drivers/s390/net/qeth_l3.h index 26f79533e62e..9b5e439f18cf 100644 --- a/drivers/s390/net/qeth_l3.h +++ b/drivers/s390/net/qeth_l3.h @@ -65,6 +65,7 @@ struct qeth_ipato_entry { int mask_bits; }; +extern const struct attribute_group *qeth_l3_attr_groups[]; void qeth_l3_ipaddr_to_string(enum qeth_prot_versions, const __u8 *, char *); int qeth_l3_string_to_ipaddr(const char *, enum qeth_prot_versions, __u8 *); |