1. 23 Jan, 2008 5 commits
    • Alan Cox's avatar
      libata-sff: tf_load · 76548eda
      Alan Cox authored
      Jeff said he preferred that the SFF tf_load followed the spec and we
      documented that anyone who needed different overrode it, rather than it
      using the ->check_status methods. No driver relies on the current behaviour.
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      76548eda
    • Alan Cox's avatar
      libata: IORDY handling · b9f8ab2d
      Alan Cox authored
      I believe this version meets all Sergei's objections
      
      Correct the logic for when we issue a set features for transfer mode
      
      - If the device has IORDY and the controller has IORDY - set the mode
      - If the device has IORDY and the controller does not - turn IORDY off
      - If neither has IORDY do nothing
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      b9f8ab2d
    • Shaohua Li's avatar
      libata-acpi: add ACPI _PSx method · bd3adca5
      Shaohua Li authored
      ACPI spec (ver 3.0a, p289) requires IDE power on/off executes ACPI _PSx
      methods. As recently most PATA drivers use libata, this patch adds _PSx
      method support in libata. ACPI spec doesn't mention if SATA requires the
      same _PSx method.
      Signed-off-by: default avatarShaohua Li <shaohua.li@intel.com>
      Acked-by: default avatarLen Brown <len.brown@intel.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      bd3adca5
    • Alan Cox's avatar
      libata: Disable ATA8-ACS proposed Trusted Computing features by default · ae8d4ee7
      Alan Cox authored
      Historically word 48 in the identify data was used to mean 32bit I/O
      was supported for VLB IDE etc. ATA8 reassigns this word to the Trusted
      Computing Group, where it is used for TCG features. This means that
      an ATA8 TCG drive is going to trigger 32bit I/O on some systems which
      will be funny.
      
      Anyway we need to sort this out ready for ATA8 so:
      - Reorder the ata.h header a bit so the ata_version function occurs early
        in it
      - Make dword_io check the ATA version
      - Add an ATA8 version checking TCG presence test
      
      While we are at it the current drafts have a flaw where it may not be
      possible to disable TCG features at boot (and opt out of the trusted
      model) as TCG intends because it relies on presence of a different
      optional feature (DCS). Handle this in software by refusing the TCG
      commands if libata.allow_tpm is not set. (We must make it possible
      as some environments such as proprietary VDR devices will doubtless
      want to use it to lock up content)
      
      Finally as with CPRM print a warning so that the user knows they may
      not be able to full access and use the device.
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      ae8d4ee7
    • Peter Schwenke's avatar
      ata_piix: Add Toshiba Satellite R20 and Tecra M6 to broken suspend list. · ffe188dd
      Peter Schwenke authored
      Add Toshiba Satellite R20 and Tecra M6 to broken suspend list.  Matt
      Piermarini reported and provided the M6 patch.  This is from OSDL bug 7780.
      Signed-off-by: default avatarPeter Schwenke <peter@bluetoad.com.au>
      Cc: Matt Piermarini <mattpiermarini@yahoo.com>
      Acked-by: default avatarTejun Heo <htejun@gmail.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      ffe188dd
  2. 22 Jan, 2008 24 commits
  3. 21 Jan, 2008 11 commits