1. 02 12月, 2006 1 次提交
  2. 01 11月, 2006 1 次提交
    • T
      [PATCH] sata_sis: fix flags handling for the secondary port · cf0e812f
      Tejun Heo 提交于
      sis_init_one() modifies probe_ent->port_flags after allocating and
      initializing it using ata_pci_init_native_mode().  This makes port_flags
      for the secondary port (probe_ent->pinfo2->flags) go out of sync resulting
      in misdetection of device due to incorrectly initialized SCR access flag.
      
      This patch make probe_ent alloc/init happen after the final port flags
      value is determined.  This is fragile but probe_ent and all the related
      mess are scheduled to go away soon for exactly this reason.  We just need
      to hold everything together till then.
      
      This has been spotted and diagnosed and tested by Patrick McHardy.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Cc: Patric McHardy <kaber@trash.net>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      cf0e812f
  3. 29 9月, 2006 1 次提交
  4. 28 9月, 2006 1 次提交
  5. 26 9月, 2006 1 次提交
  6. 24 8月, 2006 1 次提交
    • J
      libata: Grand renaming. · cca3974e
      Jeff Garzik 提交于
      The biggest change is that ata_host_set is renamed to ata_host.
      
      * ata_host_set			=> ata_host
      * ata_probe_ent->host_flags	=> ata_probe_ent->port_flags
      * ata_probe_ent->host_set_flags	=> ata_probe_ent->_host_flags
      * ata_host_stats		=> ata_port_stats
      * ata_port->host		=> ata_port->scsi_host
      * ata_port->host_set		=> ata_port->host
      * ata_port_info->host_flags	=> ata_port_info->flags
      * ata_(.*)host_set(.*)\(\)	=> ata_\1host\2()
      
      The leading underscore in ata_probe_ent->_host_flags is to avoid
      reusing ->host_flags for different purpose.  Currently, the only user
      of the field is libata-bmdma.c and probe_ent itself is scheduled to be
      removed.
      
      ata_port->host is reused for different purpose but this field is used
      inside libata core proper and of different type.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      cca3974e
  7. 10 8月, 2006 2 次提交
  8. 01 7月, 2006 1 次提交
  9. 20 6月, 2006 1 次提交
    • T
      [PATCH] libata: convert several bmdma-style controllers to new EH, take #3 · d7a80dad
      Tejun Heo 提交于
      Convert sata_sis, svw, uli and vsc drivers to new EH.  All the drivers
      used to specify ATA_FLAG_SATA_RESET to tell libata to use SATA
      hardreset instead of SRST.  This patch makes all the converted drivers
      use the standard bmdma error handler which uses both SRST and SATA
      hardreset.
      
      All the controllers should be able to perform SRST but still needs
      verification.  If some of the controllers can't do SRST, it will be
      very easy to spot as it will show up during boot probing.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      d7a80dad
  10. 31 5月, 2006 1 次提交
  11. 24 5月, 2006 1 次提交
    • A
      [PATCH] PATCH: libata. Add ->data_xfer method · a6b2c5d4
      Alan Cox 提交于
      We need to pass the device in order to do per device checks such as
      32bit I/O enables. With the changes to include dev->ap we now don't have
      to add parameters however just clean them up. Also add data_xfer methods
      to the existing drivers except ata_piix (which is in the other block of
      patches). If you reject the piix one just add a data_xfer to it...
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      a6b2c5d4
  12. 11 4月, 2006 1 次提交
  13. 03 4月, 2006 1 次提交
  14. 22 3月, 2006 1 次提交
  15. 13 2月, 2006 1 次提交
  16. 10 2月, 2006 1 次提交
  17. 06 1月, 2006 1 次提交
  18. 11 11月, 2005 1 次提交
  19. 10 11月, 2005 1 次提交
  20. 07 11月, 2005 1 次提交
  21. 31 10月, 2005 1 次提交
  22. 23 10月, 2005 1 次提交
  23. 04 10月, 2005 1 次提交
    • A
      libata: bitmask based pci init functions for one or two ports · 47a86593
      Alan Cox 提交于
      This redoes the n_ports logic I proposed before as a bitmask.
      ata_pci_init_native_mode is now used with a mask allowing for mixed mode
      stuff later on. ata_pci_init_legacy_port is called with port number and
      does one port now not two. Instead it is called twice by the ata init
      logic which cleans both of them up.
      
      There are stil limits in the original code left over
      
      - IRQ/port mapping for legacy mode should be arch specific values
      - You can have one legacy mode IDE adapter per PCI root bridge on some systems
      - Doesn't handle mixed mode devices yet (but is now a lot closer to it)
      47a86593
  24. 14 9月, 2005 2 次提交
  25. 09 9月, 2005 2 次提交
  26. 08 9月, 2005 1 次提交
  27. 29 8月, 2005 1 次提交
    • J
      [libata] license change, other bits · af36d7f0
      Jeff Garzik 提交于
      - changes license of all code from OSL+GPL to plain ole GPL
        - except for NVIDIA, who hasn't yet responded about sata_nv
        - copyright holders were already contacted privately
      
      - adds info in each driver about where hardware/protocol docs may be
        obtained
      
      - where I have made major contributions, updated copyright dates
      af36d7f0
  28. 01 8月, 2005 1 次提交
  29. 27 5月, 2005 1 次提交
    • J
      libata: Fix use-after-iounmap · aa8f0dc6
      Jeff Garzik 提交于
      Jens Axboe pointed out that the iounmap() call in libata was occurring
      too early, and some drivers (ahci, probably others) were using ioremap'd
      memory after it had been unmapped.
      
      The patch should address that problem by way of improving the libata
      driver API:
      
      * move ->host_stop() call after all ->port_stop() calls have occurred.
      
      * create default helper function ata_host_stop(), and move iounmap()
      call there.
      
      * add ->host_stop_prewalk() hook, use it in sata_qstor.c (hi Mark).
      sata_qstor appears to require the host-stop-before-port-stop ordering
      that existed prior to applying the attached patch.
      aa8f0dc6
  30. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4