1. 19 Mar, 2009 4 commits
    • Kyle McMartin's avatar
      tulip: fix crash on iface up with shirq debug · 69145635
      Kyle McMartin authored
      Tulip is currently doing request_irq before it has done its
      initialization. This is usually not a problem because it hasn't
      enable interrupts yet, but with DEBUG_SHIRQ on, we call the irq handler
      when registering the interrupt as a sanity check.
      
      This can result in a NULL ptr dereference, so call tulip_init_ring
      before request_irq, and add a free_ring function to do the freeing
      now shared with tulip_close.
      
      Tested with a shell loop running ifup, ifdown in a loop a few hundred
      times with DEBUG_SHIRQ on.
      Signed-off-by: default avatarKyle McMartin <kyle@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      69145635
    • Pantelis Koukousoulas's avatar
      virtio_net: Make virtio_net support carrier detection · 4783256e
      Pantelis Koukousoulas authored
      Impact: Make NetworkManager work with virtio_net
      
      For now the semantics are simple: There is always carrier.
      
      This allows a seamless experience with e.g., qemu/kvm
      where NetworkManager just configures and sets up
      everything automagically.
      
      If/when a generally agreed-upon way to control
      carrier on/off in the emulator/hypervisor level
      emerges, it will be trivial to extend the driver
      to support that too, but for now even this 2-liner
      makes user experience that much better.
      Signed-off-by: default avatarPantelis Koukousoulas <pktoss@gmail.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4783256e
    • Jay Vosburgh's avatar
      bonding: Fix updating of speed/duplex changes · 17d04500
      Jay Vosburgh authored
      	This patch corrects an omission from the following commit:
      
      commit f0c76d61
      Author: Jay Vosburgh <fubar@us.ibm.com>
      Date:   Wed Jul 2 18:21:58 2008 -0700
      
          bonding: refactor mii monitor
      
      	The un-refactored code checked the link speed and duplex of
      every slave on every pass; the refactored code did not do so.
      
      	The 802.3ad and balance-alb/tlb modes utilize the speed and
      duplex information, and require it to be kept up to date.  This patch
      adds a notifier check to perform the appropriate updating when the slave
      device speed changes.
      Signed-off-by: default avatarJay Vosburgh <fubar@us.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      17d04500
    • Michael Chan's avatar
      bnx2: Fix problem of using wrong IRQ handler. · 69010313
      Michael Chan authored
      The MSI-X handler was chosen before the call to pci_enable_msix().
      If MSI-X was not available, the wrong MSI-X handler would be used in
      INTA mode.  This would cause a screaming interrupt problem because
      INTA would not be cleared by the MSI-X handler.
      
      Fixed by assigning MSI-X handler after pci_enable_msix() returns
      successfully.  Also update version to 1.9.3.
      
      Thomas Chenault <thomas_chenault@dell.com> helped us find this problem.
      Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      69010313
  2. 17 Mar, 2009 3 commits
  3. 16 Mar, 2009 11 commits
  4. 15 Mar, 2009 1 commit
  5. 14 Mar, 2009 1 commit
  6. 13 Mar, 2009 10 commits
  7. 12 Mar, 2009 3 commits
  8. 11 Mar, 2009 1 commit
  9. 10 Mar, 2009 3 commits
  10. 06 Mar, 2009 2 commits
  11. 05 Mar, 2009 1 commit