1. 23 2月, 2014 1 次提交
  2. 25 7月, 2013 1 次提交
    • R
      ahci_imx: add ahci sata support on imx platforms · 9e54eae2
      Richard Zhu 提交于
      imx6q contains one Synopsys AHCI SATA controller, But it can't share
      ahci_platform driver with other controllers because there are some
      misalignments of the generic AHCI controller - the bits definitions of
      the HBA registers, the Vendor Specific registers, the AHCI PHY clock
      and the AHCI signals adjustment window(GPR13 register).
      
       - CAP_SSS(bit20) of the HOST_CAP is writable, default value is '0',
         should be configured to be '1'
      
       - bit0 (only one AHCI SATA port on imx6q) of the HOST_PORTS_IMPL
         should be set to be '1'.(default 0)
      
       - One Vendor Specific register HOST_TIMER1MS(offset:0xe0) should be
         configured regarding to the frequency of AHB bus clock.
      
       - Configurations of the AHCI PHY clock, and the signal parameters of
         the GPR13
      
      Setup its own ahci sata driver, contained the imx6q specific
      initialized codes, re-use the generic ahci_platform driver, and keep
      the generic ahci_platform driver clean as much as possible.
      
      tj: patch description reformatted
      Signed-off-by: NRichard Zhu <r65037@freescale.com>
      Reviewed-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      9e54eae2
  3. 21 2月, 2013 1 次提交
  4. 22 1月, 2013 1 次提交
    • A
      libata: identify and init ZPODD devices · afe75951
      Aaron Lu 提交于
      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: NAaron Lu <aaron.lu@intel.com>
      Acked-by: NTejun Heo <tj@kernel.org>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      afe75951
  5. 02 10月, 2012 1 次提交
  6. 13 9月, 2012 1 次提交
  7. 23 5月, 2012 1 次提交
  8. 15 10月, 2011 1 次提交
  9. 19 8月, 2011 1 次提交
    • A
      ata: Add iMX pata support · e39c75cf
      Arnaud Patard (Rtp) 提交于
      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: NArnaud Patard <arnaud.patard@rtp-net.org>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      e39c75cf
  10. 14 3月, 2011 1 次提交
  11. 06 1月, 2011 1 次提交
  12. 25 12月, 2010 1 次提交
  13. 22 10月, 2010 2 次提交
  14. 26 8月, 2010 1 次提交
  15. 02 8月, 2010 2 次提交
  16. 18 6月, 2010 1 次提交
  17. 26 5月, 2010 1 次提交
    • T
      libata-sff: make BMDMA optional · 9a7780c9
      Tejun Heo 提交于
      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: NTejun Heo <tj@kernel.org>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      9a7780c9
  18. 15 5月, 2010 2 次提交
  19. 09 12月, 2009 1 次提交
  20. 04 12月, 2009 1 次提交
  21. 18 9月, 2009 1 次提交
  22. 02 9月, 2009 1 次提交
  23. 23 6月, 2009 1 次提交
  24. 31 5月, 2009 1 次提交
  25. 16 1月, 2009 1 次提交
  26. 06 5月, 2008 1 次提交
  27. 29 4月, 2008 1 次提交
  28. 18 4月, 2008 2 次提交
    • T
      libata: make PMP support optional · 88fcd562
      Tejun Heo 提交于
      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: NTejun Heo <htejun@gmail.com>
      88fcd562
    • T
      libata: make SFF support optional · 127102ae
      Tejun Heo 提交于
      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: NTejun Heo <htejun@gmail.com>
      127102ae
  29. 11 3月, 2008 1 次提交
  30. 23 1月, 2008 1 次提交
  31. 16 1月, 2008 1 次提交
  32. 18 10月, 2007 1 次提交
  33. 16 10月, 2007 1 次提交
  34. 13 10月, 2007 3 次提交
    • A
      pata_acpi: ACPI driver support · 025621f9
      Alan Cox 提交于
      	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: NAlan Cox <alan@redhat.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      025621f9
    • T
      libata-pmp: implement Port Multiplier support · 3af9a77a
      Tejun Heo 提交于
      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: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      3af9a77a
    • A
      pata_ns87415: Initial cut at 87415/87560 IDE support · c4b5b7b6
      Alan Cox 提交于
      Signed-off-by: NAlan Cox <alan@redhat.com>
      [plus SuperIO fixes by Kyle McMartin]
      [plus a cleanup from me]
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      c4b5b7b6