summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_l2_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_l2_main.c
parent51363b8751a673a00ad48eea895266396d53fa52 (diff)
downloadblackbird-op-linux-c3ab96f36aa308fa5bf432d5a4dafc80b7373805.tar.gz
blackbird-op-linux-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_l2_main.c')
-rw-r--r--drivers/s390/net/qeth_l2_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c
index c12967133114..e5c9cf15e5c6 100644
--- a/drivers/s390/net/qeth_l2_main.c
+++ b/drivers/s390/net/qeth_l2_main.c
@@ -75,6 +75,9 @@ static int qeth_l2_do_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
mii_data->val_out = qeth_mdio_read(dev,
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;
}
OpenPOWER on IntegriCloud