summaryrefslogtreecommitdiff
path: root/drivers/s390/net/qeth_l3_main.c
diff options
context:
space:
mode:
authorFrank Blaschka <frank.blaschka@de.ibm.com>2012-02-08 00:19:49 +0000
committerDavid S. Miller <davem@davemloft.net>2012-02-08 18:50:20 -0500
commitc3ab96f36aa308fa5bf432d5a4dafc80b7373805 (patch)
tree8ab0bb57340bf267fd6921b8f8db008b1b352cbd /drivers/s390/net/qeth_l3_main.c
parent51363b8751a673a00ad48eea895266396d53fa52 (diff)
downloadlinux-3.10-c3ab96f36aa308fa5bf432d5a4dafc80b7373805.tar.gz
linux-3.10-c3ab96f36aa308fa5bf432d5a4dafc80b7373805.tar.bz2
linux-3.10-c3ab96f36aa308fa5bf432d5a4dafc80b7373805.zip
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 'drivers/s390/net/qeth_l3_main.c')
-rw-r--r--drivers/s390/net/qeth_l3_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c
index 25cd3799a76..73bf8889984 100644
--- a/drivers/s390/net/qeth_l3_main.c
+++ b/drivers/s390/net/qeth_l3_main.c
@@ -2745,6 +2745,9 @@ static int qeth_l3_do_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
mii_data->phy_id,
mii_data->reg_num);
break;
+ case SIOC_QETH_QUERY_OAT:
+ rc = qeth_query_oat_command(card, rq->ifr_ifru.ifru_data);
+ break;
default:
rc = -EOPNOTSUPP;
}