aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ethernet/8390/mac8390.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/ethernet/8390/mac8390.c b/drivers/net/ethernet/8390/mac8390.c
index 90e825e8abfe..65cf60f6718c 100644
--- a/drivers/net/ethernet/8390/mac8390.c
+++ b/drivers/net/ethernet/8390/mac8390.c
@@ -178,10 +178,8 @@ static enum mac8390_type __init mac8390_ident(struct nubus_dev *dev)
178 case NUBUS_DRHW_APPLE_SONIC_LC: 178 case NUBUS_DRHW_APPLE_SONIC_LC:
179 case NUBUS_DRHW_SONNET: 179 case NUBUS_DRHW_SONNET:
180 return MAC8390_NONE; 180 return MAC8390_NONE;
181 break;
182 default: 181 default:
183 return MAC8390_APPLE; 182 return MAC8390_APPLE;
184 break;
185 } 183 }
186 break; 184 break;
187 185
@@ -189,13 +187,10 @@ static enum mac8390_type __init mac8390_ident(struct nubus_dev *dev)
189 switch (dev->dr_hw) { 187 switch (dev->dr_hw) {
190 case NUBUS_DRHW_ASANTE_LC: 188 case NUBUS_DRHW_ASANTE_LC:
191 return MAC8390_NONE; 189 return MAC8390_NONE;
192 break;
193 case NUBUS_DRHW_CABLETRON: 190 case NUBUS_DRHW_CABLETRON:
194 return MAC8390_CABLETRON; 191 return MAC8390_CABLETRON;
195 break;
196 default: 192 default:
197 return MAC8390_APPLE; 193 return MAC8390_APPLE;
198 break;
199 } 194 }
200 break; 195 break;
201 196
@@ -220,10 +215,8 @@ static enum mac8390_type __init mac8390_ident(struct nubus_dev *dev)
220 switch (dev->dr_hw) { 215 switch (dev->dr_hw) {
221 case NUBUS_DRHW_INTERLAN: 216 case NUBUS_DRHW_INTERLAN:
222 return MAC8390_INTERLAN; 217 return MAC8390_INTERLAN;
223 break;
224 default: 218 default:
225 return MAC8390_KINETICS; 219 return MAC8390_KINETICS;
226 break;
227 } 220 }
228 break; 221 break;
229 222
@@ -563,7 +556,6 @@ static int __init mac8390_initdev(struct net_device *dev,
563 case ACCESS_UNKNOWN: 556 case ACCESS_UNKNOWN:
564 pr_err("Don't know how to access card memory!\n"); 557 pr_err("Don't know how to access card memory!\n");
565 return -ENODEV; 558 return -ENODEV;
566 break;
567 559
568 case ACCESS_16: 560 case ACCESS_16:
569 /* 16 bit card, register map is reversed */ 561 /* 16 bit card, register map is reversed */