aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dl2k.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/dl2k.c')
-rw-r--r--drivers/net/dl2k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/dl2k.c b/drivers/net/dl2k.c
index a2f1860fdd16..2a8b6a7c0b87 100644
--- a/drivers/net/dl2k.c
+++ b/drivers/net/dl2k.c
@@ -163,8 +163,8 @@ rio_probe1 (struct pci_dev *pdev, const struct pci_device_id *ent)
163 strcmp (media[card_idx], "4") == 0) { 163 strcmp (media[card_idx], "4") == 0) {
164 np->speed = 100; 164 np->speed = 100;
165 np->full_duplex = 1; 165 np->full_duplex = 1;
166 } else if (strcmp (media[card_idx], "100mbps_hd") == 0 166 } else if (strcmp (media[card_idx], "100mbps_hd") == 0 ||
167 || strcmp (media[card_idx], "3") == 0) { 167 strcmp (media[card_idx], "3") == 0) {
168 np->speed = 100; 168 np->speed = 100;
169 np->full_duplex = 0; 169 np->full_duplex = 0;
170 } else if (strcmp (media[card_idx], "10mbps_fd") == 0 || 170 } else if (strcmp (media[card_idx], "10mbps_fd") == 0 ||