1. 28 6月, 2005 29 次提交
  2. 27 6月, 2005 11 次提交
    • S
      [PATCH] DM9000 network driver bugfix · 5f6b5517
      Sascha Hauer 提交于
      This patch fixes two bugs in the dm9000 network driver:
      
      - Don't read one byte too much in 8bit mode.
      - release correct resource
      Signed-off-by: NJochen Karrer <j.karrer@lightmaze.com>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      5f6b5517
    • D
      400de2c0
    • P
      [PATCH] fix int vs. pm_message_t confusion in airo · 1cc68ae0
      Pavel Machek 提交于
      Fix int vs. pm_message_t confusion in airo. Should change no code.
      Signed-off-by: NPavel Machek <pavel@suse.cz>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      1cc68ae0
    • M
      [PATCH] defxx: Use irqreturn_t for the interrupt handler · feea1db2
      Maciej W. Rozycki 提交于
      This is a fix for the interrupt handler in the defxx driver to use
      irqreturn_t.  Beside the obvious fix of returning a proper status at all,
      it actually checks board registers as appropriate for determining if an
      interrupt has been recorded in the bus-specific interface logic.
      
      The patch also includes an obvious one-line fix for SET_NETDEV_DEV needed
      for the EISA variation, for which I've decided there is no point in sending
      separately.
      Signed-off-by: NMaciej W. Rozycki <macro@linux-mips.org>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      feea1db2
    • A
      [PATCH] dmfe warning fix · 16b110c3
      Andrew Morton 提交于
      drivers/net/tulip/dmfe.c: In function `dmfe_parse_srom':
      drivers/net/tulip/dmfe.c:1805: warning: passing arg 1 of `__le16_to_cpup' from incompatible pointer type
      drivers/net/tulip/dmfe.c:1817: warning: passing arg 1 of `__le32_to_cpup' from incompatible pointer type
      drivers/net/tulip/dmfe.c:1817: warning: passing arg 1 of `__le32_to_cpup' from incompatible pointer type
      
      This is basically a guess:
      
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      16b110c3
    • A
      [PATCH] document that 8139TOO supports 8129/8130 · f04e3f09
      Adrian Bunk 提交于
      The 8129/8130 support is a sub-option that is not visible if the user
      hasn't enabled the 8139 support.
      
      Let's make it a bit easier for users to find the driver for their nic.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      f04e3f09
    • N
      [PATCH] net/slip: replace schedule_timeout() with msleep_interruptible() · a9fc2510
      Nishanth Aravamudan 提交于
      Use msleep_interruptible() instead of schedule_timeout() to guarantee
      the task delays as expected.
      a9fc2510
    • A
      [PATCH] drivers/net/ewrk3.c: remove dead code · 6835d09a
      Adrian Bunk 提交于
      This patch removes some obviously dead code found by the Coverity
      checker.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      6835d09a
    • A
      [PATCH] drivers/net/skfp/: fix LITTLE_ENDIAN · 854608d8
      Adrian Bunk 提交于
      This patch fixes the LITTLE_ENDIAN #define and a function prototype.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      854608d8
    • A
      [PATCH] drivers/net/tokenring/: cleanups · de70b4c8
      Adrian Bunk 提交于
      This patch contains the follwing cleanups:
      - make needlessly global code static
      - remove obsolete Emacs settings
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      de70b4c8
    • A
      [PATCH] pcnet_cs.c: IRQ handler optimization · 93ad4fb0
      Andreas Mohr 提交于
      During some performance diagnostics I stumbled on this slightly wasteful
      code in pcnet_cs.c which I made the patch included at the bottom for (two
      minor comment fixes included).
      
      Improvement:
      instead of *always* calculating
      lea    0x2c0(%edx),%ebx
      and then additionally doing the
      mov    %edx,0xc0(%ebx)
      addition *if we need it*,
      
      we now do the *whole* calculation of
      mov    %edx,0x380(%ebx)
      *only* if we need it.
      This even manages to save us a whole 16-byte alignment buffer loss
      in this compilation case.
      
      Result: slightly improves IRQ handler performance in both shared and
      non-shared IRQ case, which should make my rusty P3/700 a slight bit happier.
      
      Thank you for your support,
      
      Andreas Mohr
      
      old asm result (using gcc 3.3.5):
      
      000015a0 <ei_irq_wrapper>:
          15a0:       55                      push   %ebp
          15a1:       89 e5                   mov    %esp,%ebp
          15a3:       53                      push   %ebx
          15a4:       8d 9a c0 02 00 00       lea    0x2c0(%edx),%ebx
          15aa:       e8 fc ff ff ff          call   15ab <ei_irq_wrapper+0xb>
          15af:       83 f8 01                cmp    $0x1,%eax
          15b2:       74 03                   je     15b7 <ei_irq_wrapper+0x17>
          15b4:       5b                      pop    %ebx
          15b5:       5d                      pop    %ebp
          15b6:       c3                      ret
          15b7:       31 d2                   xor    %edx,%edx
          15b9:       89 93 c0 00 00 00       mov    %edx,0xc0(%ebx)
          15bf:       eb f3                   jmp    15b4 <ei_irq_wrapper+0x14>
          15c1:       eb 0d                   jmp    15d0 <ei_watchdog>
          15c3:       90                      nop
          15c4:       90                      nop
          15c5:       90                      nop
          15c6:       90                      nop
          15c7:       90                      nop
          15c8:       90                      nop
          15c9:       90                      nop
          15ca:       90                      nop
          15cb:       90                      nop
          15cc:       90                      nop
          15cd:       90                      nop
          15ce:       90                      nop
          15cf:       90                      nop
      
      000015d0 <ei_watchdog>:
      
      new asm result:
      
      000015a0 <ei_irq_wrapper>:
          15a0:       55                      push   %ebp
          15a1:       89 e5                   mov    %esp,%ebp
          15a3:       53                      push   %ebx
          15a4:       89 d3                   mov    %edx,%ebx
          15a6:       e8 fc ff ff ff          call   15a7 <ei_irq_wrapper+0x7>
          15ab:       83 f8 01                cmp    $0x1,%eax
          15ae:       74 03                   je     15b3 <ei_irq_wrapper+0x13>
          15b0:       5b                      pop    %ebx
          15b1:       5d                      pop    %ebp
          15b2:       c3                      ret
          15b3:       31 d2                   xor    %edx,%edx
          15b5:       89 93 80 03 00 00       mov    %edx,0x380(%ebx)
          15bb:       eb f3                   jmp    15b0 <ei_irq_wrapper+0x10>
          15bd:       8d 76 00                lea    0x0(%esi),%esi
      
      000015c0 <ei_watchdog>:
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      93ad4fb0