Commit a76a574ca9ce7c05791cee42f000f2a42c687837

Authored by Rafał Miłecki
Committed by John W. Linville
1 parent aaa13ca242

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: Rafał Miłecki <zajec5@gmail.com>
Tested-by: Michael Gerdau <mgd@qata.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Showing 1 changed file with 0 additions and 4 deletions Side-by-side Diff

... ... @@ -580,10 +580,6 @@
580 580 * Always extract r1. */
581 581 out->revision = 1;
582 582 ssb_dprintk(KERN_DEBUG PFX "SPROM treated as revision %d\n", out->revision);
583   - } else if (bus->chip_id == 0x4321) {
584   - /* the BCM4328 has a chipid == 0x4321 and a rev 4 SPROM */
585   - out->revision = 4;
586   - ssb_dprintk(KERN_DEBUG PFX "SPROM treated as revision %d\n", out->revision);
587 583 }
588 584  
589 585 switch (out->revision) {