1. 10 Mar, 2005 2 commits
    • Bartlomiej Zolnierkiewicz's avatar
      [ide] fix drive->ready_stat for ATAPI · 1ef372a6
      Bartlomiej Zolnierkiewicz authored
      ATAPI devices ignore DRDY bit so drive->ready_stat must be set to zero.
      It is currently done by device drivers (including ide-default fake driver)
      but for PMAC driver it is too late as wait_for_ready() may be called during
      probe: probe_hwif()->pmac_ide_dma_check()->pmac_ide_{mdma,udma}_enable()->
      ->pmac_ide_do_setfeature()->wait_for_ready().
      
      Fixup drive->ready_stat just after detecting ATAPI device.
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      1ef372a6
    • bram.verweij@wanadoo.nl's avatar
      [ide] fix DMA support for LBA48 disks on ALi15x3 (revs < 0xC5) · dc282020
      bram.verweij@wanadoo.nl authored
      From: Bram Verweij <bram.verweij@wanadoo.nl>
      
      The problem seems to be that ide-disk.c tries to use PIO mode for
      blocks > 137 GB (which is good), and LBA48 + DMA for blocks <= 137GB
      (which is known to be a problem, i.e., this is why the no_lba48_dma 
      field was introduced in the first place).  Attached is a small patch
      that makes ide-disk.c use PIO mode for blocks > 137 GB, and LBA28 DMA
      (instead of LBA48 DMA) for blocks <= 137 GB.
      
      bart: argh, I forgot about 'lba48' flag; patch slightly modified by me
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      dc282020
  2. 09 Mar, 2005 38 commits