1. 09 May, 2014 35 commits
  2. 07 May, 2014 5 commits
    • Harish Patil's avatar
      qlcnic: Fix Kconfig dependency on HWMON · f398a771
      Harish Patil authored
      Commit 1f0f467b "qlcnic: Add hwmon interface to export board
      temperature" introduced a randconfig build error in the case
      when the hwmon framework is built as a module and the qlcnic
      driver itself is built-in:
      
      drivers/built-in.o: In function `qlcnic_register_hwmon_dev':
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c:1301:
      undefined reference to `hwmon_device_register_with_groups'
      drivers/built-in.o: In function `qlcnic_unregister_hwmon_dev':
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c:1309:
      undefined reference to `hwmon_device_unregister'.
      
      This changes the Kconfig logic to enforce that the qlcnic hwmon
      support can only be enabled if it is possible to successfully
      build it.
      Signed-off-by: default avatarHarish Patil <harish.patil@qlogic.com>
      Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f398a771
    • David S. Miller's avatar
      Merge branch 'micrel_ksz9031' · c1a58d6a
      David S. Miller authored
      Hubert Chaumette says:
      
      ====================
      net/phy: micrel: Add DT configuration support and documentation for KSZ9031
      
       - Adds DT configuration support for ksz9031
       - Renames micrel-ksz9021.txt to micrel-ksz90x1.txt and adds ksz9031 binding
         documentation
      
      Changes since v3:
       - Rebased on net-next
      Changes since v2:
       - Merged together ksz9031_load_{clk,data,ctrl}_skew_values()
       - Added field length and number of fields prameter to account for registers
        specificities
       - Added binding documentation
      Changes since v1:
       - Removed ksz9021 and ksz9031 fixup deletions from arch/arm/mach-imx/mach-imx6q.c
      
      Hubert Chaumette (2):
        Update Micrel KSZ90x1 binding documentation
        ARM: i.MX6: Add OF configuration support for ksz9031
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c1a58d6a
    • Hubert Chaumette's avatar
      ARM: i.MX6: Add OF configuration support for ksz9031 · 6e4b8273
      Hubert Chaumette authored
      Adds support for ksz9031 PAD skew configuration over devicetree.
      Signed-off-by: default avatarHubert Chaumette <hchaumette@adeneo-embedded.com>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6e4b8273
    • Hubert Chaumette's avatar
      Update Micrel KSZ90x1 binding documentation · 4b405efb
      Hubert Chaumette authored
      Renames micrel-ksz9021.txt to micrel-ksz90x1.txt and adds documentation for
      the KSZ9031 binding from patch 1. Also adds step increment information, and
      note about phy fixups.
      Signed-off-by: default avatarHubert Chaumette <hchaumette@adeneo-embedded.com>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4b405efb
    • WANG Cong's avatar
      net: clean up snmp stats code · 698365fa
      WANG Cong authored
      commit 8f0ea0fe (snmp: reduce percpu needs by 50%)
      reduced snmp array size to 1, so technically it doesn't have to be
      an array any more. What's more, after the following commit:
      
      	commit 933393f5
      	Date:   Thu Dec 22 11:58:51 2011 -0600
      
      	    percpu: Remove irqsafe_cpu_xxx variants
      
      	    We simply say that regular this_cpu use must be safe regardless of
      	    preemption and interrupt state.  That has no material change for x86
      	    and s390 implementations of this_cpu operations.  However, arches that
      	    do not provide their own implementation for this_cpu operations will
      	    now get code generated that disables interrupts instead of preemption.
      
      probably no arch wants to have SNMP_ARRAY_SZ == 2. At least after
      almost 3 years, no one complains.
      
      So, just convert the array to a single pointer and remove snmp_mib_init()
      and snmp_mib_free() as well.
      
      Cc: Christoph Lameter <cl@linux.com>
      Cc: Eric Dumazet <eric.dumazet@gmail.com>
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      698365fa