Skip to content

Commit 2eee32a

Browse files
committed
Merge branch 's390-qeth-next'
Julian Wiedmann says: ==================== s390/qeth: updates 2018-08-09 one more set of patches for net-next. This is all sorts of cleanups and more refactoring on the way to using netdev_priv. Please apply. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
2 parents a736e07 + 1a363b0 commit 2eee32a

6 files changed

Lines changed: 98 additions & 144 deletions

File tree

‎drivers/s390/net/qeth_core.h‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ static inline int qeth_is_ipa_enabled(struct qeth_ipa_info *ipa,
235235
#define QETH_IDX_FUNC_LEVEL_IQD 0x4108
236236

237237
#define QETH_BUFSIZE 4096
238+
#define CCW_CMD_WRITE 0x01
239+
#define CCW_CMD_READ 0x02
238240

239241
/**
240242
* some more defs
@@ -592,7 +594,7 @@ static inline struct qeth_ipa_cmd *__ipa_cmd(struct qeth_cmd_buffer *iob)
592594
*/
593595
struct qeth_channel {
594596
enum qeth_channel_states state;
595-
struct ccw1 ccw;
597+
struct ccw1 *ccw;
596598
spinlock_t iob_lock;
597599
wait_queue_head_t wait_q;
598600
struct ccw_device *ccwdev;
@@ -998,7 +1000,7 @@ void qeth_tx_timeout(struct net_device *);
9981000
void qeth_prepare_control_data(struct qeth_card *, int,
9991001
struct qeth_cmd_buffer *);
10001002
void qeth_release_buffer(struct qeth_channel *, struct qeth_cmd_buffer *);
1001-
void qeth_prepare_ipa_cmd(struct qeth_card *, struct qeth_cmd_buffer *, char);
1003+
void qeth_prepare_ipa_cmd(struct qeth_card *card, struct qeth_cmd_buffer *iob);
10021004
struct qeth_cmd_buffer *qeth_wait_for_buffer(struct qeth_channel *);
10031005
int qeth_query_switch_attributes(struct qeth_card *card,
10041006
struct qeth_switch_info *sw_info);

0 commit comments

Comments
 (0)