1. 01 4月, 2009 2 次提交
  2. 27 3月, 2009 1 次提交
    • B
      ide: add ->dma_timer_expiry method and remove ->dma_exec_cmd one (v2) · 22117d6e
      Bartlomiej Zolnierkiewicz 提交于
      * Rename dma_timer_expiry() to ide_dma_sff_timer_expiry() and export it.
      
      * Add ->dma_timer_expiry method and use it to set hwif->expiry for
        ATA_PROT_DMA protocol in do_rw_taskfile().
      
      * Initialize ->dma_timer_expiry to ide_dma_sff_timer_expiry() for SFF hosts.
      
      * Move setting hwif->expiry from ide_execute_command() to its users and drop
        'expiry' argument.
      
      * Use ide_execute_command() instead of ->dma_exec_cmd in do_rw_taskfile().
      
      * Remove ->dma_exec_cmd method and its implementations.
      
      * Unexport ide_execute_command() and ide_dma_intr().
      
      v2:
      * Fix CONFIG_BLK_DEV_IDEDMA=n build (noticed by Randy Dunlap).
      
      * Fix *dma_expiry naming (suggested by Sergei Shtylyov).
      
      There should be no functional changes caused by this patch.
      
      Cc: Randy Dunlap <randy.dunlap@oracle.com>
      Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      22117d6e
  3. 25 3月, 2009 1 次提交
  4. 15 1月, 2009 1 次提交
  5. 07 1月, 2009 2 次提交
  6. 22 10月, 2008 1 次提交
  7. 14 10月, 2008 2 次提交
  8. 11 10月, 2008 3 次提交
  9. 25 7月, 2008 4 次提交
  10. 24 7月, 2008 1 次提交
  11. 17 7月, 2008 1 次提交
  12. 27 4月, 2008 6 次提交
  13. 26 4月, 2008 1 次提交
  14. 18 4月, 2008 2 次提交
    • B
      ppc/sandpoint: remove ppc_ide_md hooks · 7ef8df81
      Bartlomiej Zolnierkiewicz 提交于
      * Add IDE_HFLAG_FORCE_LEGACY_IRQS host flag for Motorola-Sandpoint platform
        to sl82c105 host driver.
      
      * Disable ide_generic host driver in arch/ppc/configs/sandpoint_defconfig
        and enable sl82c105 one.
      
      * Remove ppc_ide_md hooks from arch/ppc/platforms/sandpoint.c - no need for
        them (sl82c105 host driver takes care of all this setup).
      
      * Then remove no longer needed <linux/ide.h> include.
      
      * Also update arch/ppc/platforms/sandpoint.h.
      
      Unfortunately (unlike lopec's case) sl82c105 host driver was not enabled
      in defconfing so there is a funcionality change.
      
      [ Not a big deal since sl82c105 is superior over ide_generic. ]
      
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      7ef8df81
    • B
      ppc/lopec: remove ppc_ide_md hooks · 5510b125
      Bartlomiej Zolnierkiewicz 提交于
      * Add IDE_HFLAG_FORCE_LEGACY_IRQS host flag for Motorola-LoPEC platform
        to sl82c105 host driver.
      
      * Remove ppc_ide_md hooks from arch/ppc/platforms/lopec.c - no need for
        them (sl82c105 host driver takes care of all this setup).
      
      * Then remove no longer needed <linux/ide.h> include.
      
      Looking at arch/ppc/configs/lopec_defconfig:
      
      ...
      CONFIG_IDE_GENERIC=y
      CONFIG_BLK_DEV_IDEPCI=y
      # CONFIG_IDEPCI_SHARE_IRQ is not set
      # CONFIG_BLK_DEV_OFFBOARD is not set
      CONFIG_BLK_DEV_GENERIC=y
      # CONFIG_BLK_DEV_OPTI621 is not set
      CONFIG_BLK_DEV_SL82C105=y
      ...
      
      there should be no functional changes unless somebody preferred to disable
      sl82c105 host driver and use only ide_generic one (but why would anybody
      want to do such thing :-).
      
      PS It seems that lopec_defconfig hasn't been updated for ages but if somebody
      is going to do it please look into disabling IDE_GENERIC and BLK_DEV_GENERIC
      config options.  Thanks.
      
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      5510b125
  15. 03 2月, 2008 1 次提交
  16. 02 2月, 2008 2 次提交
  17. 27 1月, 2008 2 次提交
  18. 26 1月, 2008 1 次提交
    • B
      ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag · 4db90a14
      Bartlomiej Zolnierkiewicz 提交于
      * Add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag and use it to decide
        what to do with transfer modes < XFER_PIO_0 in ide_set_xfer_rate().
      
      * Set IDE_HFLAG_ABUSE_SET_DMA_MODE in host drivers that need it
        (aec62xx, amd74xx, cs5520, cs5535, hpt34x, hpt366, pdc202xx_old,
        serverworks, tc86c001 and via82cxxx) and cleanup ->set_dma_mode
        methods in host drivers that don't (IDE core code guarantees that
        ->set_dma_mode will be called only for modes which are present
        in SWDMA/MWDMA/UDMA masks).
      
      While at it:
      
      * Add IDE_HFLAGS_HPT34X/HPT3XX/PDC202XX/SVWKS define in
        hpt34x/hpt366/pdc202xx_old/serverworks host driver.
      
      There should be no functionality changes caused by this patch.
      Acked-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      4db90a14
  19. 20 10月, 2007 3 次提交
  20. 19 10月, 2007 3 次提交