From: Larry Finger Date: Wed, 20 Aug 2008 22:45:06 +0000 (-0500) Subject: ssb: Clean up extraction of MAC addresses from SPROM X-Git-Tag: v2.6.28-rc1~717^2~384^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31ce12fb3ebf88b054deb99ad729e84888bf6125;p=pandora-kernel.git ssb: Clean up extraction of MAC addresses from SPROM Only rev 1 and 2 ssb SPROMs have fields named et0mac and et1mac; however, all of the extraction routines extract pseudo data for these fields from regions that are all 1's resulting in a hardware address of FF:FF:FF:FF:FF:FF. This patch forces such a fill at the beginning of the data extraction process, and only does the formal extraction if the SPROM rev is 1 or 2. Signed-off-by: Larry Finger Signed-off-by: John W. Linville --- Reading git-diff-tree failed