1. 25 5月, 2007 1 次提交
    • T
      Fix build failure for drivers/ata/pata_scc.c · 7e068376
      Tony Breeds 提交于
      The commit d4b2bab4 added deadline support
      to prereset and reset methods to libbata the pata_scc driver wasn't
      converted.  This patch is a naive attempt to bring this driver up to
      scratch.
      
      Build failures are:
      drivers/ata/pata_scc.c: In function 'scc_pata_prereset':
      drivers/ata/pata_scc.c:870: error: too few arguments to function 'ata_std_prereset'
      drivers/ata/pata_scc.c: In function 'scc_error_handler':
      drivers/ata/pata_scc.c:916: warning: passing argument 2 of 'ata_bmdma_drive_eh' from incompatible pointer type
      drivers/ata/pata_scc.c:916: warning: passing argument 3 of 'ata_bmdma_drive_eh' from incompatible pointer type
      drivers/ata/pata_scc.c: In function 'scc_pata_prereset':
      drivers/ata/pata_scc.c:871: warning: control reaches end of non-void function
      
      On a releated note scc_bus_post_reset() is (AFACT) identical to
      ata_bus_post_reset(), would a patch to make ata_bus_post_reset() assesable
      to drivers be accepted?
      Signed-off-by: NTony Breeds <tony@bakeyournoodle.com>
      Acked-by: NTejun Heo <htejun@gmail.com>
      Cc: Akira Iguchi <akira2.iguchi@toshiba.co.jp>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      7e068376
  2. 22 5月, 2007 1 次提交
  3. 16 5月, 2007 1 次提交
  4. 12 5月, 2007 1 次提交
    • T
      libata: reimplement suspend/resume support using sdev->manage_start_stop · 9666f400
      Tejun Heo 提交于
      Reimplement suspend/resume support using sdev->manage_start_stop.
      
      * Device suspend/resume is now SCSI layer's responsibility and the
        code is simplified a lot.
      
      * DPM is dropped.  This also simplifies code a lot.  Suspend/resume
        status is port-wide now.
      
      * ata_scsi_device_suspend/resume() and ata_dev_ready() removed.
      
      * Resume now has to wait for disk to spin up before proceeding.  I
        couldn't find easy way out as libata is in EH waiting for the
        disk to be ready and sd is waiting for EH to complete to issue
        START_STOP.
      
      * sdev->manage_start_stop is set to 1 in ata_scsi_slave_config().
        This fixes spindown on shutdown and suspend-to-disk.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      9666f400
  5. 10 5月, 2007 1 次提交
  6. 29 4月, 2007 1 次提交
    • T
      libata: convert the remaining PATA drivers to new init model · 5d728824
      Tejun Heo 提交于
      Convert pdc_adma, pata_cs5520, pata_isapnp, pata_ixp4xx_cf,
      pata_legacy, pata_mpc52xx, pata_mpiix, pata_pcmcia, pata_pdc2027x,
      pata_platform, pata_qdi, pata_scc and pata_winbond to new init model.
      
      * init_one()'s now follow more consistent init order
      
      * cs5520 now registers one host with two ports, not two hosts.  If any
        of the two ports are disabled, it's made dummy as other drivers do.
      
      Tested pdc_adma and pata_legacy.  Both are as broken as before.  The
      rest are compile tested only.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      5d728824
  7. 03 3月, 2007 1 次提交
  8. 26 2月, 2007 1 次提交
  9. 23 2月, 2007 1 次提交
  10. 21 2月, 2007 1 次提交