ssb: Convert to use of the new SPROM structure
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 9 Nov 2007 22:56:25 +0000 (16:56 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:04:41 +0000 (15:04 -0800)
commitc272ef4403c271799a7f09a4ab7a236c86643843
tree8f2baf9c11159044b42233cea56aa5a62dcd7500
parentac82fab44f6b981e3f6b53784e2f23838f4908e1
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>
drivers/ssb/b43_pci_bridge.c
drivers/ssb/main.c
drivers/ssb/pci.c
include/linux/ssb/ssb.h
include/linux/ssb/ssb_regs.h