1. 09 9月, 2009 2 次提交
  2. 22 11月, 2008 1 次提交
    • K
      ssb: struct device - replace bus_id with dev_name(), dev_set_name() · b7b05fe7
      Kay Sievers 提交于
      This patch is part of a larger patch series which will remove
      the "char bus_id[20]" name string from struct device. The device
      name is managed in the kobject anyway, and without any size
      limitation, and just needlessly copied into "struct device".
      
      To set and read the device name dev_name(dev) and dev_set_name(dev)
      must be used. If your code uses static kobjects, which it shouldn't
      do, "const char *init_name" can be used to statically provide the
      name the registered device should have. At registration time, the
      init_name field is cleared, to enforce the use of dev_name(dev) to
      access the device name at a later time.
      
      We need to get rid of all occurrences of bus_id in the entire tree
      to be able to enable the new interface. Please apply this patch,
      and possibly convert any remaining remaining occurrences of bus_id.
      
      We want to submit a patch to -next, which will remove bus_id from
      "struct device", to find the remaining pieces to convert, and finally
      switch over to the new api, which will remove the 20 bytes array
      and does no longer have a size limitation.
      
      CC: Michael Buesch <mb@bu3sch.de>
      Acked-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Signed-Off-By: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b7b05fe7
  3. 27 9月, 2008 1 次提交
  4. 18 8月, 2008 1 次提交
  5. 27 6月, 2008 1 次提交
  6. 14 6月, 2008 1 次提交
  7. 16 4月, 2008 1 次提交
    • M
      ssb: Fix usage of struct device used for DMAing · 4ac58469
      Michael Buesch 提交于
      This fixes DMA on architectures where DMA is nontrivial, like PPC64.
      We must use the host-device's (PCI) struct device for any DMA
      operation instead of the SSB device. For this we add a new
      struct device pointer to the SSB device structure that will always
      point to the right device for DMAing.
      
      Without this patch b43 and b44 drivers won't work on complex-DMA
      architectures, that for example need dev->archdata for DMA operations.
      Signed-off-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4ac58469
  8. 09 4月, 2008 4 次提交
  9. 08 4月, 2008 1 次提交
  10. 14 3月, 2008 1 次提交
  11. 07 3月, 2008 1 次提交
  12. 01 3月, 2008 1 次提交
  13. 21 2月, 2008 2 次提交
  14. 29 1月, 2008 1 次提交
    • 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
  15. 11 11月, 2007 2 次提交
  16. 14 10月, 2007 2 次提交
  17. 11 10月, 2007 1 次提交