1. 16 May, 2004 2 commits
    • Jeff Garzik's avatar
      [libata] remove redundant use of ATA_QCFLAG_SG in ATAPI packet translation · e9c8846e
      Jeff Garzik authored
      ata_scsi_translate() sets this flag for all ATA->SCSI translated
      commands, so it need not be done in atapi_xlat().  The now-removed
      use in atapi_xlat() was also inconsistent WRT PIO versus DMA.
      e9c8846e
    • Jeff Garzik's avatar
      [libata] DMADIR support · d89ee021
      Jeff Garzik authored
      DMADIR bit is necessary for some PATA->SATA bridges.  These
      bridges require the OS driver to specify the data xfer direction,
      for PACKET (a.k.a. scsi) commands.
      
      A reliable DMADIR detection method hasn't yet been developed,
      and ATAPI is still a WIP, so DMADIR is enabled with an ifdef for
      now.
      d89ee021
  2. 15 May, 2004 4 commits
    • Jeff Garzik's avatar
      [libata] handle non-data ATAPI commands via interrupt · 80e00375
      Jeff Garzik authored
      It's easier to do it this way, than polling, at the moment.
      
      Also, fix a test in ata_scsi_translate that was incorrectly
      erroring-out non-data commands.
      80e00375
    • Jeff Garzik's avatar
      [libata] minor stuff · 96b2b4d7
      Jeff Garzik authored
      * now that ATAPI is close to working, making ATAPI DMA interrupts
        in ata_host_intr
      * remove unnecessary space character in printk() output (oh, the horror)
      96b2b4d7
    • Jeff Garzik's avatar
      [libata] internal cleanups · 50112a63
      Jeff Garzik authored
      Remove unused 'done_late' arg to ata_qc_complete(), which was never
      useful in 2.4, and never used at all in 2.6.
      
      This allows us to eliminate the same arg from ata_dma_complete(),
      and also make it more correct by passing the command rather than
      the ATA port structure as arg0.
      50112a63
    • Jeff Garzik's avatar
      Merge redhat.com:/spare/repo/sata-hacks/atapi-hacks-2.6 · 1ad2c4d1
      Jeff Garzik authored
      into redhat.com:/spare/repo/libata-2.6
      1ad2c4d1
  3. 14 May, 2004 34 commits