1. 19 3月, 2009 4 次提交
    • K
      tulip: fix crash on iface up with shirq debug · 69145635
      Kyle McMartin 提交于
      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: NKyle McMartin <kyle@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      69145635
    • P
      virtio_net: Make virtio_net support carrier detection · 4783256e
      Pantelis Koukousoulas 提交于
      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: NPantelis Koukousoulas <pktoss@gmail.com>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4783256e
    • J
      bonding: Fix updating of speed/duplex changes · 17d04500
      Jay Vosburgh 提交于
      	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: NJay Vosburgh <fubar@us.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      17d04500
    • M
      bnx2: Fix problem of using wrong IRQ handler. · 69010313
      Michael Chan 提交于
      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: NMichael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      69010313
  2. 18 3月, 2009 3 次提交
  3. 17 3月, 2009 5 次提交
  4. 16 3月, 2009 6 次提交
  5. 15 3月, 2009 2 次提交
  6. 14 3月, 2009 10 次提交
  7. 12 3月, 2009 4 次提交
  8. 10 3月, 2009 3 次提交
  9. 07 3月, 2009 2 次提交
  10. 06 3月, 2009 1 次提交