Commit a76a574c authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

ssb: drop BCM4328 hack for SPROM revision

This hacks leads to incorrect SPROM parsing for me and reading for example MAC
as: 00:00:00:54:00:00. Michael G. who introduced this confirmed it is not
needed anymore.
Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Tested-by: default avatarMichael Gerdau <mgd@qata.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent aaa13ca2
...@@ -580,10 +580,6 @@ static int sprom_extract(struct ssb_bus *bus, struct ssb_sprom *out, ...@@ -580,10 +580,6 @@ static int sprom_extract(struct ssb_bus *bus, struct ssb_sprom *out,
* Always extract r1. */ * Always extract r1. */
out->revision = 1; out->revision = 1;
ssb_dprintk(KERN_DEBUG PFX "SPROM treated as revision %d\n", out->revision); ssb_dprintk(KERN_DEBUG PFX "SPROM treated as revision %d\n", out->revision);
} else if (bus->chip_id == 0x4321) {
/* the BCM4328 has a chipid == 0x4321 and a rev 4 SPROM */
out->revision = 4;
ssb_dprintk(KERN_DEBUG PFX "SPROM treated as revision %d\n", out->revision);
} }
switch (out->revision) { switch (out->revision) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment