1. 25 7月, 2008 2 次提交
  2. 24 7月, 2008 2 次提交
  3. 17 7月, 2008 1 次提交
  4. 16 7月, 2008 1 次提交
  5. 15 5月, 2008 4 次提交
  6. 30 4月, 2008 1 次提交
    • A
      alim15x3: disable init_hwif_ali15x3 for PowerPC · 6d1cee44
      Anton Vorontsov 提交于
      We don't need init_hwif_ali15x3() on the PowerPC systems either.
      
      Before:
      
      ALI15X3: IDE controller (0x10b9:0x5229 rev 0xc8) at  PCI slot 0001:03:1f.0
      ALI15X3: 100% native mode on irq 19
          ide0: BM-DMA at 0x1120-0x1127
          ide1: BM-DMA at 0x1128-0x112f
      hda: SONY DVD RW AW-Q170A, ATAPI CD/DVD-ROM drive
      hda: UDMA/66 mode selected
      ide0: Disabled unable to get IRQ 14.
      ide0: failed to initialize IDE interface
      ide1: Disabled unable to get IRQ 15.
      ide1: failed to initialize IDE interface
      
      After:
      
      ALI15X3: IDE controller (0x10b9:0x5229 rev 0xc8) at  PCI slot 0001:03:1f.0
      ALI15X3: 100% native mode on irq 19
          ide0: BM-DMA at 0x1120-0x1127
          ide1: BM-DMA at 0x1128-0x112f
      hda: SONY DVD RW AW-Q170A, ATAPI CD/DVD-ROM drive
      hda: UDMA/66 mode selected
      ide0 at 0x1100-0x1107,0x110a on irq 19
      ide1 at 0x1110-0x1117,0x111a on irq 19
      hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
      
      ide0 works well, though I can't test ide1, it isn't traced out on
      the board.
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      6d1cee44
  7. 27 4月, 2008 8 次提交
  8. 26 4月, 2008 1 次提交
  9. 03 2月, 2008 2 次提交
  10. 02 2月, 2008 4 次提交
  11. 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
  12. 28 11月, 2007 1 次提交
  13. 20 10月, 2007 4 次提交
  14. 19 10月, 2007 7 次提交
  15. 17 10月, 2007 1 次提交
    • B
      ide: remove hwif->autodma and drive->autodma · 9ff6f72f
      Bartlomiej Zolnierkiewicz 提交于
      * hpt34x.c: disable DMA masks for HPT345
        (hwif->autodma is zero so DMA won't be enabled anyway).
      
      * trm290.c: disable IDE_HFLAG_TRUST_BIOS_FOR_DMA flag
        (hwif->autodma is zero so DMA won't be enabled anyway).
      
      * Check noautodma global variable instead of drive->autodma in ide_tune_dma().
      
        This fixes handling of "ide=nodma" kernel parameter for icside, ide-cris,
        au1xxx-ide, pmac, it821x, jmicron, sgiioc4 and siimage host drivers.
      
      * Remove hwif->autodma (it was not checked by IDE core code anyway) and
        drive->autodma (was set by all host drivers - except HPT345/TRM290 special
        cases - unless "ide=nodma" was used).
      
      While at it:
      - remove needless printk() from icside.c
      - remove stale FIXME/comment from ide-probe.c
      - don't force DMA off if PCI bus-mastering had to be enabled in setup-pci.c
        (this setting was always later over-ridden by host drivers anyway)
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      9ff6f72f