mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 13:13:57 +08:00
s390/qdio: move SSQD Sniffer mask definition
Put the Sniffer bit next to all the other CHSC AC2 bits. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Steffen Maier <maier@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
4f84b38351
commit
1917b47dc2
@ -276,6 +276,7 @@ struct qdio_outbuf_state {
|
||||
#define CHSC_AC2_MULTI_BUFFER_AVAILABLE 0x0080
|
||||
#define CHSC_AC2_MULTI_BUFFER_ENABLED 0x0040
|
||||
#define CHSC_AC2_DATA_DIV_AVAILABLE 0x0010
|
||||
#define CHSC_AC2_SNIFFER_AVAILABLE 0x0008
|
||||
#define CHSC_AC2_DATA_DIV_ENABLED 0x0002
|
||||
|
||||
#define CHSC_AC3_FORMAT2_CQ_AVAILABLE 0x8000
|
||||
|
@ -13,8 +13,6 @@
|
||||
#include "qeth_core.h"
|
||||
#include <linux/hashtable.h>
|
||||
|
||||
#define QETH_SNIFF_AVAIL 0x0008
|
||||
|
||||
enum qeth_ip_types {
|
||||
QETH_IP_TYPE_NORMAL,
|
||||
QETH_IP_TYPE_VIPA,
|
||||
|
@ -228,7 +228,7 @@ static ssize_t qeth_l3_dev_sniffer_store(struct device *dev,
|
||||
break;
|
||||
case 1:
|
||||
qdio_get_ssqd_desc(CARD_DDEV(card), &card->ssqd);
|
||||
if (card->ssqd.qdioac2 & QETH_SNIFF_AVAIL) {
|
||||
if (card->ssqd.qdioac2 & CHSC_AC2_SNIFFER_AVAILABLE) {
|
||||
card->options.sniffer = i;
|
||||
if (card->qdio.init_pool.buf_count !=
|
||||
QETH_IN_BUF_COUNT_MAX)
|
||||
|
Loading…
Reference in New Issue
Block a user