1. 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
  2. 02 10月, 2012 1 次提交
  3. 13 9月, 2012 1 次提交
  4. 23 5月, 2012 1 次提交
  5. 15 10月, 2011 1 次提交
  6. 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
  7. 14 3月, 2011 1 次提交
  8. 06 1月, 2011 1 次提交
  9. 25 12月, 2010 1 次提交
  10. 22 10月, 2010 2 次提交
  11. 26 8月, 2010 1 次提交
  12. 02 8月, 2010 2 次提交
  13. 18 6月, 2010 1 次提交
  14. 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
  15. 15 5月, 2010 2 次提交
  16. 09 12月, 2009 1 次提交
  17. 04 12月, 2009 1 次提交
  18. 18 9月, 2009 1 次提交
  19. 02 9月, 2009 1 次提交
  20. 23 6月, 2009 1 次提交
  21. 31 5月, 2009 1 次提交
  22. 16 1月, 2009 1 次提交
  23. 06 5月, 2008 1 次提交
  24. 29 4月, 2008 1 次提交
  25. 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
  26. 11 3月, 2008 1 次提交
  27. 23 1月, 2008 1 次提交
  28. 16 1月, 2008 1 次提交
  29. 18 10月, 2007 1 次提交
  30. 16 10月, 2007 1 次提交
  31. 13 10月, 2007 5 次提交
    • 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
    • K
      AVR32 PATA driver · 7c9ef8e4
      Kristoffer Nyborg Gregertsen 提交于
      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: NKristoffer Nyborg Gregertsen <kngregertsen@norway.atmel.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      7c9ef8e4
    • S
      libata driver for bf548 on chip ATAPI controller. · d830d173
      Sonic Zhang 提交于
      Fix all issues pointed out in Jeff's email.
      Acked-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NSonic Zhang <sonic.zhang@analog.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      d830d173
  32. 12 5月, 2007 1 次提交