diff options
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_main.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx.h b/drivers/net/wireless/bcm43xx/bcm43xx.h index 4168b1a807ef..7e3f4b878c81 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx.h +++ b/drivers/net/wireless/bcm43xx/bcm43xx.h | |||
@@ -503,8 +503,6 @@ struct bcm43xx_sprominfo { | |||
503 | u8 et1macaddr[6]; | 503 | u8 et1macaddr[6]; |
504 | u8 et0phyaddr:5; | 504 | u8 et0phyaddr:5; |
505 | u8 et1phyaddr:5; | 505 | u8 et1phyaddr:5; |
506 | u8 et0mdcport:1; | ||
507 | u8 et1mdcport:1; | ||
508 | u8 boardrev; | 506 | u8 boardrev; |
509 | u8 locale:4; | 507 | u8 locale:4; |
510 | u8 antennas_aphy:2; | 508 | u8 antennas_aphy:2; |
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c index 63fc16f6e584..18a342119fe8 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c | |||
@@ -851,8 +851,6 @@ static int bcm43xx_sprom_extract(struct bcm43xx_private *bcm) | |||
851 | value = sprom[BCM43xx_SPROM_ETHPHY]; | 851 | value = sprom[BCM43xx_SPROM_ETHPHY]; |
852 | bcm->sprom.et0phyaddr = (value & 0x001F); | 852 | bcm->sprom.et0phyaddr = (value & 0x001F); |
853 | bcm->sprom.et1phyaddr = (value & 0x03E0) >> 5; | 853 | bcm->sprom.et1phyaddr = (value & 0x03E0) >> 5; |
854 | bcm->sprom.et0mdcport = (value & (1 << 14)) >> 14; | ||
855 | bcm->sprom.et1mdcport = (value & (1 << 15)) >> 15; | ||
856 | 854 | ||
857 | /* boardrev, antennas, locale */ | 855 | /* boardrev, antennas, locale */ |
858 | value = sprom[BCM43xx_SPROM_BOARDREV]; | 856 | value = sprom[BCM43xx_SPROM_BOARDREV]; |