diff options
Diffstat (limited to 'drivers/net/ethernet/dec/tulip/de4x5.c')
| -rw-r--r-- | drivers/net/ethernet/dec/tulip/de4x5.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c index a31b4df3e7ff..66535d1653f6 100644 --- a/drivers/net/ethernet/dec/tulip/de4x5.c +++ b/drivers/net/ethernet/dec/tulip/de4x5.c | |||
| @@ -3204,6 +3204,8 @@ srom_map_media(struct net_device *dev) | |||
| 3204 | case SROM_10BASETF: | 3204 | case SROM_10BASETF: |
| 3205 | if (!lp->params.fdx) return -1; | 3205 | if (!lp->params.fdx) return -1; |
| 3206 | lp->fdx = true; | 3206 | lp->fdx = true; |
| 3207 | /* fall through */ | ||
| 3208 | |||
| 3207 | case SROM_10BASET: | 3209 | case SROM_10BASET: |
| 3208 | if (lp->params.fdx && !lp->fdx) return -1; | 3210 | if (lp->params.fdx && !lp->fdx) return -1; |
| 3209 | if ((lp->chipset == DC21140) || ((lp->chipset & ~0x00ff) == DC2114x)) { | 3211 | if ((lp->chipset == DC21140) || ((lp->chipset & ~0x00ff) == DC2114x)) { |
| @@ -3224,6 +3226,8 @@ srom_map_media(struct net_device *dev) | |||
| 3224 | case SROM_100BASETF: | 3226 | case SROM_100BASETF: |
| 3225 | if (!lp->params.fdx) return -1; | 3227 | if (!lp->params.fdx) return -1; |
| 3226 | lp->fdx = true; | 3228 | lp->fdx = true; |
| 3229 | /* fall through */ | ||
| 3230 | |||
| 3227 | case SROM_100BASET: | 3231 | case SROM_100BASET: |
| 3228 | if (lp->params.fdx && !lp->fdx) return -1; | 3232 | if (lp->params.fdx && !lp->fdx) return -1; |
| 3229 | lp->media = _100Mb; | 3233 | lp->media = _100Mb; |
| @@ -3236,6 +3240,8 @@ srom_map_media(struct net_device *dev) | |||
| 3236 | case SROM_100BASEFF: | 3240 | case SROM_100BASEFF: |
| 3237 | if (!lp->params.fdx) return -1; | 3241 | if (!lp->params.fdx) return -1; |
| 3238 | lp->fdx = true; | 3242 | lp->fdx = true; |
| 3243 | /* fall through */ | ||
| 3244 | |||
| 3239 | case SROM_100BASEF: | 3245 | case SROM_100BASEF: |
| 3240 | if (lp->params.fdx && !lp->fdx) return -1; | 3246 | if (lp->params.fdx && !lp->fdx) return -1; |
| 3241 | lp->media = _100Mb; | 3247 | lp->media = _100Mb; |
