1. 21 3月, 2014 1 次提交
  2. 07 12月, 2013 1 次提交
    • J
      ethernet: Fix FSF address in file headers · 0ab75ae8
      Jeff Kirsher 提交于
      Several files refer to an old address for the Free Software Foundation
      in the file header comment.  Resolve by replacing the address with
      the URL <http://www.gnu.org/licenses/> so that we do not have to keep
      updating the header comments anytime the address changes.
      
      CC: Santosh Raspatur <santosh@chelsio.com>
      CC: Dimitris Michailidis <dm@chelsio.com>
      CC: Michael Chan <mchan@broadcom.com>
      CC: Santiago Leon <santil@linux.vnet.ibm.com>
      CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      CC: Olof Johansson <olof@lixom.net>
      CC: Manish Chopra <manish.chopra@qlogic.com>
      CC: Sony Chacko <sony.chacko@qlogic.com>
      CC: Rajesh Borundia <rajesh.borundia@qlogic.com>
      CC: Nicolas Pitre <nico@fluxnic.net>
      CC: Steve Glendinning <steve.glendinning@shawell.net>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0ab75ae8
  3. 02 11月, 2013 1 次提交
  4. 03 10月, 2013 1 次提交
  5. 31 8月, 2013 1 次提交
  6. 28 5月, 2013 1 次提交
  7. 19 3月, 2013 1 次提交
  8. 02 3月, 2013 1 次提交
  9. 15 1月, 2013 1 次提交
  10. 04 1月, 2013 1 次提交
  11. 20 12月, 2012 1 次提交
  12. 12 12月, 2012 1 次提交
  13. 08 12月, 2012 1 次提交
  14. 04 12月, 2012 1 次提交
  15. 20 11月, 2012 1 次提交
  16. 15 11月, 2012 1 次提交
    • K
      net/smsc911x: Fix ready check in cases where WORD_SWAP is needed · 769ce4c9
      Kamlakant Patel 提交于
      The chip ready check added by the commit 3ac3546e [Always wait for
      the chip to be ready] does not work when the register read/write
      is word swapped. This check has been added before the WORD_SWAP
      register is programmed, so we need to check for swapped register
      value as well.
      
      Bit 16 is marked as RESERVED in SMSC datasheet, Steve Glendinning
      <steve@shawell.net> checked with SMSC and wrote:
      
        The chip architects have concluded we should be reading PMT_CTRL
        until we see any of bits 0, 8, 16 or 24 set.  Then we should read
        BYTE_TEST to check the byte order is correct (as we already do).
      
        The rationale behind this is that some of the chip variants have
        word order swapping features too, so the READY bit could actually
        be in any of the 4 possible locations.  The architects have confirmed
        that if any of these 4 positions is set the chip is ready.  The other
        3 locations will either never be set or can only go high after READY
        does (so also indicate the device is ready).
      
      This change will check for the READY bit at the 16th position. We do
      not check the other two cases (bit 8 and 24) since the driver does not
      support byte-swapped register read/write.
      Signed-off-by: NKamlakant Patel <kamlakant.patel@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      769ce4c9
  17. 17 7月, 2012 1 次提交
  18. 23 6月, 2012 1 次提交
  19. 31 5月, 2012 1 次提交
  20. 22 4月, 2012 1 次提交
  21. 14 4月, 2012 1 次提交
  22. 04 4月, 2012 1 次提交
  23. 16 2月, 2012 1 次提交
  24. 01 2月, 2012 1 次提交
  25. 11 1月, 2012 1 次提交
  26. 04 1月, 2012 1 次提交
    • J
      net/smsc911x: Check if PHY is in operational mode before software reset · 6386994e
      Javier Martinez Canillas 提交于
      SMSC LAN generation 4 chips integrate an IEEE 802.3 ethernet physical layer.
      The PHY driver for this integrated chip enable an energy detect power-down mode.
      When the PHY is in a power-down mode, it prevents the MAC portion chip to be
      software reseted.
      
      That means that if we compile the kernel with the configuration option SMSC_PHY
      enabled and try to bring the network interface up without an cable plug-ed the
      PHY will be in a low power mode and the software reset will fail returning -EIO
      to user-space:
      
      root@igep00x0:~# ifconfig eth0 up
      ifconfig: SIOCSIFFLAGS: Input/output error
      
      This patch disable the energy detect power-down mode before trying to software
      reset the LAN chip and re-enables after it was reseted successfully.
      Signed-off-by: NJavier Martinez Canillas <javier@dowhile0.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6386994e
  27. 30 11月, 2011 1 次提交
    • R
      net/smsc911x: Add regulator support · c7e963f6
      Robert Marklund 提交于
      Add some basic regulator support for the power pins, as needed
      by the ST-Ericsson Snowball platform that powers up the SMSC911
      chip using an external regulator.
      
      Platforms that use regulators and the smsc911x and have no defined
      regulator for the smsc911x and claim complete regulator
      constraints with no dummy regulators will need to provide it, for
      example using a fixed voltage regulator. It appears that this may
      affect (apart from Ux500 Snowball) possibly these archs/machines
      that from some grep:s appear to define both CONFIG_SMSC911X and
      CONFIG_REGULATOR:
      
      - ARM Freescale mx3 and OMAP 2 plus, Raumfeld machines
      - Blackfin
      - Super-H
      
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: linux-sh@vger.kernel.org
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: linux-omap@vger.kernel.org
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: uclinux-dist-devel@blackfin.uclinux.org
      Reviewed-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NRobert Marklund <robert.marklund@stericsson.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c7e963f6
  28. 14 11月, 2011 1 次提交
  29. 22 9月, 2011 1 次提交
  30. 18 8月, 2011 1 次提交
  31. 11 8月, 2011 1 次提交
    • J
      smsc: Move the SMC (SMSC) drivers · ae150435
      Jeff Kirsher 提交于
      Moves the SMC (SMSC) drivers into drivers/net/ethernet/smsc/ and the
      necessary Kconfig and Makefile changes.  Also did some cleanup
      of NET_VENDOR_SMC Kconfig tag for the 8390 based drivers.
      
      CC: Nicolas Pitre <nico@fluxnic.net>
      CC: Donald Becker <becker@scyld.com>
      CC: Erik Stahlman <erik@vt.edu>
      CC: Dustin McIntire <dustin@sensoria.com>
      CC: Steve Glendinning <steve.glendinning@smsc.com>
      CC: David Hinds <dahinds@users.sourceforge.net>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      ae150435
  32. 02 8月, 2011 1 次提交
  33. 21 6月, 2011 1 次提交
  34. 07 6月, 2011 1 次提交
  35. 14 4月, 2011 1 次提交
  36. 07 4月, 2011 1 次提交
    • E
      smsc911x: fix mac_lock acquision before calling smsc911x_mac_read · 35a67edf
      Enric Balletbo i Serra 提交于
      When SMSC911X_SAVE_MAC_ADDRESS flag is enabled the driver calls
      smsc911x_mac_read and smsc911x_mac_read function without acquiring mac_lock
      spinlock
      
      This patch fixes following warning
      
      smsc911x: Driver version 2008-10-21.
      ------------[ cut here ]------------
      WARNING: at drivers/net/smsc911x.c:261 smsc911x_mac_read+0x24/0x220()
      Modules linked in:
      [<c0060858>] (unwind_backtrace+0x0/0xe0) from [<c009322c>] (warn_slowpath_common+0x4c/0x64)
      [<c009322c>] (warn_slowpath_common+0x4c/0x64) from [<c009325c>] (warn_slowpath_null+0x18/0x1c)
      [<c009325c>] (warn_slowpath_null+0x18/0x1c) from [<c0324bec>] (smsc911x_mac_read+0x24/0x220)
      [<c0324bec>] (smsc911x_mac_read+0x24/0x220) from [<c0434788>] (smsc911x_read_mac_address+0x18/0x6c)
      [<c0434788>] (smsc911x_read_mac_address+0x18/0x6c) from [<c0434c74>] (smsc911x_drv_probe+0x498/0x1788)
      [<c0434c74>] (smsc911x_drv_probe+0x498/0x1788) from [<c02d3e54>] (platform_drv_probe+0x14/0x18)
      [<c02d3e54>] (platform_drv_probe+0x14/0x18) from [<c02d2d60>] (driver_probe_device+0xc8/0x184)
      [<c02d2d60>] (driver_probe_device+0xc8/0x184) from [<c02d2e84>] (__driver_attach+0x68/0x8c)
      [<c02d2e84>] (__driver_attach+0x68/0x8c) from [<c02d1fc8>] (bus_for_each_dev+0x48/0x74)
      [<c02d1fc8>] (bus_for_each_dev+0x48/0x74) from [<c02d2660>] (bus_add_driver+0x9c/0x228)
      [<c02d2660>] (bus_add_driver+0x9c/0x228) from [<c02d3598>] (driver_register+0xa0/0x124)
      [<c02d3598>] (driver_register+0xa0/0x124) from [<c0050668>] (do_one_initcall+0x94/0x168)
      [<c0050668>] (do_one_initcall+0x94/0x168) from [<c0008984>] (kernel_init+0xa0/0x154)
      [<c0008984>] (kernel_init+0xa0/0x154) from [<c005afac>] (kernel_thread_exit+0x0/0x8)
      ---[ end trace 2c931a35b7885770 ]---
      Signed-off-by: NEnric Balletbo i Serra <eballetbo@iseebcn.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      35a67edf
  37. 31 3月, 2011 2 次提交
  38. 16 3月, 2011 1 次提交
  39. 08 3月, 2011 1 次提交