1. 20 Mar, 2003 40 commits
    • Dave Jones's avatar
      [PATCH] Sysfs not handling show errors · 5141a806
      Dave Jones authored
      Originally by Rusty Lynch, munged by me, acked
      by Mochel.
      
       Attempting to cat a sysfs file that returns an error will result in an
       endless dump of garbage to the screen because the result of the specific
       show operation was being saved to a size_t (unsigned) and then later
       checked for a negative value.
      5141a806
    • Dave Jones's avatar
      [PATCH] fix acpi write throttle seq file breakage. · a978d779
      Dave Jones authored
      From Pavel Machek
      a978d779
    • Dave Jones's avatar
      [PATCH] documentation for userspace access. · da7a59ff
      Dave Jones authored
      From: Jon Foster <jon@jon-foster.co.uk>
      
      This patch against 2.5.63 adds kerneldoc comments to the public API in these files:
      - include/asm-i386/uaccess.h
      - arch/i386/lib/usercopy.c
      
      This patch only changes comments and one of the templates used by "make htmldocs",
      it does not change any code.
      da7a59ff
    • Dave Jones's avatar
      [PATCH] piix compile fix for CONFIG_PROC_FS=n · 470aab84
      Dave Jones authored
      Fix by Randy Dunlap
      
      Here's a patch to build ide/pci/piix.c with CONFIG_PROC_FS=n.
      470aab84
    • Dave Jones's avatar
      [PATCH] Remove old DRM4.0 code. · bf590c40
      Dave Jones authored
      Old patch from John Kim to remove old DRM 4.0 code in 2.5.59.
      bf590c40
    • Dave Jones's avatar
      [PATCH] 3ware vendor update · 582b70ec
      Dave Jones authored
      582b70ec
    • Dave Jones's avatar
      [PATCH] cciss unregister cleanup · cd39bceb
      Dave Jones authored
      From Herbert Xu
      
      The following patches against 2.4 and 2.5 makes cciss unregister properly
      if initialisation fails.
      cd39bceb
    • Dave Jones's avatar
      [PATCH] fix obvious thinko · ea3323f1
      Dave Jones authored
      ea3323f1
    • Linus Torvalds's avatar
      Merge bk://linux-dj.bkbits.net/cpufreq · c2cf4faa
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      c2cf4faa
    • Linus Torvalds's avatar
      Merge http://linux-sound.bkbits.net/linux-sound · 1343c2a8
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      1343c2a8
    • Jaroslav Kysela's avatar
      ALSA update (0.9.2) · a810a3da
      Jaroslav Kysela authored
        - created snd-page-alloc module
          - moved all page allocation code there
          - preserves preallocated DMA buffers for devices
        - USB audio driver updated
        - AC'97 - better modem initialization code
        - timer API - enhanced (added pause and more event notifications)
        - splitted ice1724 code from ice1712 to own module
        - general
          - timerstamp cleanups (timeval -> timespec)
          - C99-like cleanups
        - trident driver
          - more workaround for wrong IRQ acks
        - OSS sequencer emulation
          - fixed OOPS (wrong free order)
          - more compatible with level 1 of sequencer (/dev/sequencer)
        - CS46xx driver updated
        - intel8x0 driver updated
        - emu10k1 driver updated
      a810a3da
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · 90a89de4
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      90a89de4
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/gregkh/linux/i2c-2.5 · f289aa67
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      f289aa67
    • Andrew Morton's avatar
      [PATCH] Fix floppy oops on forced unload · 76c25284
      Andrew Morton authored
      From: Angus Sawyer <angus.sawyer@dsl.pipex.com>
      
      Prevent OOPS on removing floppy driver with "rmmod -f floppy".
      
      floppy.c would attempt to unregister resources for nonexistent device.
      
      Patch stops the driver attempting to register and unregister the nonexistent
      device by removing the drive from the allowed drives mask (defaults to
      present).
      76c25284
    • Andrew Morton's avatar
      [PATCH] slab: tune batchcounts for large objects · 0fa1419b
      Andrew Morton authored
      From: Manfred Spraul <manfred@colorfullife.com>
      
      Now that slab supports monster objects (up to 32MB) for !CONFIG_MMU we really
      don't want to keep spare instances of them in the slab head arrays.
      
      - limit head array sizes for huge slab caches to one object per cpu.
      
      - round the batch count up for default head array sizing - batch count 0 is
        illegal.
      0fa1419b
    • Andrew Morton's avatar
      [PATCH] raw driver: cleanups and small fixes · 3abd0aea
      Andrew Morton authored
      - There was an unchecked bdget().  bdget can fail due to ENOMEM.
      
      - rework the error handling implementation in raw_ctl_ioctl().
      
      - Replace MOD_INC_USE_COUNT with try_module_get(THIS_MODULE).  This allows
        the raw module to be unloaded again.
      
        The core kernel has already taken a ref on the module prior to entering
        the ioctl, so try_module_get() cannot fail.
      3abd0aea
    • Andrew Morton's avatar
      [PATCH] raw driver: rewrite i_mapping only on final close · 9e0acd29
      Andrew Morton authored
      The recent fix to the raw driver wasn't quite right: it rewrites the
      character-special inode's i_mapping to point back to itself on each close.
      So any other currently-open handles against /dev/raw/rawN get a nasty
      surprise.
      
      Change it to only rewrite i_mapping on the final close.
      
      Also, change it so that it only redirects its i_mapping on the initial open.
      This is not necessary, but is neater.
      9e0acd29
    • Andrew Morton's avatar
      [PATCH] Fail setup_irq for unconfigured IRQs · 55f26259
      Andrew Morton authored
      From: Zwane Mwaikambo <zwane@holomorphy.com>
      
      This patch makes us bail out in case we may have an interrupt which couldn't
      be associated with an interrupt controller.  Without this we allow
      unconfigured interrupts to be assigned and then later on we get "unexpected
      IRQ trap at vector xx" during the ack phase.
      
      scenario: This can occur if we fail irq setup during setup_IO_APIC_irqs for
      some reason or other and then miss getting assigned a vector.  Later on we
      then get assigned no_irq_type as our handler.
      
      Patch for i386 and x86_64
      55f26259
    • Andrew Morton's avatar
      [PATCH] Add missing put_user checks in n_tty · eb0e2cf6
      Andrew Morton authored
      From: Steven Rostedt <rostedt@goodmis.org>
      
      The n_tty driver is missing some put_user checks.
      eb0e2cf6
    • Andrew Morton's avatar
      [PATCH] cs46xx minor fixes · e7b90940
      Andrew Morton authored
      - jiffies signedness fix
      
      - Fix compile warning
      e7b90940
    • Andrew Morton's avatar
      [PATCH] add write_seqlock to cpufreq change notifier for TSC · a85829fd
      Andrew Morton authored
      From: Stephen Hemminger <shemminger@osdl.org>
      
      The CPU frequency change detection code can change the values used to compute
      time of day with TSC; but there was no locking around it.
      a85829fd
    • Andrew Morton's avatar
      [PATCH] fix nanosleep() granularity bumps · d8e0b647
      Andrew Morton authored
      From: Tim Schmielau <tim@physik3.uni-rostock.de>
      
      Fixes the problem wherein nanosleep() is sleeping for the wrong duration.
      
      When starting out with timer_jiffies=0, the timer cascade is (unneccessarily)
      triggered on the first timer interrupt, incrementing all the higher indices.
      When starting with any other initial jiffies value, we miss that and end up
      with all higher indices being off by one.
      d8e0b647
    • Andrew Morton's avatar
      [PATCH] NMI watchdog fix · e28b748d
      Andrew Morton authored
      From: William Lee Irwin III <wli@holomorphy.com>
      
      The NMI watchdog has two different "modes": NMI_IO_APIC, which delivers NMI's
      through the IO-APIC, and NMI_LOCAL_APIC, which uses the local APIC vector
      table (LVT) to deliver the periodic NMI's.
      
      Only NMI_IO_APIC requires being able to set up the PIT so it can deliver
      NMI's through the IO-APIC, and so NMI_LOCAL_APIC has no dependency on the
      timer being set up through the IO-APIC and is unjustifiably disabled by
      check_timer() when the PIT cannot deliver interrupts through the IO-APIC.
      
      This is important because one of the most important uses of NMI_LOCAL_APIC is
      to get the NMI watchdog going when NMI_IO_APIC doesn't work.
      
      So what this patch does to repair the situation is instead of checking to see
      if the NMI watchdog is enabled at all, it instead checks whether the NMI
      watchdog is being used in NMI_IO_APIC mode when a failure to set up the NMI
      timer interrupt through the IO-APIC occurs.
      e28b748d
    • Andrew Morton's avatar
      [PATCH] sys_nanosleep() fix · 0a20887d
      Andrew Morton authored
      The current nanosleep implementation has a signedness problem which can cause
      it to sleep for 0x7ffffffe jiffies if a clock interrupt happens at the wrong
      time.
      
      The patch fixes that up, and also fixes an wrapping-unsafe 64-bit time
      comparison.  Also uninline tstojiffie(), which has three call sites.
      0a20887d
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.5 · a20b40ff
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      a20b40ff
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/sparc-2.5 · 5ae2c9cf
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      5ae2c9cf
    • Linus Torvalds's avatar
      Fix a rather theoretical race if an NMI happens when a debug fault · 3a4ec59d
      Linus Torvalds authored
      happens exactly on the sysenter entry path before the kernel stacks
      have been switched to the proper ones.
      3a4ec59d
    • Jeff Garzik's avatar
      [netdrvr tg3] fix memleak in DMA test · 0e6cb0bc
      Jeff Garzik authored
      Also, bump version to 1.5.
      
      Leak fix contributed by Don Fry @ IBM
      0e6cb0bc
    • Jeff Garzik's avatar
      Merge redhat.com:/garz/repo/e1000-2.5 · e5c136c0
      Jeff Garzik authored
      into redhat.com:/garz/repo/net-drivers-2.5
      e5c136c0
    • Jeb J. Cramer's avatar
      [E1000] NAPI re-insertion w/ changes · 3cddbbc6
      Jeb J. Cramer authored
      * Previous patch wiped NAPI support, adding it back here.  But,
        with a twist: this one doesn't disable/enable interrupts each
        time we enter/leave polling.  (It's EXPERIMENTAL).
      3cddbbc6
    • Jeb J. Cramer's avatar
      [E1000] whitespace fix from previous patches · 6938f0a0
      Jeb J. Cramer authored
      * Corrected indentation from previous patches
      6938f0a0
    • Jeb J. Cramer's avatar
      [E1000] Controller wake-up thru ASF fix · d2c2518b
      Jeb J. Cramer authored
      * Fixed controller wake-up through ASF
      d2c2518b
    • Jeb J. Cramer's avatar
      [E1000] Added Interrupt Throttle Rate tuning support · f1caa8c7
      Jeb J. Cramer authored
      * Added Interrupt Throttle Rate tuning support
      f1caa8c7
    • Jeb J. Cramer's avatar
      [E1000] Added Tx FIFO flush routine · 5a14251f
      Jeb J. Cramer authored
      * Added method to flush Tx FIFO after link disconnect; the hardware
        hangs on to Tx skb's that were in flight prior to link loss
      5a14251f
    • Jeb J. Cramer's avatar
      [E1000] Whitespace changes · 8bf752eb
      Jeb J. Cramer authored
      * Miscellaneous whitespace changes
      8bf752eb
    • Jeb J. Cramer's avatar
      [E1000] Compaq to HP branding change · 85beee79
      Jeb J. Cramer authored
      * Changed "Compaq" branding to "HP"
      85beee79
    • Jeb J. Cramer's avatar
      [E1000] Read/Write register macro optimizations · 3771495b
      Jeb J. Cramer authored
      * Optimized E1000_*_REG macros
      3771495b
    • Jeb J. Cramer's avatar
      [E1000] Tx Descriptor cleanup · f4630b19
      Jeb J. Cramer authored
      * Completely clean Tx descriptor to avoid potential dirty descriptor
        fetching (rare, but possible)
      f4630b19
    • Jeb J. Cramer's avatar
      [E1000] Perform single PCI read per interrupt · fd1a461e
      Jeb J. Cramer authored
      * ISR cleanup; performing single PCI read
      fd1a461e
    • Jeb J. Cramer's avatar
      [E1000] Modulus math removed · 35d75fa0
      Jeb J. Cramer authored
      * Removed modulus math; decreases CPU utilization, especially on PPC64
        [anton@samba.org]
      35d75fa0