1. 29 1月, 2008 2 次提交
    • L
      ssb: Convert to use of the new SPROM structure · c272ef44
      Larry Finger 提交于
      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: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      c272ef44
    • L
      ssb: Add new SPROM structure while keeping the old · ac82fab4
      Larry Finger 提交于
      The SPROM's for various devices utilizing the Sonics Silicon Backplane come
      with various revisions. The Revision 2 SPROM inherited the data layout of 1, and
      Revision 3 inherited the layout of 2. The first instance of Revision 4 has
      now been found in a BCM4328 wireless LAN card. This device does not inherit any
      layout from previous versions. Although it was possible to create a data
      structure that kept all the old layouts, we decided to start fresh, keep only
      those SPROM variables that are used by the drivers that utilize ssb, and to
      do the conversion in such a manner that neither compilation or execution will
      be affected if a bisection lands in the middle of these changes, while keeping
      the patches as small as possible.
      
      In this patch, the sprom structures are changed while maintaining the old ones.
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ac82fab4
  2. 11 10月, 2007 3 次提交