1. 08 4月, 2010 1 次提交
    • B
      3c503: Fix IRQ probing · b0cf4dfb
      Ben Hutchings 提交于
      The driver attempts to select an IRQ for the NIC automatically by
      testing which of the supported IRQs are available and then probing
      each available IRQ with probe_irq_{on,off}().  There are obvious race
      conditions here, besides which:
      1. The test for availability is done by passing a NULL handler, which
         now always returns -EINVAL, thus the device cannot be opened:
         <http://bugs.debian.org/566522>
      2. probe_irq_off() will report only the first ISA IRQ handled,
         potentially leading to a false negative.
      
      There was another bug that meant it ignored all error codes from
      request_irq() except -EBUSY, so it would 'succeed' despite this
      (possibly causing conflicts with other ISA devices).  This was fixed
      by ab08999d 'WARNING: some
      request_irq() failures ignored in el2_open()', which exposed bug 1.
      
      This patch:
      1. Replaces the use of probe_irq_{on,off}() with a real interrupt handler
      2. Adds a delay before checking the interrupt-seen flag
      3. Disables interrupts on all failure paths
      4. Distinguishes error codes from the second request_irq() call,
         consistently with the first
      
      Compile-tested only.
      Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b0cf4dfb
  2. 04 12月, 2009 1 次提交
  3. 04 9月, 2009 1 次提交
  4. 03 9月, 2009 1 次提交
  5. 27 5月, 2009 1 次提交
  6. 27 3月, 2009 1 次提交
  7. 11 1月, 2009 1 次提交
  8. 26 11月, 2008 1 次提交
  9. 28 10月, 2008 1 次提交
  10. 04 7月, 2008 1 次提交
  11. 11 10月, 2007 2 次提交
  12. 10 2月, 2007 1 次提交
  13. 05 12月, 2006 1 次提交
  14. 14 9月, 2006 2 次提交
  15. 12 6月, 2006 1 次提交
    • R
      [PATCH] 3c5zz ethernet: fix section warnings · 96e672c7
      Randy Dunlap 提交于
      Priority: not critical; makes init code discardable.
      
      Fix section mismatch warnings:
      WARNING: drivers/net/3c501.o - Section mismatch: reference to .init.text:el1_probe from .text between 'init_module' (at offset 0x812) and 'cleanup_module'
      WARNING: drivers/net/3c503.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0x661) and 'cleanup_card'
      WARNING: drivers/net/3c505.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0x228d) and 'cleanup_module'
      WARNING: drivers/net/3c507.o - Section mismatch: reference to .init.text:el16_probe from .text between 'init_module' (at offset 0xa99) and 'cleanup_module'
      WARNING: drivers/net/3c523.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0x12e7) and 'cleanup_module'
      WARNING: drivers/net/3c527.o - Section mismatch: reference to .init.text:mc32_probe from .text between 'init_module' (at offset 0xd8d) and 'cleanup_module'
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      96e672c7
  16. 09 1月, 2006 1 次提交
    • D
      [PATCH] fix a few "warning: 'cleanup_card' defined but not used" · 64916f1e
      Denis Vlasenko 提交于
      These warnings are emitted if non-modular network drivers are built.
      Fixes just move cleanup_card() definitions into #ifdef MODULE region.
      
      /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/wd.c:131: warning: 'cleanup_card' defined but not used
      /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/3c503.c:152: warning: 'cleanup_card' defined but not used
      /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/ne.c:216: warning: 'cleanup_card' defined but not used
      /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/hp.c:106: warning: 'cleanup_card' defined but not used
      /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/hp-plus.c:142: warning: 'cleanup_card' defined but not used
      /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/smc-ultra.c:172: warning: 'cleanup_card' defined but not used
      /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/e2100.c:144: warning: 'cleanup_card' defined but not used
      /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/es3210.c:159: warning: 'cleanup_card' defined but not used
      /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/lne390.c:149: warning: 'cleanup_card' defined but not used
      /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/lance.c:313: warning: 'cleanup_card' defined but not used
      /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/ac3200.c:127: warning: 'cleanup_card' defined but not used
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      64916f1e
  17. 13 5月, 2005 1 次提交
  18. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4