diff options
author | Frank Blaschka <frank.blaschka@de.ibm.com> | 2012-02-08 01:19:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-09 00:50:20 +0100 |
commit | c3ab96f36aa308fa5bf432d5a4dafc80b7373805 (patch) | |
tree | 8ab0bb57340bf267fd6921b8f8db008b1b352cbd /drivers/s390/net/qeth_l2_main.c | |
parent | af_iucv: allow retrieval of maximum message size (diff) | |
download | linux-c3ab96f36aa308fa5bf432d5a4dafc80b7373805.tar.xz 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.c | 3 |
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; } |