1. May 03, 2006
    • Jeff Garzik's avatar
      Merge branch 'upstream-fixes' into upstream · 753a6c4f
      Jeff Garzik authored
      753a6c4f
    • Ayaz Abdulla's avatar
      forcedeth: fix multi irq issues · ebf34c9b
      Ayaz Abdulla authored
      
      
      This patch fixes the issues with multiple irqs.
      
      I am resending based on feedback. I decoupled the dma mask for
      consistent memory and fixed leak with multiple irq in error path.
      
      Thanks to Manfred for catching the spin lock problem.
      
      Signed-Off-By: default avatarAyaz Abdulla <aabdulla@nvidia.com>
      ebf34c9b
    • Craig Brind's avatar
      [PATCH] via-rhine: zero pad short packets on Rhine I ethernet cards · 3e0d167a
      Craig Brind authored
      
      
      Fixes Rhine I cards disclosing fragments of previously transmitted frames
      in new transmissions.
      
      Before transmission, any socket buffer (skb) shorter than the ethernet
      minimum length of 60 bytes was zero-padded.  On Rhine I cards the data can
      later be copied into an aligned transmission buffer without copying this
      padding.  This resulted in the transmission of the frame with the extra
      bytes beyond the provided content leaking the previous contents of this
      buffer on to the network.
      
      Now zero-padding is repeated in the local aligned buffer if one is used.
      
      Following a suggestion from the via-rhine maintainer, no attempt is made
      here to avoid the duplicated effort of padding the skb if it is known that
      an aligned buffer will definitely be used.  This is to make the change
      "obviously correct" and allow it to be applied to a stable kernel if
      necessary.  There is no change to the flow of control and the changes are
      only to the Rhine I code path.
      
      The patch has run on an in-service Rhine-I host without incident.  Frames
      shorter than 60 bytes are now correctly zero-padded when captured on a
      separate host.  I see no unusual stats reported by ifconfig, and no unusual
      log messages.
      
      Signed-off-by: default avatarCraig Brind <craigbrind@gmail.com>
      Signed-off-by: default avatarRoger Luethi <rl@hellgate.ch>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      3e0d167a
    • Olaf Hering's avatar
      [PATCH] mv643xx_eth: provide sysfs class device symlink · b0b8dab2
      Olaf Hering authored
      
      
      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: default avatarOlaf Hering <olh@suse.de>
      Acked-by: default avatarDale Farnsworth <dale@farnsworth.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      b0b8dab2
    • Ananda Raju's avatar
      [PATCH] s2io: init/shutdown fixes · 5d3213cc
      Ananda Raju authored
      
      
      Hi,
      	The following patch contains fix related to init and shutdown of adapter
      	as per user guide.  The list of changes include
      
      	1. shutdown gracefully.
      	2. Need to mask/unmask interrupts in ISR required fro Xframe-E
      	3. Tx FIFO should be enabled after WRR calender programming
      
      Signed-off-by: default avatarAnanda Raju <ananda.raju@neterion.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      5d3213cc
    • Ananda Raju's avatar
      [PATCH] s2io: additional stats · bd1034f0
      Ananda Raju authored
      
      
      Hi,
      	This patch contains additional statistics counters added to s2io driver
      	these statistics are very much usefull in debugging the driver.
      
      Signed-off-by: default avatarAnanda Raju <ananda.raju@neterion.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      bd1034f0
    • Ananda Raju's avatar
      [PATCH] s2io: fixes · c92ca04b
      Ananda Raju authored
      
      
      Hi,
      	This patch contains some of the bug fixes done for S2io driver.
      	Following are the brief description of changes
      
      	1. Continuing with initialization if we get minimum required MSI-X vectors
      	2. fix for ethtool online link test fails
      	3. make wait_for_cmd_complete generic for all command status registers
      	4. Print "Device is on PCI-E bus" for Xframe-E card
      	5. CX4 requires additional delay after sw_reset, and requires higher value for igp
      	6. Fixed panic due to non-TCP and/or LLC/SNAP traffic in case of lro
      	7. remove legacy code for old transponder
      	8. SPECIAL_REG_WRITE made to use 32-bit writes irrespective of system type
      	9. handle link interrupt as per user guide for Xframe II
      	10. Wait till all interrupts hndled
      
      Signed-off-by: default avatarAnanda Raju <ananda.raju@neterion.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      c92ca04b
    • Ananda Raju's avatar
      [PATCH] s2io: input parms, output messages update · 9dc737a7
      Ananda Raju authored
      
      
      hi,
      	This patch contains the modification and bug fixes with respect to
      	input parameters and outupt dmesages. following is brief description
      	of the changes.
      
      	1. Set default values for rx_ring_sz[0..7] and tx_fifo_len[0..7]
      	2. verify few basic load parameters
      	3. read product description from VPD
      	4. clean up of dmesg  when driver is loaded
      
      Signed-off-by: default avatarAnanda Raju <ananda.raju@neterion.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      9dc737a7
    • Ananda Raju's avatar
      [PATCH] s2io: performance improvements · 863c11a9
      Ananda Raju authored
      
      
      hi,
      	This patch contains all the changes that were done to improve
      	performance of s2io driver. one line  description of the changes
      	are
      
      	1. For Non NAPI case the rx interrupt handler is being called
      	   unconditionally
      	2. code optimization and adding prefetch skb->data
      	3. Remove modulo operations in fast path
      	4. Enable Group Reads and set backoff interval to 0x1000
      	5. correct PIC_CNTL_SHARED_SPLITS  macro definition, and reduce
      	   pause parameter
      	6. Corrected logic of identifying rx buffer level in rx_buffer_level()
      	7. fix DMA map and unmap done with different sizes in 1-buf mode
      	8. Removed forcible disabling of ERO
      	9. Send up the packets with transfer code = 0x5
      
      Signed-off-by: default avatarAnanda Raju <ananda.raju@neterion.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      863c11a9
    • Jeff Garzik's avatar
      Merge branch 'master' into upstream · 1fb5fef9
      Jeff Garzik authored
      1fb5fef9
  2. May 02, 2006