diff options
author | Stefan Raspl <raspl@linux.vnet.ibm.com> | 2012-11-18 21:46:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-19 14:19:00 -0500 |
commit | 7096b187396e8e329c5f6d296441b7b3328f75f0 (patch) | |
tree | 36c29cf2d8e0d19bc20d31946e22f69646214398 /drivers/s390/net | |
parent | 569743e49364bbf48937c39cb86a2aaf191828d7 (diff) |
qeth: Clarify card type naming for virtual NICs
So far, virtual NICs whether attached to a VSWITCH or a guest LAN were always
displayed as guest LANs in the device driver attributes and messages, while
in fact it is a virtual NIC.
Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Reviewed-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 89f6948d93ef..af313bf7645b 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c | |||
@@ -73,13 +73,13 @@ static inline const char *qeth_get_cardname(struct qeth_card *card) | |||
73 | if (card->info.guestlan) { | 73 | if (card->info.guestlan) { |
74 | switch (card->info.type) { | 74 | switch (card->info.type) { |
75 | case QETH_CARD_TYPE_OSD: | 75 | case QETH_CARD_TYPE_OSD: |
76 | return " Guest LAN QDIO"; | 76 | return " Virtual NIC QDIO"; |
77 | case QETH_CARD_TYPE_IQD: | 77 | case QETH_CARD_TYPE_IQD: |
78 | return " Guest LAN Hiper"; | 78 | return " Virtual NIC Hiper"; |
79 | case QETH_CARD_TYPE_OSM: | 79 | case QETH_CARD_TYPE_OSM: |
80 | return " Guest LAN QDIO - OSM"; | 80 | return " Virtual NIC QDIO - OSM"; |
81 | case QETH_CARD_TYPE_OSX: | 81 | case QETH_CARD_TYPE_OSX: |
82 | return " Guest LAN QDIO - OSX"; | 82 | return " Virtual NIC QDIO - OSX"; |
83 | default: | 83 | default: |
84 | return " unknown"; | 84 | return " unknown"; |
85 | } | 85 | } |
@@ -108,13 +108,13 @@ const char *qeth_get_cardname_short(struct qeth_card *card) | |||
108 | if (card->info.guestlan) { | 108 | if (card->info.guestlan) { |
109 | switch (card->info.type) { | 109 | switch (card->info.type) { |
110 | case QETH_CARD_TYPE_OSD: | 110 | case QETH_CARD_TYPE_OSD: |
111 | return "GuestLAN QDIO"; | 111 | return "Virt.NIC QDIO"; |
112 | case QETH_CARD_TYPE_IQD: | 112 | case QETH_CARD_TYPE_IQD: |
113 | return "GuestLAN Hiper"; | 113 | return "Virt.NIC Hiper"; |
114 | case QETH_CARD_TYPE_OSM: | 114 | case QETH_CARD_TYPE_OSM: |
115 | return "GuestLAN OSM"; | 115 | return "Virt.NIC OSM"; |
116 | case QETH_CARD_TYPE_OSX: | 116 | case QETH_CARD_TYPE_OSX: |
117 | return "GuestLAN OSX"; | 117 | return "Virt.NIC OSX"; |
118 | default: | 118 | default: |
119 | return "unknown"; | 119 | return "unknown"; |
120 | } | 120 | } |