1. 16 Jul, 2006 2 commits
    • Jeff Garzik's avatar
      [libata] ata_piix: Consolidate PCS register writing · ea35d29e
      Jeff Garzik authored
      Prior to this patch, the driver would do this for each port:
      	read 8-bit PCS
      	write 8-bit PCS
      	read 8-bit PCS
      	write 8-bit PCS
      
      In the field, flaky behavior has been observed related to this register.
      In particular, these overzealous register writes can cause misdetection
      problems.
      
      Update to do the following once (not once per port) at boot:
      	read 16-bit PCS
      	if needs changing,
      		write 16-bit PCS
      
      And thereafter, we only perform a 'read 16-bit PCS' per port.
      
      This should eliminate all PCS writes in many cases, and be more friendly
      in the cases where we do need to enable ports.
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      ea35d29e
    • Tejun Heo's avatar
      [PATCH] ata_piix: add host_set private structure · d96715c1
      Tejun Heo authored
      Add host_set private structure piix_host_priv.  Currently the only
      field is ->map which used to be stored directly at
      host_set->private_data.  This change allows more host_set private
      fields to be added.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      d96715c1
  2. 15 Jul, 2006 38 commits