03 May, 2006

1 commit

  • On Sat, Mar 11, Olaf Hering wrote:
    > Why is the /sys/class/net/eth0/device symlink not created for the
    > mv643xx_eth driver? Does this work for other platform device drivers?
    > Seems to work for the ps2 keyboard at least.

    The SET_NETDEV_DEV has to be done before a call to register_netdev. With
    the new patch below, the device symlink for the platform device was
    created. Unfortunately, after the 4 ls commands, the network connection
    died. No idea if the box crashed or if something else broke, lost remote
    access.

    Provide sysfs 'device' in /class/net/ethN Also, set module owner field,
    like pcnet32 driver does.

    Signed-off-by: Olaf Hering
    Acked-by: Dale Farnsworth
    Signed-off-by: Andrew Morton
    Signed-off-by: Jeff Garzik

    Olaf Hering
     

13 Apr, 2006

2 commits

  • After resetting the hardware on a tx_timeout, call netif_wake_queue()
    only if we have free tx descriptors.

    Also, attempt to recover if mv643xx_eth_start_xmit() is called when
    there are fewer free tx descriptors than expected.

    The BUG_ON() call we are replacing was hit on a tx_timeout that
    called netif_wake_queue(), indirectly via netif_device_attach(),
    even though we did not have enough free tx descriptors.

    Signed-off-by: Dale Farnsworth
    Signed-off-by: Jeff Garzik

    Dale Farnsworth
     
  • Fix the tx interrupt handler to free completed tx descriptors even
    when NAPI is enabled. Otherwise, the tx queue would fill up resulting
    in poor performance and "NETDEV WATCHDOG: : transmit timed out"
    messages.

    Signed-off-by: Brent Cook
    Signed-off-by: Dale Farnsworth
    Signed-off-by: Jeff Garzik

    Brent Cook
     

04 Mar, 2006

8 commits


10 Feb, 2006

1 commit


08 Feb, 2006

1 commit


28 Jan, 2006

10 commits


17 Jan, 2006

12 commits


09 Jan, 2006

1 commit


10 Nov, 2005

1 commit


31 Oct, 2005

1 commit


30 Oct, 2005

1 commit


29 Oct, 2005

1 commit