1. 30 Mar, 2006 9 commits
    • Jeff Garzik's avatar
      [libata] ahci: add ATI SB600 PCI IDs · 8b316a39
      Jeff Garzik authored
      From: Anatoli Antonovitch <antonovi@ati.com>
      Signed-off-by: default avatarFelix Kuehling <fkuehlin@ati.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      8b316a39
    • Jeff Garzik's avatar
      Merge branch 'mv-merge' · 55d8ca4f
      Jeff Garzik authored
      Conflicts:
      
      	drivers/scsi/sata_mv.c
      55d8ca4f
    • Mark Lord's avatar
      [PATCH] sata_mv: three bug fixes · 63af2a5c
      Mark Lord authored
      (1) A DMA transfer size of 0x10000 was not being written
      as 0x0000 in the PRDs.  Fixed.
      
      (1) The DEV_IRQ interrupt cause bit happens spuriously
      during EDMA operation, and was not being ignored by the driver.
      This led to various "drive busy" errors being reported,
      with associated unpredictable behaviour.  Fixed.
      
      (2) If a SATA or PCI interrupt was received with no outstanding
      command, the interrupt handler still attempted to invoke
      ata_qc_complete(), triggering assert()/BUG_ON() behaviour
      elsewhere in libata.  Fixed.
      
      The driver still has issues with confusion after error-recovery,
      but should now  be reliable in the absence of drive errors.
      I will be looking more into the error-handling bugs next.
      Signed-Off-By: default avatarMark Lord <mlord@pobox.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      63af2a5c
    • Albert Lee's avatar
      [PATCH] libata: ata_dev_init_params() fixes · 00b6f5e9
      Albert Lee authored
      ata_dev_init_params() fixes:
      - Get the "heads" and "sectors" parameters from caller instead of implicitly from dev->id[].
      - Return AC_ERR_INVALID instead of 0 if an invalid parameter is found
      Signed-off-by: default avatarAlbert Lee <albertcc@tw.ibm.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      00b6f5e9
    • Alan Cox's avatar
      [PATCH] libata: Fix interesting use of "extern" and also some bracketing · 17efc5f7
      Alan Cox authored
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      
      Last of the set, just clean up some oddments. Assuming the whole set is
      now ok then the remaining differences are the setup of PIO_0 at reset
      and the ->data_xfer method.
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      17efc5f7
    • Alan Cox's avatar
      [PATCH] libata: Simplex and other mode filtering logic · 5444a6f4
      Alan Cox authored
      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: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      5444a6f4
    • Alan Cox's avatar
      [PATCH] libata - ATA is both ATA and CFA · 692785e7
      Alan Cox authored
      I think this is still needed with the new probe code (which btw seems to
      be missing docs in upstream ?).
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      692785e7
    • Alan Cox's avatar
      [PATCH] libata: Add ->set_mode hook for odd drivers · e35a9e01
      Alan Cox authored
      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: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      e35a9e01
    • Alan Cox's avatar
      [PATCH] libata: BMDMA handling updates · 4e5ec5db
      Alan Cox authored
      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: default avatarJeff Garzik <jeff@garzik.org>
      4e5ec5db
  2. 29 Mar, 2006 31 commits