aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net
diff options
context:
space:
mode:
authorEugene Crosser <Eugene.Crosser@ru.ibm.com>2016-06-16 10:18:51 -0400
committerDavid S. Miller <davem@davemloft.net>2016-06-17 01:16:11 -0400
commit1b05cf6285c108c8c2acfec47dd02ed50d973823 (patch)
tree10432c9dcde30718389c166f15143313cef7288a /drivers/s390/net
parent318d3cc04e8e42b3b138f7dea2297290636fad7d (diff)
qeth: Include error message for "OS Mismatch"
Having understood the semantics of BRIDGEPORT error code 0x0010, we can introduce a meaningful error message. Signed-off-by: Eugene Crosser <Eugene.Crosser@ru.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r--drivers/s390/net/qeth_l2_main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c
index 80b1979e8d95..faab0b669ca4 100644
--- a/drivers/s390/net/qeth_l2_main.c
+++ b/drivers/s390/net/qeth_l2_main.c
@@ -1800,6 +1800,12 @@ static int qeth_bridgeport_makerc(struct qeth_card *card,
1800 dev_err(&card->gdev->dev, 1800 dev_err(&card->gdev->dev,
1801 "The device is not configured as a Bridge Port\n"); 1801 "The device is not configured as a Bridge Port\n");
1802 break; 1802 break;
1803 case 0x2B10:
1804 case 0x0010: /* OS mismatch */
1805 rc = -EPERM;
1806 dev_err(&card->gdev->dev,
1807 "A Bridge Port is already configured by a different operating system\n");
1808 break;
1803 case 0x2B14: 1809 case 0x2B14:
1804 case 0x0014: /* Another device is Primary */ 1810 case 0x0014: /* Another device is Primary */
1805 switch (setcmd) { 1811 switch (setcmd) {