1. 19 Sep, 2006 5 commits
    • Alan Cox's avatar
      [PATCH] libata: improve handling of diagostic fail (and hardware that misreports it) · 93590859
      Alan Cox authored
      Our ATA probe code checks that a device is not reporting a diagnostic
      failure during start up. Unfortunately at least one device seems to like
      doing this - the Gigabyte iRAM.
      
      This is only done for the master right now (which is fine for the iRAM
      as it is SATA), as with PATA some combinations of ATAPI device seem to
      fool the check into seeing a drive that isn't there if it is applied to
      the slave.
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      93590859
    • Jeff Garzik's avatar
      Merge branch 'master' into upstream · 4a3381fe
      Jeff Garzik authored
      4a3381fe
    • Tejun Heo's avatar
      [PATCH] libata: fix non-uniform ports handling · fea63e38
      Tejun Heo authored
      Non-uniform ports handling got broken while updating libata to handle
      those in the same host.  Only separate irq for the non-uniform
      secondary port was implemented while all other fields (host flags,
      transfer mode...) of the secondary port simply shared those of the
      first.
      
      For ata_piix combined mode, which ATM is the only user of non-uniform
      ports, this causes the secondary port assume the wrong type.  This can
      cause PATA port to use SATA ops, which results in bogus check on PCS
      and detection failure.
      
      This patch adds ata_probe_ent->pinfo2 which points to optional
      port_info for the secondary port.  For the time being, this seems to
      be the simplest solution.  This workaround will be removed together
      with ata_probe_ent itself after init model is updated to allow more
      flexibility.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Nelson A. de Oliveira <naoliv@gmail.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      fea63e38
    • Jeff Garzik's avatar
      Merge branch 'tmp' into upstream · a64f97f2
      Jeff Garzik authored
      Conflicts:
      
      	drivers/ata/libata-sff.c
      a64f97f2
    • Arnaud Patard's avatar
      Fix libata resource conflict for legacy mode · cb60736b
      Arnaud Patard authored
      When the libata is trying to handle legacy ide ports (0x1f0 for instance), it
      doesn't take care if the resource has childs or not.
      The result is that this situation :
      0100-01fe : pnp 00:09
        0170-0177 : libata
        01f0-01f7 : libata
      
      is seen as conflict, which is wrong.
      The proposed fix is to detect childs and in this case, look at which child is
      conflicting.
      Signed-off-by: default avatarArnaud Patard <apatard@mandriva.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      cb60736b
  2. 18 Sep, 2006 27 commits
  3. 17 Sep, 2006 8 commits