1. 24 Mar, 2004 4 commits
    • Jeff Garzik's avatar
      [ata] move some generic stuff linux/libata.h -> linux/ata.h · 04b29c99
      Jeff Garzik authored
      struct ata_taskfile is generic, and so far its flags (ATA_TFLAG_xxx)
      
      Also, move ATA_PROT_xxx definitions into their own enum.
      04b29c99
    • Jeff Garzik's avatar
      [libata] consolidate data transfer mode handling · 263924d7
      Jeff Garzik authored
      The various ways you can send data to/from your ATA device is
      known as the ATA taskfile protocol:  PIO single sector, PIO
      multiple sector, DMA, DMA TCQ, DMA NCQ, ...
      
      Prior to this change, the data direction (read/write) was encoded
      implicitly into the ATA_PROT_xxx value itself.  This increased
      complexity in some areas, and inhibited flexibility in others.
      
      This change separates data direction from taskfile protocol, and also
      moves the data direction flag (ATA_QCFLAG_WRITE) down to a lower
      level (ATA_TFLAG_WRITE).
      263924d7
    • Jeff Garzik's avatar
      [libata] set up some of the per-command data beforehand · 3b64bb0c
      Jeff Garzik authored
      The data transfer mode and the set of read/write commands we generate
      during normal operation remains constant until we change the data
      transfer mode.
      
      This removes a series of branches in the read/write fast path,
      and in general cleans up that particular spot of code.
      3b64bb0c
    • Jeff Garzik's avatar
      [libata sata_promise] check for PATA port on PDC20375 · afca2f69
      Jeff Garzik authored
      We don't handle it yet, but this prints out a message in its presence,
      permitting verification of the check and informing users why their
      PATA device is not recognized.
      afca2f69
  2. 23 Mar, 2004 4 commits
  3. 22 Mar, 2004 21 commits
  4. 21 Mar, 2004 11 commits