1. 27 1月, 2008 2 次提交
    • B
      ide: remove ->ide_dma_on and ->dma_off_quietly methods from ide_hwif_t · 4a546e04
      Bartlomiej Zolnierkiewicz 提交于
      * Make ide_dma_off_quietly() and __ide_dma_on() always available.
      
      * Drop "__" prefix from __ide_dma_on().
      
      * Check for presence of ->dma_host_on instead of ->ide_dma_on.
      
      * Convert all users of ->ide_dma_on and ->dma_off_quietly methods
        to use ide_dma_on() and ide_dma_off_quietly() instead.
      
      * Remove no longer needed ->ide_dma_on and ->dma_off_quietly methods
        from ide_hwif_t.
      
      * Make ide_dma_on() void.
      
      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>
      4a546e04
    • B
      cy82c693: add ->set_dma_mode method · 8704de8f
      Bartlomiej Zolnierkiewicz 提交于
      * Fix SWDMA/MWDMA masks in cy82c693_chipset.
      
      * Add IDE_HFLAG_CY82C693 host flag and use it in ide_tune_dma() to
        check whether the DMA should be enabled even if ide_max_dma_mode()
        fails.
      
      * Convert cy82c693_dma_enable() to become cy82c693_set_dma_mode()
        and remove no longer needed cy82c693_ide_dma_on().  Then set
        IDE_HFLAG_CY82C693 instead of IDE_HFLAG_TRUST_BIOS_FOR_DMA in
        cy82c693_chipset.
      
      * Bump driver version.
      
      As a result of this patch cy82c693 driver will configure and use DMA on
      all SWDMA0-2 and MWDMA0-2 capable ATA devices instead of relying on BIOS.
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      8704de8f
  2. 26 1月, 2008 38 次提交