1. 20 Nov, 2002 9 commits
    • James Bottomley's avatar
      Merge mulgrave.(none):/home/jejb/BK/scsi-misc-2.5 · 2983e9a6
      James Bottomley authored
      into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5
      2983e9a6
    • Patrick Mansfield's avatar
      [PATCH] remove unused includes and misleading comments from scsi_lib.c · d67cf443
      Patrick Mansfield authored
      On Sun, Nov 17, 2002 at 11:54:49PM +0100, Christoph Hellwig wrote:
      
      > --- 1.46/drivers/scsi/scsi_lib.c	Thu Nov 14 18:09:17 2002
      > +++ edited/drivers/scsi/scsi_lib.c	Sun Nov 17 21:37:05 2002
      > @@ -7,50 +7,18 @@
      >   *                        of people at Linux Expo.
      >   */
      >
      > -/*
      > - * The fundamental purpose of this file is to contain a library of utility
      > - * routines that can be used by low-level drivers.   Ultimately the idea
      > - * is that there should be a sufficiently rich number of functions that it
      > - * would be possible for a driver author to fashion a queueing function for
      > - * a low-level driver if they wished.   Note however that this file also
      > - * contains the "default" versions of these functions, as we don't want to
      > - * go through and retrofit queueing functions into all 30 some-odd drivers.
      > - */
      > -
      > -#include <linux/module.h>
      > -
      > -#include <linux/sched.h>
      > -#include <linux/timer.h>
      >  #include <linux/string.h>
      >  #include <linux/slab.h>
      >  #include <linux/bio.h>
      > -#include <linux/ioport.h>
      >  #include <linux/kernel.h>
      > -#include <linux/stat.h>
      >  #include <linux/blk.h>
      > -#include <linux/interrupt.h>
      > -#include <linux/delay.h>
      > -#include <linux/smp_lock.h>
      >  #include <linux/completion.h>
      >
      > -
      > -#define __KERNEL_SYSCALLS__
      > -
      > -#include <linux/unistd.h>
      
      I had to add back the smp_lock.h include to compile with CONFIG_PREEMPT,
      as kernel_locked was not defined and is used by in_atomic().
      
      Patch against the latest scsi-misc-2.5:
      d67cf443
    • James Bottomley's avatar
      fix queue plug performance problem found by akpm · 996bfdf1
      James Bottomley authored
      Fix is to only plug on prep deferral if the device queue is empty
      (otherwise we can rely on returning I/O to restart the queue)
      996bfdf1
    • Ivan Kokshaysky's avatar
      [PATCH] PCI setup: misc cleanups and fixes · 37256d28
      Ivan Kokshaysky authored
      - Use PCI_BUS_NUM_RESOURCES instead of hardcoded `4' in
        pci_find_parent_resource;
      - clean up pci_claim_resource() and make it a bit more informative
        on errors;
      - pdev_sort_resources() must be __devinit, as it's called from
        pbus_assign_resources_sorted(), which is __devinit now;
      - fix one remaining dev->name in debugging printk.
      37256d28
    • Ivan Kokshaysky's avatar
      [PATCH] PCI: transparent bridge detection fix · d613ff0a
      Ivan Kokshaysky authored
      The detection of subtractive decoding bridges is broken: `class' variable
      doesn't contain ProgIf byte at this point, I should check `dev->class'
      instead.
      
      This fixes resource allocation problems on certain docking stations.
      d613ff0a
    • Andries E. Brouwer's avatar
      [PATCH] *_mknod prototype · 72c85a12
      Andries E. Brouwer authored
      The dev_t argument of sys_mknod is passed to vfs_mknod, and is then cast
      to int when foo_mknod is called, and is subsequently very often cast
      back to dev_t.  (For example, minix_mknod() calls minix_set_inode() that
      takes a dev_t.)
      
      This is a cleanup that avoids this back-and-forth casting by giving
      foo_mknod a prototype with dev_t.  In most cases now the dev_t is
      transmitted untouched until init_special_inode.
      
      It also makes the two routines hugetlbfs_get_inode() and
      shmem_get_inode() static.
      72c85a12
    • Rusty Russell's avatar
      [PATCH] Module length calculation fix and module with no init fix · 41872921
      Rusty Russell authored
      Fixes miscalculation of required module size due to alignment issues of
      first section after common, and also doesn't think that no init section
      is an allocation failure.
      41872921
    • Rusty Russell's avatar
      [PATCH] module device table restoration · 5c0f111c
      Rusty Russell authored
      Patch from Adam Richter.  I have a nicer solution based on aliases, but
      it requires coordination with USB, PCI and PCMCIA maintainers, which is
      taking time.
      
      This restores the old code in the meantime: one week without this is too
      long for people who need it.
      5c0f111c
    • Linus Torvalds's avatar
      Merge bk://ppc.bkbits.net/for-linus-ppc · 8f79cdb7
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      8f79cdb7
  2. 21 Nov, 2002 4 commits
  3. 20 Nov, 2002 3 commits
  4. 19 Nov, 2002 24 commits