aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ssb/ssb.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2007-11-09 17:56:25 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:04:41 -0500
commitc272ef4403c271799a7f09a4ab7a236c86643843 (patch)
tree8f2baf9c11159044b42233cea56aa5a62dcd7500 /include/linux/ssb/ssb.h
parentac82fab44f6b981e3f6b53784e2f23838f4908e1 (diff)
ssb: Convert to use of the new SPROM structure
In disagreement with the SPROM specs, revision 3 devices appear to have moved the MAC address. Change ssb to handle the revision 4 SPROM, which is a different size. This change in size is handled by adding a new variable to the ssb_sprom struct and using it whenever possible. For those routines that do not have access to this structure, a 'u16 size' argument is added. The new PCI_ID for the BCM4328 is also added. Testing of the Revision 4 SPROM, which is used on the BCM4328, was done by Michael Gerdau <mgerdau@tiscali.de>. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/ssb/ssb.h')
-rw-r--r--include/linux/ssb/ssb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ssb/ssb.h b/include/linux/ssb/ssb.h
index cdd8a2fd4a69..745de2aac85f 100644
--- a/include/linux/ssb/ssb.h
+++ b/include/linux/ssb/ssb.h
@@ -308,6 +308,7 @@ struct ssb_bus {
308 /* ID information about the Chip. */ 308 /* ID information about the Chip. */
309 u16 chip_id; 309 u16 chip_id;
310 u16 chip_rev; 310 u16 chip_rev;
311 u16 sprom_size; /* number of words in sprom */
311 u8 chip_package; 312 u8 chip_package;
312 313
313 /* List of devices (cores) on the backplane. */ 314 /* List of devices (cores) on the backplane. */