1. 18 Mar, 2004 4 commits
    • Jeff Garzik's avatar
      [libata sata_sil] add post-set-mode hook to libata, use it · 310d420e
      Jeff Garzik authored
      Silicon Image has a register that indicates the data transfer mode
      (pio-old, pio-new, mdma or udma) that must be initialized after
      the SET FEATURES - XFER command has been issued.  This requires a
      hook in libata core to set the register at the right time.
      
      Also, limit to UDMA5 due to scary comments in FreeBSD about chip errata.
      310d420e
    • Jeff Garzik's avatar
      [libata] API cleanup · fd382b8f
      Jeff Garzik authored
      Remove ->phy_config hook, everybody used pata_phy_config.  Rename
      function to ata_set_mode, and directly call internally.
      fd382b8f
    • Jeff Garzik's avatar
      [libata sata_sil] port init cleanup, mask SATA phy interrupts · 45e79175
      Jeff Garzik authored
      * don't define a constant for each of four sets of register block
        offsets, use a table instead.
      * mask all SATA phy interrupt events, for each port
      45e79175
    • Jeff Garzik's avatar
      [libata] update dma start/stop path to only set/clear the bits we care about · 4b01f66c
      Jeff Garzik authored
      Legacy IDE software has traditionally unconditionally cleared the
      bits in the IDE BMDMA control register, but at least one controller
      has important bits in the 'reserved' area that we don't want to touch.
      So now, we only set/clear the data-direction and dma-start bits, and
      leave the rest alone.
      4b01f66c
  2. 16 Mar, 2004 25 commits
  3. 15 Mar, 2004 11 commits