diff options
author | Frank Blaschka <frank.blaschka@de.ibm.com> | 2012-02-07 19:19:49 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-08 18:50:20 -0500 |
commit | c3ab96f36aa308fa5bf432d5a4dafc80b7373805 (patch) | |
tree | 8ab0bb57340bf267fd6921b8f8db008b1b352cbd /arch/s390/include | |
parent | 51363b8751a673a00ad48eea895266396d53fa52 (diff) |
qeth: add query OSA address table support
Add qeth device private ioctl to query the OSA address table.
This helps debugging hw related problems.
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/s390/include')
-rw-r--r-- | arch/s390/include/asm/qeth.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/s390/include/asm/qeth.h b/arch/s390/include/asm/qeth.h index 90efda0b137d..2c7c898c03e4 100644 --- a/arch/s390/include/asm/qeth.h +++ b/arch/s390/include/asm/qeth.h | |||
@@ -20,6 +20,7 @@ | |||
20 | #define SIOC_QETH_ARP_FLUSH_CACHE (SIOCDEVPRIVATE + 4) | 20 | #define SIOC_QETH_ARP_FLUSH_CACHE (SIOCDEVPRIVATE + 4) |
21 | #define SIOC_QETH_ADP_SET_SNMP_CONTROL (SIOCDEVPRIVATE + 5) | 21 | #define SIOC_QETH_ADP_SET_SNMP_CONTROL (SIOCDEVPRIVATE + 5) |
22 | #define SIOC_QETH_GET_CARD_TYPE (SIOCDEVPRIVATE + 6) | 22 | #define SIOC_QETH_GET_CARD_TYPE (SIOCDEVPRIVATE + 6) |
23 | #define SIOC_QETH_QUERY_OAT (SIOCDEVPRIVATE + 7) | ||
23 | 24 | ||
24 | struct qeth_arp_cache_entry { | 25 | struct qeth_arp_cache_entry { |
25 | __u8 macaddr[6]; | 26 | __u8 macaddr[6]; |
@@ -107,4 +108,10 @@ struct qeth_arp_query_user_data { | |||
107 | char *entries; | 108 | char *entries; |
108 | } __attribute__((packed)); | 109 | } __attribute__((packed)); |
109 | 110 | ||
111 | struct qeth_query_oat_data { | ||
112 | __u32 command; | ||
113 | __u32 buffer_len; | ||
114 | __u32 response_len; | ||
115 | __u64 ptr; | ||
116 | }; | ||
110 | #endif /* __ASM_S390_QETH_IOCTL_H__ */ | 117 | #endif /* __ASM_S390_QETH_IOCTL_H__ */ |