Skip to content
  1. Dec 19, 2011
  2. Nov 14, 2011
  3. Nov 08, 2011
  4. Oct 19, 2011
  5. Sep 22, 2011
  6. Aug 18, 2011
  7. Aug 11, 2011
    • Jeff Kirsher's avatar
      cassini/niu/sun*: Move the Sun drivers · e689cf4a
      Jeff Kirsher authored
      
      
      Moves the Sun drivers into drivers/net/ethernet/sun/ and make
      the necessary Kconfig and Makefile changes.
      
      Oliver Hartkopp <socketcan@hartkopp.net> suggested removing the
      sun* prefix on the driver names.  This type of change I will
      leave up to the driver maintainers.
      
      CC: Sam Creasey <sammy@sammy.net>
      CC: Adrian Sun <asun@darksunrising.com>
      CC: Benjamin Herrenscmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      e689cf4a
  8. Jul 08, 2011
  9. May 18, 2011
    • Grant Likely's avatar
      drivercore: revert addition of of_match to struct device · b1608d69
      Grant Likely authored
      
      
      Commit b826291c, "drivercore/dt: add a match table pointer to struct
      device" added an of_match pointer to struct device to cache the
      of_match_table entry discovered at driver match time.  This was unsafe
      because matching is not an atomic operation with probing a driver.  If
      two or more drivers are attempted to be matched to a driver at the
      same time, then the cached matching entry pointer could get
      overwritten.
      
      This patch reverts the of_match cache pointer and reworks all users to
      call of_match_device() directly instead.
      
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      b1608d69
  10. Apr 29, 2011
  11. Apr 02, 2011
  12. Feb 28, 2011
  13. Dec 16, 2010
  14. Sep 27, 2010
  15. Aug 25, 2010
  16. Aug 19, 2010
  17. Aug 06, 2010
  18. Jul 24, 2010
  19. Jun 28, 2010
    • Grant Likely's avatar
      sparc/of: Move of_device fields into struct pdev_archdata · 1636f8ac
      Grant Likely authored
      
      
      This patch moves SPARC architecture specific data members out of
      struct of_device and into the pdev_archdata structure.  The reason
      for this change is to unify the struct of_device definition amongst
      all the architectures.  It also remvoes the .sysdata, .slot, .portid
      and .clock_freq properties because they aren't actually used by
      anything.
      
      A subsequent patch will replace struct of_device entirely with struct
      platform_device and the of_platform support code will share common
      routines with the platform bus (but the bus instances themselves can
      remain separate).
      
      This patch also adds 'struct resources *resource' and num_resources
      to match the fields defined in struct platform_device.  After this
      change, 'struct platform_device' can be used as a drop-in replacement
      for 'struct of_platform'.
      
      This change is in preparation for merging the of_platform_bus_type
      with the platform_bus_type.
      
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      1636f8ac
  20. May 22, 2010
    • Grant Likely's avatar
      of: Remove duplicate fields from of_platform_driver · 4018294b
      Grant Likely authored
      
      
      .name, .match_table and .owner are duplicated in both of_platform_driver
      and device_driver.  This patch is a removes the extra copies from struct
      of_platform_driver and converts all users to the device_driver members.
      
      This patch is a pretty mechanical change.  The usage model doesn't change
      and if any drivers have been missed, or if anything has been fixed up
      incorrectly, then it will fail with a compile time error, and the fixup
      will be trivial.  This patch looks big and scary because it touches so
      many files, but it should be pretty safe.
      
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Acked-by: default avatarSean MacLennan <smaclennan@pikatech.com>
      4018294b
  21. May 18, 2010
  22. May 14, 2010
    • Joe Perches's avatar
      drivers/net: Remove unnecessary returns from void function()s · a4b77097
      Joe Perches authored
      
      
      This patch removes from drivers/net/ all the unnecessary
      return; statements that precede the last closing brace of
      void functions.
      
      It does not remove the returns that are immediately
      preceded by a label as gcc doesn't like that.
      
      It also does not remove null void functions with return.
      
      Done via:
      $ grep -rP --include=*.[ch] -l "return;\n}" net/ | \
        xargs perl -i -e 'local $/ ; while (<>) { s/\n[ \t\n]+return;\n}/\n}/g; print; }'
      
      with some cleanups by hand.
      
      Compile tested x86 allmodconfig only.
      
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a4b77097
  23. May 10, 2010
  24. May 07, 2010
  25. Apr 03, 2010
    • Jiri Pirko's avatar
      net: convert multicast list to list_head · 22bedad3
      Jiri Pirko authored
      
      
      Converts the list and the core manipulating with it to be the same as uc_list.
      
      +uses two functions for adding/removing mc address (normal and "global"
       variant) instead of a function parameter.
      +removes dev_mcast.c completely.
      +exposes netdev_hw_addr_list_* macros along with __hw_addr_* functions for
       manipulation with lists on a sandbox (used in bonding and 80211 drivers)
      
      Signed-off-by: default avatarJiri Pirko <jpirko@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      22bedad3
  26. Feb 18, 2010
  27. Feb 12, 2010
  28. Jan 08, 2010
  29. Dec 03, 2009
    • Joe Perches's avatar
      drivers/net: Move && and || to end of previous line · 8e95a202
      Joe Perches authored
      
      
      Only files where David Miller is the primary git-signer.
      wireless, wimax, ixgbe, etc are not modified.
      
      Compile tested x86 allyesconfig only
      Not all files compiled (not x86 compatible)
      
      Added a few > 80 column lines, which I ignored.
      Existing checkpatch complaints ignored.
      
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8e95a202
    • Mikulas Patocka's avatar
      sunhme: fix dma warning in Sun HME · ff236f7a
      Mikulas Patocka authored
      
      
      Fix dma-api-checking warnings in Sun HME
      
      Sun HME driver is mapping the first fragment with dma_map_single and subsequent
      fragments with dma_map_page. It is unmapping all fragments with dma_unmap_single
      and that produces the warning.
      
      This patch changes it so that it unmaps only the first fragment with
      dma_unmap_single and subsequent fragments are unmapped with dma_unmap_page.
      
      WARNING: at lib/dma-debug.c:816 check_unmap+0x3ac/0x780()
      hme 0000:01:01.1: DMA-API: device driver frees DMA memory with wrong function [device address=0x00000000c1082000] [size=32 bytes] [mapped as page] [unmapped as single]
      Modules linked in: nbd sunhme openpromfs sermouse unix
      Call Trace:
       [0000000000456910] warn_slowpath_common+0x50/0xa0
       [0000000000571f4c] check_unmap+0x3ac/0x780
       [0000000000572570] debug_dma_unmap_page+0x50/0x60
       [000000001002f5fc] happy_meal_tx+0x11c/0x260 [sunhme]
       [000000001002fc4c] happy_meal_interrupt+0xcc/0xe0 [sunhme]
       [0000000000492d94] handle_fasteoi_irq+0x74/0x100
       [000000000042ac0c] handler_irq+0xcc/0x100
       [0000000000426a54] valid_addr_bitmap_patch+0x14/0x1c0
       [0000000000665de0] _spin_unlock_irqrestore+0x40/0x60
       [0000000000462bb8] mod_timer+0x118/0x1a0
       [00000000005ec254] sk_reset_timer+0x14/0x40
       [0000000000635e4c] tcp_event_new_data_sent+0x8c/0xc0
       [0000000000639374] __tcp_push_pending_frames+0x34/0xc0
      ---[ end trace 73d5c42c1e9f11c4 ]---
      Mapped at:
       [<000000001002f148>] happy_meal_start_xmit+0x308/0x480 [sunhme]
       [<00000000005fc858>] dev_hard_start_xmit+0x318/0x3c0
       [<000000000060fec4>] sch_direct_xmit+0x1a4/0x200
       [<00000000005fced0>] dev_queue_xmit+0x410/0x560
       [<0000000000604a1c>] neigh_resolve_output+0xfc/0x300
      
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ff236f7a
  30. Nov 19, 2009
  31. Sep 01, 2009
  32. Jul 06, 2009
  33. Jun 13, 2009
  34. Mar 09, 2009
  35. Feb 11, 2009
    • Meelis Roos's avatar
      sunhme: Fix Quattro HME irq registration on proble failures · 7b7a799d
      Meelis Roos authored
      
      
      Currently, the sunhme driver installs SBus Quattro interrupt handler 
      when at least one HME card was initialized correctly and at least one 
      Quattro card is present. This breaks when a Quattro card fails 
      initialization for whatever reason - IRQ is registered and OOPS happens 
      when it fires.
      
      The solution, as suggested by David Miller, was to keep track which 
      cards of the Quattro bundles have been initialized, and request/free the 
      Quattro IRQ only when all four devices have been successfully 
      initialized.
      
      The patch only touches SBus initialization - PCI init already resets the 
      card pointer to NULL on init failure.
      
      The patch has been tested on Sun E3500 with SBus and PCI single HME 
      cards and one PCI Quattro HME card in a situation where any PCI card 
      failed init when the SBus routines tried to init them by mistake.
      
      Additionally it replaces Quattro request_irq panic with error return - 
      if this card fails to work, at least let the others work.
      
      Tested on E450 with PCI HME and PCI Quad HME.
      
      [ Minor coding style fixups -DaveM ]
      
      Signed-off-by: default avatarMeelis Roos <mroos@linux.ee>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7b7a799d
  36. Feb 07, 2009
  37. Jan 08, 2009
Loading