1. 08 Jul, 2003 4 commits
    • Christoph Hellwig's avatar
      [PATCH] pull scsi_scan_host out of scsi_add_host · 892af51c
      Christoph Hellwig authored
      As Douglas mentioned on this list a while ago there's hardware these
      days where we don't want to automatically perform an initial bus scan
      in scsi_add_host.  Currently we only have ieee1394 in the tree but
      I can imagine more uses like iscsi or certain fc setups.
      
      This patch removes the call to scsi_scan_host from scsi_add_host
      and moves it into the drivers that want in.
      892af51c
    • Christoph Hellwig's avatar
      [PATCH] rework shost/sdev attribute handling · a1b6bcff
      Christoph Hellwig authored
      I've finally found some time to look over the per-driver sdev/shost attribute
      handling and I'm not so happy with it.  First it adds new writeable
      variables to the host templates which is otherwise almost readonly,
      the other thing is that it needs per-template procedure calls in the
      drivers wheras we have moved away from that.  Also it looks a bit
      coplicated :)
      
      I've attached a patch below that makes the attributes handling a lot
      simpler.  Details:
      
       - the shost_attrs and sdev_attrs in the host template are now used
         to store the attributes overriden or added by the LLDD.
       - the midlayer creates those first and then the generic attributes
         that haven't been overridded and the other way around.
       - the host attributes are properly unregistered now and don't leak
         anymore.
      
      Unlike the first patch the attribute inheritance is back.
      a1b6bcff
    • Christoph Hellwig's avatar
      [PATCH] consistant names for device model related struct members · d8a22dd2
      Christoph Hellwig authored
      currently the embedded struct devices and class devices have totally
      irregular and sometimes confusing (sdev_driverfs_dev) names.  Name
      them consistanly s{dev,host}_{class,gen}dev.
      d8a22dd2
    • Jeff Garzik's avatar
      [PATCH] scsi_debug mode sense bug · 3f0ded07
      Jeff Garzik authored
      This is for 2.5, but should go back to 2.4 I suppose.
      
      MODE_SENSE_10 alloc_len LSB is in cdb byte 8, not byte 6, AFAIK...
      3f0ded07
  2. 05 Jul, 2003 2 commits
    • Andrew Morton's avatar
      [PATCH] aha152X oops fixes · a5efd873
      Andrew Morton authored
      From: Martin Diehl <lists@mdiehl.de>
      
      Seems there are two problems:
      
      * interrupt handler expects to find the host in aha152x_host[] array which
        is currently set too late after probing irq's
      
      * despite testing for NULL swintr derefences a shpnt==NULL anyway, looks
        like a victim of HOSTNO obfuscation ;-)
      
      The patch below fixes the issue for me - succesfully tested to compile,
      load and even use my attached scanner.
      
      
      
       drivers/scsi/aha152x.c |   15 ++++++++++-----
       1 files changed, 10 insertions(+), 5 deletions(-)
      a5efd873
    • Marc Zyngier's avatar
      [PATCH] aha1740 update · e58973b6
      Marc Zyngier authored
      Anyway, here is the latest patch, including fix for the very nice
      locking bug Adrian just found.
      e58973b6
  3. 04 Jul, 2003 14 commits
    • Linus Torvalds's avatar
      When forcing through a signal for some thread-synchronous · 9e008c3c
      Linus Torvalds authored
      event (ie SIGSEGV, SIGFPE etc that happens as a result of a
      trap as opposed to an external event), if the signal is
      blocked we will not invoce a signal handler, we will just
      kill the thread with the signal.
      
      This is equivalent to what we do in the SIG_IGN case: you
      cannot ignore or block synchronous signals, and if you try,
      we'll just have to kill you.
      
      We don't want to handle endless recursive faults, which the
      old behaviour easily led to if the stack was bad, for example.
      9e008c3c
    • Linus Torvalds's avatar
      Go back to defaulting to 6-byte commands for MODE SENSE, · b79c8524
      Linus Torvalds authored
      since some drivers seem to be unhappy about the 10-byte
      version. 
      
      The subsystem configuration can override this (eg USB or
      ide-scsi).
      b79c8524
    • Marc Zyngier's avatar
      [PATCH] EISA: avoid unnecessary probing · c4404d65
      Marc Zyngier authored
      - By default, do not try to probe the bus if the mainboard does not
        seems to support EISA (allow this behaviour to be changed through a
        command-line option).
      c4404d65
    • Marc Zyngier's avatar
      [PATCH] EISA: PCI-EISA dma_mask · e34121f7
      Marc Zyngier authored
      - Use parent bridge device dma_mask as default for each discovered
        device.
      e34121f7
    • Marc Zyngier's avatar
      [PATCH] EISA: PA-RISC changes · e0e5907e
      Marc Zyngier authored
      - Probe the right number of EISA slots on PA-RISC. No more, no less.
      e0e5907e
    • Marc Zyngier's avatar
      [PATCH] EISA: More EISA ids · 5fe1dbf4
      Marc Zyngier authored
      5fe1dbf4
    • Marc Zyngier's avatar
      [PATCH] EISA: Documentation update · d8d9c9e8
      Marc Zyngier authored
      d8d9c9e8
    • Marc Zyngier's avatar
      [PATCH] EISA: core changes · ddb6ee51
      Marc Zyngier authored
      - Now reserves I/O ranges according to EISA specs (four 256 bytes
        regions instead of a single 4KB region).
      
      - By default, do not try to probe the bus if the mainboard does not
        seems to support EISA (allow this behaviour to be changed through a
        command-line option).
      
      - Use parent bridge device dma_mask as default for each discovered
        device.
      
      - Allow devices to be enabled or disabled from the kernel command line
        (useful for non-x86 platforms where the firmware simply disable
        devices it doesn't know about...).
      ddb6ee51
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/jgarzik/irda-2.5 · ee389f0a
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      ee389f0a
    • Linus Torvalds's avatar
      Carl-Daniel Hailfinger suggest adding a paranoid incoming · 87d890b8
      Linus Torvalds authored
      trigger as per the "bk help triggers" suggestion, so that
      we'll see any new triggers showing up in the tree.
      
      Make it so.
      87d890b8
    • Trond Myklebust's avatar
      [PATCH] Use the intents in 'nameidata' to improve NFS close-to-open consistency · 52d1430d
      Trond Myklebust authored
        - Make use of the open intents to improve close-to-open
          cache consistency. Only force data cache revalidation when
          we're doing an open().
      
        - Add true exclusive create to NFSv3.
      
        - Optimize away the redundant ->lookup() to check for an
          existing file when we know that we're doing NFSv3 exclusive
          create.
      
        - Optimize away all ->permission() checks other than those for
          path traversal, open(), and sys_access().
      52d1430d
    • Trond Myklebust's avatar
      [PATCH] Pass 'nameidata' to ->permission() · a574f324
      Trond Myklebust authored
         - Make the VFS pass the struct nameidata as an optional parameter
           to the permission() inode operation.
      
         - Patch may_create()/may_open() so it passes the struct nameidata from
           vfs_create()/open_namei() as an argument to permission().
      
         - Add an intent flag for the sys_access() function.
      a574f324
    • Trond Myklebust's avatar
      [PATCH] Pass 'nameidata' to ->create() · 675b5da0
      Trond Myklebust authored
        - Make the VFS pass the struct nameidata as an optional argument
          to the create inode operation.
        - Patch vfs_create() to take a struct nameidata as an optional
          argument.
      675b5da0
    • Trond Myklebust's avatar
      [PATCH] Add open intent information to the 'struct nameidata' · fc8b427e
      Trond Myklebust authored
       - Add open intent information to the 'struct nameidata'.
       - Pass the struct nameidata as an optional parameter to the
         lookup() inode operation.
       - Pass the struct nameidata as an optional parameter to the
         d_revalidate() dentry operation.
       - Make link_path_walk() set the LOOKUP_CONTINUE flag in nd->flags instead
         of passing it as an extra parameter to d_revalidate().
       - Make open_namei(), and sys_uselib() set the open()/create() intent
         data.
      fc8b427e
  4. 03 Jul, 2003 20 commits