1. 29 Apr, 2003 11 commits
    • Heiko Carstens's avatar
      [PATCH] set data direction in sd_synchronize_cache in sd.c · 199cefec
      Heiko Carstens authored
      Hi,
      
      the following patch sets the data direction in sd_synchronize_cache
      to SCSI_DATA_NONE. Otherwise the data direction would be
      SCSI_DATA_UNKNOWN, which is at least a problem for the zfcp
      lldd, since it expects a value differently from unknown.
      Please apply, thanks.
      
      Heiko
      199cefec
    • Christoph Hellwig's avatar
      [PATCH] move max_sectors intitalization fully to scsi_register · 0366c186
      Christoph Hellwig authored
      Addresses the fixme in scsi_alloc_queue.
      0366c186
    • Christoph Hellwig's avatar
      [PATCH] scsi_requeuest_fn · 5ee62ae2
      Christoph Hellwig authored
      Okay, when doing some other stuff I looked over this one, and it's
      a bit confusing to read:
      
       - using a goto completed where a simple break would be sufficient
       - using for (;;) for a perfectly fine while loop
       - ...
      
      but what's more interesting is that the spinlock handling in here,
      when we switch from sdev_lock/queue_lock to host_lock we
      do a spin_unlock_irq followed by a spin_lock_irqsave - but we
      we just enabled interrupts so the save isn't nessecary at all, even
      more we can just do spin_unlock/spin_lock when keeping them
      disabled.  Also we drop host_lock in the middle of this function,
      just to reacquire it a tad later in scsi_dispatch_cmd, but fixing
      that need a bit more thinking as there's another caller for
      scsi_dispatch_cmd.
      5ee62ae2
    • Christoph Hellwig's avatar
      [PATCH] remove dead scsi_cmnd members · 22aab371
      Christoph Hellwig authored
      ->reset_chain is initialized by the midlayer only used in BusLogic's old EH
      code (which is never called and thus can be #if 0'ed out until someone with
      the hardware updates it to new EH), ->done_late is never used.
      22aab371
    • Christoph Hellwig's avatar
      [PATCH] remove dead struct scsi_device members · 184eb8ff
      Christoph Hellwig authored
      ->scpnt_wait is initialized and cpqfc calls wake_up on it but no one
      ever waits for it, ->allow_revalidate is completly unused.
      184eb8ff
    • Christoph Hellwig's avatar
      [PATCH] fix scsi_debug compile warning · d7fd7940
      Christoph Hellwig authored
      spin_lock_irqsave takes an unsigned long.
      d7fd7940
    • Christoph Hellwig's avatar
      [PATCH] use scsi_report_bus_reset() in scsi_erroc.c · 8ced8ec0
      Christoph Hellwig authored
      Currently scsi_error.c has two opencoded copies for
      scsi_report_bus_reset.  Get rid of them.
      8ced8ec0
    • Christoph Hellwig's avatar
      [PATCH] kill pcmcia driver bind_info horror · dca114f5
      Christoph Hellwig authored
      Currenty pcmcia drivers do a loop on their devices for issuing a
      SCSI_IOCTL_GET_IDLUN ioctl from kernelspace and passing dev->type
      to userspace so cardmgr can guess the the dev_t and find the
      device node of it.
      
      But it doesn't actually use it but only pass it as optional arguments
      to it's poor-man's hotplug scripts.  So kill this horror of, we
      have proper hotplug scripts in 2.5.  And here we go, the first big
      host->my_devices abuser is gone.
      dca114f5
    • Christoph Hellwig's avatar
      [PATCH] kill scsi_dump_status · 9b153ccb
      Christoph Hellwig authored
      Is someone still using the echo dump > /proc/scsi/scsi feature?  I think
      we should kill it as we're getting much nicer output from sysfs these
      days..
      9b153ccb
    • Christoph Hellwig's avatar
      [PATCH] split private and public scsi headers · 21eb047c
      Christoph Hellwig authored
      Two new headers:
      
        scsi_priv.h - for macros/declarations private to the scsi midlayer
      		  (= not EXPORT_SYMBOL()ed)
        scsi_logging.h - for SCSI_LOG_* and friends, semi-private to the
        		midlayer and the upper drivers.  One abuse of this
      		in dpt_i2o killed.
      21eb047c
    • Anton Blanchard's avatar
      [PATCH] Re: Make sym2 driver use pci_enable_device · 30ec75cc
      Anton Blanchard authored
      > The sym2 driver should use the generic pci_enable_device() and
      > pci_set_master() functions.
      
      Sorry, wrong patch. We need to read COMMAND after doing
      pci_enable_device/pci_set_master. We should also check the return
      valie of pci_enable_device.
      
      Anton
      
      ===== drivers/scsi/sym53c8xx_2/sym_glue.c 1.16 vs edited =====
      30ec75cc
  2. 28 Apr, 2003 10 commits
  3. 29 Apr, 2003 2 commits
    • Russell King's avatar
      [ARM] Update mach-types to latest version. · 817a52ad
      Russell King authored
      817a52ad
    • Russell King's avatar
      [ARM] Fix elf_fpregset_t · b7d48a12
      Russell King authored
      This is a fix from eons ago, which apparantly has been in the old
      Rebel.com netwinder CVS for several years, and has never been
      submitted upstream.
      
      This fix allows FP registers to be correctly written to ELF core
      files, as well as preventing corruption of other parts of ELF core
      files caused by data on the kernel stack being overwritten.
      b7d48a12
  4. 28 Apr, 2003 7 commits
  5. 27 Apr, 2003 10 commits