Allow a GPHY to have revision 8. Issue a warning instead of giving up when dealing with an unknown core revision.
Signed-off-by: Stefano Brivio <[EMAIL PROTECTED]> Index: wireless-dev/drivers/net/wireless/bcm43xx/bcm43xx_main.c =================================================================== --- wireless-dev.orig/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ wireless-dev/drivers/net/wireless/bcm43xx/bcm43xx_main.c @@ -2717,10 +2717,9 @@ static int bcm43xx_probe_cores(struct bc case 10: break; default: - printk(KERN_ERR PFX "Error: Unsupported 80211 core revision %u\n", + printk(KERN_WARNING PFX + "Unsupported 80211 core revision %u\n", core_rev); - err = -ENODEV; - goto out; } bcm->nr_80211_available++; bcm43xx_init_struct_phyinfo(&ext_80211->phy); @@ -3377,7 +3376,7 @@ static int bcm43xx_read_phyinfo(struct b bcm->ieee->freq_band = IEEE80211_24GHZ_BAND; break; case BCM43xx_PHYTYPE_G: - if (phy_rev > 7) + if (phy_rev > 8) phy_rev_ok = 0; bcm->ieee->modulation = IEEE80211_OFDM_MODULATION | IEEE80211_CCK_MODULATION; -- Ciao Stefano - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html