1. 13 2月, 2010 4 次提交
    • T
      net: Micrel KSZ8841/2 PCI Ethernet driver · 8ca86fd8
      Tristram Ha 提交于
      This is a new network driver for Micrel KSZ8841/KSZ8842 PCI Ethernet chips.  The same driver can run both chips at the same time.  It supports IPv4 TCP hardware checksumming and so can use scatter/gather transmission.
      
      The KSZ8842 switch has 2 ports.  Some users like to take direct control of those ports.  So KSZ8842 has a multiple devices mode in which the driver creates another network device so that users can specify which port to send packets.  This mode is enabled by passing the "multi_dev=1" parameter to the driver during loading.
      
      The KSZ884X can receive huge frames with size up to 1916 bytes.  To use this feature change the network device MTU from 1500 to 1898.
      
      The KSZ884X driver has 3 packet receive processing functions for the normal mode, multiple devices mode, and huge frame mode.  Those functions are identical except for more checking for the new features.  In normal programming point of view the huge frame version is the one to use because it covers all the cases, but this is done for performance consideration because the target clients for the KSZ884X chips are embedded systems, which unlike desktop PC may not have powerful CPU.
      Signed-off-by: NTristram Ha <Tristram.Ha@micrel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8ca86fd8
    • U
      net: move am79c961's probe function to .devinit.text · 447d8c26
      Uwe Kleine-König 提交于
      A pointer to am79c961_probe is passed to the core via
      platform_driver_register and so the function must not disappear when the
      .init sections are discarded.  Otherwise (if also having HOTPLUG=y)
      unbinding and binding a device to the driver via sysfs will result in an
      oops as does a device being registered late.
      
      An alternative to this patch is using platform_driver_probe instead of
      platform_driver_register plus removing the pointer to the probe function
      from the struct platform_driver.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      447d8c26
    • J
      macb: straighten out macb_mii_probe function · 7455a76f
      Jiri Pirko 提交于
      Use "phy_find_first" instead of manual lookup. Also use "phy_connect_direct"
      instead of "phy_connect" since we already have phy_device pointer here.
      Signed-off-by: NJiri Pirko <jpirko@redhat.com>
      Acked-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7455a76f
    • J
      net: use netdev_mc_count and netdev_mc_empty when appropriate · 4cd24eaf
      Jiri Pirko 提交于
      This patch replaces dev->mc_count in all drivers (hopefully I didn't miss
      anything). Used spatch and did small tweaks and conding style changes when
      it was suitable.
      
      Jirka
      Signed-off-by: NJiri Pirko <jpirko@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4cd24eaf
  2. 11 2月, 2010 8 次提交
  3. 09 2月, 2010 2 次提交
  4. 06 2月, 2010 4 次提交
  5. 05 2月, 2010 8 次提交
  6. 04 2月, 2010 14 次提交