summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_l2.h
diff options
context:
space:
mode:
authorJulian Wiedmann2018-07-11 17:42:43 +0200
committerDavid S. Miller2018-07-13 01:42:39 +0200
commit09960b3a0a474f420894d88ae2e6f09ee4c60f9c (patch)
tree89fd94ce5cd028cdfd58e390e19dfb15869abb7a /drivers/s390/net/qeth_l2.h
parents390/qeth: consolidate ccwgroup driver definition (diff)
downloadkernel-qcow2-linux-09960b3a0a474f420894d88ae2e6f09ee4c60f9c.tar.gz
kernel-qcow2-linux-09960b3a0a474f420894d88ae2e6f09ee4c60f9c.tar.xz
kernel-qcow2-linux-09960b3a0a474f420894d88ae2e6f09ee4c60f9c.zip
s390/qeth: clean up exported symbols
Remove some redundant EXPORTs. While at it, also move some L2-only prototypes into the proper header file. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l2.h')
-rw-r--r--drivers/s390/net/qeth_l2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l2.h b/drivers/s390/net/qeth_l2.h
index f2130051ca11..ddc615b431a8 100644
--- a/drivers/s390/net/qeth_l2.h
+++ b/drivers/s390/net/qeth_l2.h
@@ -14,6 +14,11 @@ extern const struct attribute_group *qeth_l2_attr_groups[];
int qeth_l2_create_device_attributes(struct device *);
void qeth_l2_remove_device_attributes(struct device *);
void qeth_l2_setup_bridgeport_attrs(struct qeth_card *card);
+int qeth_bridgeport_query_ports(struct qeth_card *card,
+ enum qeth_sbp_roles *role,
+ enum qeth_sbp_states *state);
+int qeth_bridgeport_setrole(struct qeth_card *card, enum qeth_sbp_roles role);
+int qeth_bridgeport_an_set(struct qeth_card *card, int enable);
int qeth_l2_vnicc_set_state(struct qeth_card *card, u32 vnicc, bool state);
int qeth_l2_vnicc_get_state(struct qeth_card *card, u32 vnicc, bool *state);