1. 02 4月, 2006 6 次提交
  2. 30 3月, 2006 3 次提交
    • A
      [PATCH] libata: Simplex and other mode filtering logic · 5444a6f4
      Alan Cox 提交于
      Add a field to the host_set called 'flags' (was host_set_flags changed
      to suit Jeff)
      Add a simplex_claimed field so we can remember who owns the DMA channel
      Add a ->mode_filter() hook to allow drivers to filter modes
      Add docs for mode_filter and set_mode
      Filter according to simplex state
      Filter cable in core
      
      This provides the needed framework to support all the mode rules found
      in the PATA world. The simplex filter deals with 'to spec' simplex DMA
      systems found in older chips. The cable filter avoids duplicating the
      same rules in each chip driver with PATA. Finally the mode filter is
      neccessary because drive/chip combinations have errata that forbid
      certain modes with some drives or types of ATA object.
      
      Drive speed setup remains per channel for now and the filters now use
      the framework Tejun put into place which cleans them up a lot from the
      older libata-pata patches.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      5444a6f4
    • A
      [PATCH] libata: Add ->set_mode hook for odd drivers · e35a9e01
      Alan Cox 提交于
      Some hardware doesn't want the usual mode setup logic running. This
      allows the hardware driver to replace it for special cases in the least
      invasive way possible.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      e35a9e01
    • A
      [PATCH] libata: BMDMA handling updates · 4e5ec5db
      Alan Cox 提交于
      This is the minimal patch set to enable the current code to be used with
      a controller following SFF (ie any PATA and early SATA controllers)
      safely without crashes if there is no BMDMA area or if BMDMA is not
      assigned by the BIOS for some reason.
      
      Simplex status is recorded but not acted upon in this change, this isn't
      a problem with the current drivers as none of them are for simplex
      hardware. A following diff will deal with that.
      
      The flags in the probe structure remain ->host_set_flags although Jeff
      asked me to rename them, simply because the rename would break the usual
      Linux rules that old code should break when there are changes. not
      compile and run and then blow up/eat your computer/etc. Renaming this
      later is a trivial exercise once a better name is chosen.
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      4e5ec5db
  3. 25 3月, 2006 1 次提交
  4. 24 3月, 2006 4 次提交
  5. 22 3月, 2006 3 次提交
  6. 12 3月, 2006 4 次提交
  7. 06 3月, 2006 1 次提交
    • T
      [PATCH] libata: implement ata_dev_revalidate() · 623a3128
      Tejun Heo 提交于
      ata_dev_revalidate() re-reads IDENTIFY PAGE of the given device and
      makes sure it's the same device as the configured one.  Once it's
      verified that it's the same device, @dev is configured according to
      newly read IDENTIFY PAGE.  Note that revalidation currently doesn't
      invoke transfer mode reconfiguration.
      
      Criteria for 'same device'
      
      * same class (of course)
      * same model string
      * same serial string
      * if ATA, same n_sectors (to catch geometry parameter changes)
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      623a3128
  8. 04 3月, 2006 3 次提交
  9. 21 2月, 2006 1 次提交
  10. 20 2月, 2006 1 次提交
  11. 13 2月, 2006 3 次提交
  12. 12 2月, 2006 2 次提交
  13. 10 2月, 2006 2 次提交
  14. 09 2月, 2006 4 次提交
  15. 28 1月, 2006 2 次提交