summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_l2.h
diff options
context:
space:
mode:
authorEugene Crosser2014-01-14 15:54:11 +0100
committerDavid S. Miller2014-01-15 23:48:01 +0100
commitb4d72c08b358fc5b259fad0f4971112d949efd1c (patch)
treef2bcd879d3957e353e3c7d61a91b5d1a594d7db8 /drivers/s390/net/qeth_l2.h
parentneigh: split lines for NEIGH_VAR_SET so they are not too long (diff)
downloadkernel-qcow2-linux-b4d72c08b358fc5b259fad0f4971112d949efd1c.tar.gz
kernel-qcow2-linux-b4d72c08b358fc5b259fad0f4971112d949efd1c.tar.xz
kernel-qcow2-linux-b4d72c08b358fc5b259fad0f4971112d949efd1c.zip
qeth: bridgeport support - basic control
Introduce functions to assign roles and check state of bridgeport-capable HiperSocket devices, and sysfs attributes providing access to these functions from userspace. Introduce udev events emitted when the state of a bridgeport device changes. Signed-off-by: Eugene Crosser <eugene.crosser@ru.ibm.com> Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Reviewed-by: Ursula Braun <ursula.braun@de.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.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l2.h b/drivers/s390/net/qeth_l2.h
new file mode 100644
index 000000000000..0767556404bd
--- /dev/null
+++ b/drivers/s390/net/qeth_l2.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright IBM Corp. 2013
+ * Author(s): Eugene Crosser <eugene.crosser@ru.ibm.com>
+ */
+
+#ifndef __QETH_L2_H__
+#define __QETH_L2_H__
+
+#include "qeth_core.h"
+
+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);
+
+#endif /* __QETH_L2_H__ */