1. 30 9月, 2012 7 次提交
  2. 29 9月, 2012 9 次提交
  3. 28 9月, 2012 18 次提交
  4. 27 9月, 2012 1 次提交
    • A
      can: c_can: fix segfault during rmmod · c523530c
      AnilKumar Ch 提交于
      This patch fixes an oops which occurs during unloading the driver.
      unregister_c_can_dev() is doing c_can/d_can module interrupts disable, which
      requires module clock enable. c_can/d_can interrupts enable/disable is handled
      properly in c_can_start and c_can_stop, so removing from
      unregister_c_can_dev().
      
      The problem was triggered by adding runtime PM support to the c_can driver by
      this commit:
      
      4cdd34b2 can: c_can: Add runtime PM support to Bosch C_CAN/D_CAN controller
      Signed-off-by: NAnilKumar Ch <anilkumar@ti.com>
      Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
      c523530c
  5. 25 9月, 2012 5 次提交
    • S
      net: mipsnet: Remove the MIPSsim Ethernet driver. · 718cffc4
      Steven J. Hill 提交于
      The MIPSsim platform is no longer supported or used. This patch
      deletes the Ethernet driver.
      Signed-off-by: NSteven J. Hill <sjhill@mips.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      718cffc4
    • C
      gianfar: Change default HW Tx queue scheduling mode · b98b8bab
      Claudiu Manoil 提交于
      This is primarily to address transmission timeout occurrences, when
      multiple H/W Tx queues are being used concurrently. Because in
      the priority scheduling mode the controller does not service the
      Tx queues equally (but in ascending index order), Tx timeouts are
      being triggered rightaway for a basic test with multiple simultaneous
      connections like:
      iperf -c <server_ip> -n 100M -P 8
      
      resulting in kernel trace:
      NETDEV WATCHDOG: eth1 (fsl-gianfar): transmit queue <X> timed out
      ------------[ cut here ]------------
      WARNING: at net/sched/sch_generic.c:255
      ...
      and controller reset during intense traffic, and possibly further
      complications.
      
      This patch changes the default H/W Tx scheduling setting (TXSCHED)
      for multi-queue devices, from priority scheduling mode to a weighted
      round robin mode with equal weights for all H/W Tx queues, and
      addresses the issue above.
      Signed-off-by: NClaudiu Manoil <claudiu.manoil@freescale.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b98b8bab
    • E
      net: loopback: set default mtu to 64K · 0cf833ae
      Eric Dumazet 提交于
      loopback current mtu of 16436 bytes allows no more than 3 MSS TCP
      segments per frame, or 48 Kbytes. Changing mtu to 64K allows TCP
      stack to build large frames and significantly reduces stack overhead.
      
      Performance boost on bulk TCP transferts can be up to 30 %, partly
      because we now have one ACK message for two 64KB segments, and a lower
      probability of hitting /proc/sys/net/ipv4/tcp_reordering default limit.
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0cf833ae
    • M
      phy/micrel: Rename KS80xx to KSZ80xx · 510d573f
      Marek Vasut 提交于
      There is no such part as KS8001, KS8041 or KS8051. There are only
      KSZ8001, KSZ8041 and KSZ8051. Rename these parts as such to match
      the Micrel naming.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: David J. Choi <david.choi@micrel.com>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
      Cc: Linux ARM kernel <linux-arm-kernel@lists.infradead.org>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      510d573f
    • M
      phy/micrel: Implement support for KSZ8021 · 212ea99a
      Marek Vasut 提交于
      The KSZ8021 PHY was previously caught by KS8051, which is not correct.
      This PHY needs additional setup if it is strapped for address 0. In such
      case an reserved bit must be written in the 0x16, "Operation Mode Strap
      Override" register. According to the KS8051 datasheet, that bit means
      "PHY Address 0 in non-broadcast" and it indeed behaves as such on KSZ8021.
      The issue where the ethernet controller (Freescale FEC) did not communicate
      with network is fixed by writing this bit as 1.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: David J. Choi <david.choi@micrel.com>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      212ea99a