1. 07 1月, 2016 2 次提交
    • F
      atari_NCR5380: Remove RESET_BOOT, CONFIG_ATARI_SCSI_TOSHIBA_DELAY and CONFIG_ATARI_SCSI_RESET_BOOT · 9c3f0e2b
      Finn Thain 提交于
      The atari_NCR5380.c core driver now takes care of bus reset upon driver
      initialization if required (same as NCR5380.c). Move the Toshiba CD-ROM
      support into the core driver, enabled with a host flag, so that all
      NCR5380 drivers can make use of it.
      
      Drop the RESET_BOOT macros and the ATARI_SCSI_RESET_BOOT and
      ATARI_SCSI_TOSHIBA_DELAY Kconfig symbols, which are now redundant.
      
      Remove the atari_scsi_reset_boot(), mac_scsi_reset_boot() and
      sun3_scsi_reset_boot() routines. None of this duplicated code is needed
      now that all drivers can use NCR5380_maybe_reset_bus().
      
      This brings atari_scsi, mac_scsi and sun3_scsi into line with all of the
      other NCR5380 drivers.
      
      The bus reset may raise an interrupt. That would be new behaviour for
      atari_scsi only when CONFIG_ATARI_SCSI_RESET_BOOT=n. The ST DMA interrupt
      is not assigned to atari_scsi at this stage, so
      CONFIG_ATARI_SCSI_RESET_BOOT=y may well be problematic already.
      Regardless, do_reset() now raises and clears the interrupt within
      local_irq_save/restore which should avoid problems.
      Signed-off-by: NFinn Thain <fthain@telegraphics.com.au>
      Reviewed-by: NHannes Reinecke <hare@suse.com>
      Tested-by: NOndrej Zary <linux@rainbow-software.org>
      Tested-by: NMichael Schmitz <schmitzmic@gmail.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      9c3f0e2b
    • F
      ncr5380: Remove NCR5380_local_declare and NCR5380_setup macros · 54d8fe44
      Finn Thain 提交于
      The NCR5380_local_declare and NCR5380_setup macros exist to define and
      initialize a particular local variable, to provide the address of the
      chip registers needed for the driver's implementation of its
      NCR5380_read/write register access macros.
      
      In cumana_1 and macscsi, these macros generate pointless code like this,
      	struct Scsi_Host *_instance;
      	_instance = instance;
      
      In pas16, the use of NCR5380_read/write in pas16_hw_detect() requires that
      the io_port local variable has been defined and initialized, but the
      NCR5380_local_declare and NCR5380_setup macros can't be used for that
      purpose because the Scsi_Host struct has not yet been instantiated.
      
      Moreover, these macros were removed from atari_NCR5380.c long ago and
      now they constitute yet another discrepancy between the two core driver
      forks.
      
      Remove these "optimizations".
      Signed-off-by: NFinn Thain <fthain@telegraphics.com.au>
      Reviewed-by: NHannes Reinecke <hare@suse.com>
      Tested-by: NOndrej Zary <linux@rainbow-software.org>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      54d8fe44
  2. 09 3月, 2015 1 次提交
  3. 20 11月, 2014 15 次提交
  4. 29 10月, 2014 1 次提交
  5. 28 5月, 2014 2 次提交
  6. 20 12月, 2013 1 次提交
  7. 10 4月, 2013 1 次提交
  8. 29 3月, 2012 1 次提交
  9. 22 1月, 2012 1 次提交
  10. 15 12月, 2011 1 次提交
  11. 30 6月, 2011 2 次提交
  12. 29 12月, 2008 1 次提交
  13. 08 4月, 2008 1 次提交
  14. 25 11月, 2007 1 次提交
    • J
      [SCSI] NCR5380: Fix bugs and canonicalize irq handler usage · 1e641664
      Jeff Garzik 提交于
      * Always pass the same value to free_irq() that we pass to
        request_irq().  This fixes several bugs.
      
      * Always call NCR5380_intr() with 'irq' and 'dev_id' arguments.
      
        Note, scsi_falcon_intr() is the only case now where dev_id is not the
        scsi_host.
      
      * Always pass Scsi_Host to request_irq().  For most cases, the drivers
        already did so, and I merely neated the source code line.  In other
        cases, either NULL or a non-sensical value was passed, verified to be
        unused, then changed to be Scsi_Host in anticipation of the future.
      
      In addition to the bugs fixes, this change makes the interface usage
      consistent, which in turn enables the possibility of directly
      referencing Scsi_Host from all NCR5380_intr() invocations.
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      1e641664
  15. 17 10月, 2007 1 次提交
  16. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  17. 26 6月, 2006 1 次提交
  18. 10 11月, 2005 1 次提交
  19. 18 6月, 2005 1 次提交
  20. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4