1. 20 Feb, 2013 1 commit
  2. 21 Jan, 2013 1 commit
    • Aaron Lu's avatar
      libata: identify and init ZPODD devices · afe75951
      Aaron Lu authored
      The ODD can be enabled for ZPODD if the following three conditions are
      satisfied:
      1 The ODD supports device attention;
      2 The platform can runtime power off the ODD through ACPI;
      3 The ODD is either slot type or drawer type.
      For such ODDs, zpodd_init is called and a new structure is allocated for
      it to store ZPODD related stuffs.
      
      And the zpodd_dev_enabled function is used to test if ZPODD is currently
      enabled for this ODD.
      
      A new config CONFIG_SATA_ZPODD is added to selectively build ZPODD code.
      Signed-off-by: 's avatarAaron Lu <aaron.lu@intel.com>
      Acked-by: 's avatarTejun Heo <tj@kernel.org>
      Signed-off-by: 's avatarJeff Garzik <jgarzik@redhat.com>
      afe75951
  3. 02 Oct, 2012 1 commit
  4. 13 Sep, 2012 1 commit
  5. 22 May, 2012 1 commit
  6. 14 Oct, 2011 1 commit
  7. 19 Aug, 2011 1 commit
    • Arnaud Patard (Rtp)'s avatar
      ata: Add iMX pata support · e39c75cf
      Arnaud Patard (Rtp) authored
      Add basic support for pata on iMX. It has been tested only on imx51.
      SDMA support will probably be added later so this version supports only
      PIO.
      
      v2:
        - enable only when needed IORDY
        - use dev_get_drvdata
      v3:
        - add missing clk_put() calls
        - use platform_get_irq()
        - fix resume code to avoid disabling IORDY on resume
      v4:
        - Remove EXPERIMENTAL and switch to depends on ARCH_MXC
        - Use devm_kzalloc()
        - make clock a must-have
        - Use only 1 ioremap
      Signed-off-by: 's avatarArnaud Patard <arnaud.patard@rtp-net.org>
      Signed-off-by: 's avatarJeff Garzik <jgarzik@redhat.com>
      e39c75cf
  8. 14 Mar, 2011 1 commit
  9. 06 Jan, 2011 1 commit
  10. 24 Dec, 2010 1 commit
  11. 22 Oct, 2010 2 commits
  12. 25 Aug, 2010 1 commit
  13. 01 Aug, 2010 2 commits
  14. 18 Jun, 2010 1 commit
  15. 25 May, 2010 1 commit
    • Tejun Heo's avatar
      libata-sff: make BMDMA optional · 9a7780c9
      Tejun Heo authored
      Make BMDMA optional depending on new config variable CONFIG_ATA_BMDMA.
      In Kconfig, drivers are grouped into five groups - non-SFF native, SFF
      w/ custom DMA interface, SFF w/ BMDMA, PIO-only SFF, and generic
      fallback / legacy ones.  Kconfig and Makefile are reorganized
      according to the groups and ordered alphabetically inside each group.
      
      ata_ioports.bmdma_addr and ata_port.bmdma_prd[_dma] are put into
      CONFIG_ATA_BMDMA, as are all bmdma related ops, variables and
      functions.
      
      This increase the binary size slightly when BMDMA is enabled but on
      both native-only and PIO-only configurations the size is slightly
      reduced.  Either way, the size difference is insignificant.  This
      change is more meaningful to signify the separation between SFF and
      BMDMA and as a tool to verify the separation.
      Signed-off-by: 's avatarTejun Heo <tj@kernel.org>
      Signed-off-by: 's avatarJeff Garzik <jgarzik@redhat.com>
      9a7780c9
  16. 14 May, 2010 2 commits
  17. 09 Dec, 2009 1 commit
  18. 03 Dec, 2009 1 commit
  19. 17 Sep, 2009 1 commit
  20. 01 Sep, 2009 1 commit
  21. 23 Jun, 2009 1 commit
  22. 31 May, 2009 1 commit
  23. 16 Jan, 2009 1 commit
  24. 06 May, 2008 1 commit
  25. 29 Apr, 2008 1 commit
  26. 17 Apr, 2008 2 commits
    • Tejun Heo's avatar
      libata: make PMP support optional · 88fcd562
      Tejun Heo authored
      Make PMP support optional by adding CONFIG_SATA_PMP and leaving out
      libata-pmp.c if it isn't set.  PMP helpers return constant values if
      PMP support is not enabled and PMP declarations alias non-PMP
      counterparts.  This makes the compiler to leave out PMP related part
      out and LLDs to use non-PMP counterparts automatically.
      Signed-off-by: 's avatarTejun Heo <htejun@gmail.com>
      88fcd562
    • Tejun Heo's avatar
      libata: make SFF support optional · 127102ae
      Tejun Heo authored
      Now that SFF support is completely separated out from the core layer,
      it can be made optional.  Add CONFIG_ATA_SFF and let SFF drivers
      depend on it.  If CONFIG_ATA_SFF isn't set, all codes in libata-sff.c
      and data structures for SFF support are disabled.  This saves good
      number of bytes for small systems.
      Signed-off-by: 's avatarTejun Heo <htejun@gmail.com>
      127102ae
  27. 11 Mar, 2008 1 commit
  28. 23 Jan, 2008 1 commit
  29. 15 Jan, 2008 1 commit
  30. 18 Oct, 2007 1 commit
  31. 15 Oct, 2007 1 commit
  32. 12 Oct, 2007 5 commits
    • Alan Cox's avatar
      pata_acpi: ACPI driver support · 025621f9
      Alan Cox authored
      	On a cable there may be
      	eighty wires or perhaps forty
      	and we learn about its type
      	In the world of ACPI
      
      	So we call the GTM
      	And we find the the timing rate
      	And we look through it to see
      	If eighty wire it must be
      
      	Timing lives in ACPI routines
      	ACPI routines, ACPI routines
      	Timing lives in ACPI routines
      	ACPI routes ACPI routines
      
      	And the drivers last you see
      	Picking up unknown pci ids
      	and the code begins to work
      
      	Timing lives in ACPI routines
      	ACPI routines, ACPI routines
      	Timing lives in ACPI routines
      	ACPI routes ACPI routines
      
      	[Full speed ahead, Mr Hacker, full speed ahead]
      	 Full speed over here sir!
      	 Checking Cable, checking cable
      	 Aye aye, 80 wire,
      	 Heaven heaven]
      
      	If we use ACPI (ACPI)
      	Every box (every box) has all we need (has all we need)
      	Cable type (cable type) and mode timing (mode timing)
      	In our ATA (in our ATA) subroutines (subroutines, ha ha)
      
      	Timing lives in ACPI routines
      	ACPI routines, ACPI routines
      	Timing lives in ACPI routines
      	ACPI routes ACPI routines
      	Timing lives in ACPI routines
      	ACPI routines, ACPI routines
      	Timing lives in ACPI routines
      	ACPI routes ACPI routines
      Signed-off-by: 's avatarAlan Cox <alan@redhat.com>
      Signed-off-by: 's avatarJeff Garzik <jeff@garzik.org>
      025621f9
    • Tejun Heo's avatar
      libata-pmp: implement Port Multiplier support · 3af9a77a
      Tejun Heo authored
      Implement Port Multiplier support.  To support PMP, a LLDD has to
      supply ops->pmp_read() and pmp_write().  If non-null, ->pmp_attach and
      ->pmp_detach are called on PMP attach and detach, respectively.
      
      ->pmp_read/write() can be called while the port is frozen, so they
      must be implemented by polling.  This patch supplies several helpers
      to ease ->pmp_read/write() implementation.
      
      Also, irq_handler and error_handler must be PMP aware.  Most of PMP
      aware EH can be done by calling ata_pmp_do_eh() with appropriate
      methods.  PMP EH uses separate set of reset methods and this patch
      implements standard prereset, hardreset and postreset methods.
      
      This patch only implements PMP support.  The next patch will integrate
      PMP into the reset of libata and thus enable PMP support.
      Signed-off-by: 's avatarTejun Heo <htejun@gmail.com>
      Signed-off-by: 's avatarJeff Garzik <jeff@garzik.org>
      3af9a77a
    • Alan Cox's avatar
      pata_ns87415: Initial cut at 87415/87560 IDE support · c4b5b7b6
      Alan Cox authored
      Signed-off-by: 's avatarAlan Cox <alan@redhat.com>
      [plus SuperIO fixes by Kyle McMartin]
      [plus a cleanup from me]
      Signed-off-by: 's avatarJeff Garzik <jeff@garzik.org>
      c4b5b7b6
    • Kristoffer Nyborg Gregertsen's avatar
      AVR32 PATA driver · 7c9ef8e4
      Kristoffer Nyborg Gregertsen authored
      Updated and simplified driver. Use only register transfer timing for both
      data and register transfers. This gives poorer performance in PIO1 and 2,
      but should not be a problem in PIO3 and 4, correct me if I'm wrong :)
      
      The driver works very we'll but I still wonder about the interrupts. I have
      an interrupt line, that works nicely when POLLING flag is not set. The
      problem is the number of interrupts that eat away my CPU cycles.
      
      When using the POLLING flag there seem to be some interrupts that dosen't get
      cleared. Furthermore the device dosen't drive INTRQ high, it stays at 2.5 volts
      and generates a lot of interrupts due to ripple / noise. What to do?
      Signed-off-by: 's avatarKristoffer Nyborg Gregertsen <kngregertsen@norway.atmel.com>
      Signed-off-by: 's avatarJeff Garzik <jeff@garzik.org>
      7c9ef8e4
    • Sonic Zhang's avatar
      libata driver for bf548 on chip ATAPI controller. · d830d173
      Sonic Zhang authored
      Fix all issues pointed out in Jeff's email.
      Acked-by: 's avatarAlan Cox <alan@redhat.com>
      Signed-off-by: 's avatarSonic Zhang <sonic.zhang@analog.com>
      Signed-off-by: 's avatarJeff Garzik <jeff@garzik.org>
      d830d173