1. 16 7月, 2006 2 次提交
    • J
      [libata] ata_piix: Consolidate PCS register writing · ea35d29e
      Jeff Garzik 提交于
      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: NJeff Garzik <jeff@garzik.org>
      ea35d29e
    • T
      [PATCH] ata_piix: add host_set private structure · d96715c1
      Tejun Heo 提交于
      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: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      d96715c1
  2. 27 6月, 2006 1 次提交
  3. 31 5月, 2006 2 次提交
  4. 27 5月, 2006 1 次提交
  5. 24 5月, 2006 1 次提交
  6. 20 5月, 2006 1 次提交
  7. 15 5月, 2006 2 次提交
  8. 11 4月, 2006 1 次提交
  9. 03 4月, 2006 1 次提交
  10. 31 3月, 2006 1 次提交
  11. 24 3月, 2006 1 次提交
  12. 22 3月, 2006 1 次提交
  13. 05 3月, 2006 1 次提交
  14. 04 3月, 2006 4 次提交
  15. 20 2月, 2006 2 次提交
  16. 13 2月, 2006 2 次提交
  17. 10 2月, 2006 1 次提交
  18. 29 1月, 2006 2 次提交
  19. 27 1月, 2006 1 次提交
    • T
      [PATCH] ata_piix: fix MAP VALUE interpretation for for ICH6/7 · ff0fc146
      Tejun Heo 提交于
      Unlike their older siblings, ICH6 and 7 use different scheme for MAP
      VALUE.  This patch makes ata_piix interpret MV properly on ICH6/7.
      
      Pre-ICH6/7
      
       The value of these bits indicate the address range the SATA port
       responds to, and whether or not the SATA and IDE functions are
       combined.
      
       000 = Non-combined. P0 is primary master. P1 is secondary master.
       001 = Non-combined. P0 is secondary master. P1 is primary master.
       100 = Combined. P0 is primary master. P1 is primary slave. P-ATA is
             2:0 Map Value secondary.
       101 = Combined. P0 is primary slave. P1 is primary master. P-ATA is
             secondary.
       110 = Combined. P-ATA is primary. P0 is secondary master. P1 is
             secondary slave.
       111 = Combined. P-ATA is primary. P0 is secondary slave. P1 is
             secondary master.
      
      ICH6/7
      
       Map Value - R/W. Map Value (MV): The value in the bits below indicate
      the address range the SATA ports responds to, and whether or not the
      PATA and SATA functions are combined. When in combined mode, the AHCI
      memory space is not available and AHCI may not be used.
      
       00 = Non-combined. P0 is primary master, P2 is the primary slave. P1
            is secondary master, P3 is the 1:0 secondary slave (desktop
            only). P0 is primary master, P2 is the primary slave (mobile
            only).
       01 = Combined. IDE is primary. P1 is secondary master, P3 is the
            secondary slave. (desktop only)
       10 = Combined. P0 is primary master. P2 is primary slave. IDE is secondary
       11 = Reserved
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      
      --
      
      Jeff, without this patch, ata_piix misdetects my ICH7's combined mode,
      ending up not applying bridge limits to PX-710SA and configuring IDE
      drive on 40-c cable to UDMA/66.
      
      Thanks.
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      ff0fc146
  20. 18 1月, 2006 1 次提交
  21. 07 1月, 2006 1 次提交
    • J
      [PATCH] Suspend support for libata · 9b847548
      Jens Axboe 提交于
      This patch adds suspend patch to libata, and ata_piix in particular. For
      most low level drivers, they should just need to add the 4 hooks to
      work. As I can only test ata_piix, I didn't enable it for more
      though.
      
      Suspend support is the single most important feature on a notebook, and
      most new notebooks have sata drives. It's quite embarrassing that we
      _still_ do not support this. Right now, it's perfectly possible to
      suspend the drive in mid-transfer.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9b847548
  22. 06 1月, 2006 1 次提交
  23. 13 12月, 2005 2 次提交
  24. 17 11月, 2005 1 次提交
  25. 15 11月, 2005 1 次提交
  26. 11 11月, 2005 1 次提交
  27. 10 11月, 2005 1 次提交
  28. 07 11月, 2005 1 次提交
  29. 30 10月, 2005 2 次提交