Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bcma: support SPROM rev 11

Rev 11 works fine for me to set the MAC address of gmac0 and
gmac1 in the D-Link DWL-8610AP.

Cc: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221011122941.2053705-1-linus.walleij@linaro.org

authored by

Linus Walleij and committed by
Kalle Valo
80bc5ae9 b5db4ef3

+1 -1
+1 -1
drivers/bcma/sprom.c
··· 165 165 return err; 166 166 167 167 revision = sprom[words - 1] & SSB_SPROM_REVISION_REV; 168 - if (revision != 8 && revision != 9 && revision != 10) { 168 + if (revision < 8 || revision > 11) { 169 169 pr_err("Unsupported SPROM revision: %d\n", revision); 170 170 return -ENOENT; 171 171 }