aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-08-09 14:48:00 +0200
committerDavid S. Miller <davem@davemloft.net>2018-08-09 14:02:50 -0700
commit45ca2fd64682cd1ea14b480fbb4b38b601ac123b (patch)
treeea3801076dd32101931c8de580ffdd29028a7922 /drivers/s390/net/qeth_core.h
parents390/qeth: reduce hard-coded access to ccw channels (diff)
downloadlinux-dev-45ca2fd64682cd1ea14b480fbb4b38b601ac123b.tar.xz
linux-dev-45ca2fd64682cd1ea14b480fbb4b38b601ac123b.zip
s390/qeth: use qeth_setup_ccw() to set up all CCWs
Re-work the helper a little bit, so that it can be used for all CCWs that qeth issues. 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_core.h')
-rw-r--r--drivers/s390/net/qeth_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h
index 24e4f31a0f36..9a700a618b3d 100644
--- a/drivers/s390/net/qeth_core.h
+++ b/drivers/s390/net/qeth_core.h
@@ -235,6 +235,8 @@ static inline int qeth_is_ipa_enabled(struct qeth_ipa_info *ipa,
#define QETH_IDX_FUNC_LEVEL_IQD 0x4108
#define QETH_BUFSIZE 4096
+#define CCW_CMD_WRITE 0x01
+#define CCW_CMD_READ 0x02
/**
* some more defs