git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s390/qeth: fix SETIP command handling
[pandora-kernel.git]
/
drivers
/
s390
/
net
/
qeth_core.h
diff --git
a/drivers/s390/net/qeth_core.h
b/drivers/s390/net/qeth_core.h
index
4abc79d
..
be1d5b5
100644
(file)
--- a/
drivers/s390/net/qeth_core.h
+++ b/
drivers/s390/net/qeth_core.h
@@
-578,6
+578,11
@@
struct qeth_cmd_buffer {
void (*callback) (struct qeth_channel *, struct qeth_cmd_buffer *);
};
void (*callback) (struct qeth_channel *, struct qeth_cmd_buffer *);
};
+static inline struct qeth_ipa_cmd *__ipa_cmd(struct qeth_cmd_buffer *iob)
+{
+ return (struct qeth_ipa_cmd *)(iob->data + IPA_PDU_HEADER_SIZE);
+}
+
/**
* definition of a qeth channel, used for read and write
*/
/**
* definition of a qeth channel, used for read and write
*/