2006-08-10 18:31:37 +07:00
|
|
|
|
2006-08-15 01:12:57 +07:00
|
|
|
obj-$(CONFIG_ATA) += libata.o
|
|
|
|
|
2010-05-20 03:10:24 +07:00
|
|
|
# non-SFF interface
|
2010-03-28 11:22:14 +07:00
|
|
|
obj-$(CONFIG_SATA_AHCI) += ahci.o libahci.o
|
2010-11-13 04:38:21 +07:00
|
|
|
obj-$(CONFIG_SATA_ACARD_AHCI) += acard-ahci.o libahci.o
|
2016-01-14 23:31:11 +07:00
|
|
|
obj-$(CONFIG_SATA_AHCI_SEATTLE) += ahci_seattle.o libahci.o libahci_platform.o
|
2014-03-26 01:51:39 +07:00
|
|
|
obj-$(CONFIG_SATA_AHCI_PLATFORM) += ahci_platform.o libahci.o libahci_platform.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_SATA_FSL) += sata_fsl.o
|
ata: Add driver for Faraday Technology FTIDE010
This adds a driver for the Faraday Technology FTIDE010
PATA IP block.
When used with the Storlink/Storm/Cortina Systems Gemini
SoC, the PATA interface is accompanied by a PATA<->SATA
bridge, so while the device appear as a PATA controller,
it attaches physically to SATA disks, and also has a
designated memory area with registers to set up the bridge.
The Gemini SATA bridge is separated into its own driver
file to make things modular and make it possible to reuse
the PATA driver as stand-alone on other systems than the
Gemini.
dmesg excerpt from the D-Link DIR-685 storage router:
gemini-sata-bridge 46000000.sata: SATA ID 00000e00, PHY ID: 01000100
gemini-sata-bridge 46000000.sata: set up the Gemini IDE/SATA nexus
ftide010 63000000.ata: set up Gemini PATA0
ftide010 63000000.ata: device ID 00000500, irq 26, io base 0x63000000
ftide010 63000000.ata: SATA0 (master) start
gemini-sata-bridge 46000000.sata: SATA0 PHY ready
scsi host0: pata-ftide010
ata1: PATA max UDMA/133 irq 26
ata1.00: ATA-8: INTEL SSDSA2CW120G3, 4PC10302, max UDMA/133
ata1.00: 234441648 sectors, multi 1: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA INTEL SSDSA2CW12 0302 PQ: 0 ANSI: 5
ata1.00: Enabling discard_zeroes_data
sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
ata1.00: Enabling discard_zeroes_data
ata1.00: Enabling discard_zeroes_data
sd 0:0:0:0: [sda] Attached SCSI disk
After this I can flawlessly mount and read/write copy etc files
from /dev/sda[n].
Cc: John Feng-Hsin Chiang <john453@faraday-tech.com>
Cc: Greentime Hu <green.hu@gmail.com>
Acked-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2017-06-04 15:50:08 +07:00
|
|
|
obj-$(CONFIG_SATA_GEMINI) += sata_gemini.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_SATA_INIC162X) += sata_inic162x.o
|
|
|
|
obj-$(CONFIG_SATA_SIL24) += sata_sil24.o
|
2010-07-06 18:06:03 +07:00
|
|
|
obj-$(CONFIG_SATA_DWC) += sata_dwc_460ex.o
|
2012-09-29 00:23:37 +07:00
|
|
|
obj-$(CONFIG_SATA_HIGHBANK) += sata_highbank.o libahci.o
|
2016-06-16 20:53:32 +07:00
|
|
|
obj-$(CONFIG_AHCI_BRCM) += ahci_brcm.o libahci.o libahci_platform.o
|
2015-06-09 15:53:50 +07:00
|
|
|
obj-$(CONFIG_AHCI_CEVA) += ahci_ceva.o libahci.o libahci_platform.o
|
2014-03-26 01:51:40 +07:00
|
|
|
obj-$(CONFIG_AHCI_DA850) += ahci_da850.o libahci.o libahci_platform.o
|
2017-03-14 18:04:51 +07:00
|
|
|
obj-$(CONFIG_AHCI_DM816) += ahci_dm816.o libahci.o libahci_platform.o
|
2014-03-26 01:51:39 +07:00
|
|
|
obj-$(CONFIG_AHCI_IMX) += ahci_imx.o libahci.o libahci_platform.o
|
2014-04-15 22:00:03 +07:00
|
|
|
obj-$(CONFIG_AHCI_MVEBU) += ahci_mvebu.o libahci.o libahci_platform.o
|
2016-02-11 20:53:08 +07:00
|
|
|
obj-$(CONFIG_AHCI_OCTEON) += ahci_octeon.o
|
2014-03-26 01:51:39 +07:00
|
|
|
obj-$(CONFIG_AHCI_SUNXI) += ahci_sunxi.o libahci.o libahci_platform.o
|
|
|
|
obj-$(CONFIG_AHCI_ST) += ahci_st.o libahci.o libahci_platform.o
|
2014-07-18 14:12:30 +07:00
|
|
|
obj-$(CONFIG_AHCI_TEGRA) += ahci_tegra.o libahci.o libahci_platform.o
|
2014-03-26 01:51:39 +07:00
|
|
|
obj-$(CONFIG_AHCI_XGENE) += ahci_xgene.o libahci.o libahci_platform.o
|
2015-09-07 15:23:16 +07:00
|
|
|
obj-$(CONFIG_AHCI_QORIQ) += ahci_qoriq.o libahci.o libahci_platform.o
|
2010-05-20 03:10:24 +07:00
|
|
|
|
|
|
|
# SFF w/ custom DMA
|
|
|
|
obj-$(CONFIG_PDC_ADMA) += pdc_adma.o
|
2011-02-22 17:16:07 +07:00
|
|
|
obj-$(CONFIG_PATA_ARASAN_CF) += pata_arasan_cf.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_PATA_OCTEON_CF) += pata_octeon_cf.o
|
|
|
|
obj-$(CONFIG_SATA_QSTOR) += sata_qstor.o
|
|
|
|
obj-$(CONFIG_SATA_SX4) += sata_sx4.o
|
|
|
|
|
|
|
|
# SFF SATA w/ BMDMA
|
2006-08-15 01:12:57 +07:00
|
|
|
obj-$(CONFIG_ATA_PIIX) += ata_piix.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_SATA_MV) += sata_mv.o
|
|
|
|
obj-$(CONFIG_SATA_NV) += sata_nv.o
|
2006-08-15 01:12:57 +07:00
|
|
|
obj-$(CONFIG_SATA_PROMISE) += sata_promise.o
|
2013-02-21 03:10:29 +07:00
|
|
|
obj-$(CONFIG_SATA_RCAR) += sata_rcar.o
|
2006-08-15 01:12:57 +07:00
|
|
|
obj-$(CONFIG_SATA_SIL) += sata_sil.o
|
|
|
|
obj-$(CONFIG_SATA_SIS) += sata_sis.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_SATA_SVW) += sata_svw.o
|
2006-08-15 01:12:57 +07:00
|
|
|
obj-$(CONFIG_SATA_ULI) += sata_uli.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_SATA_VIA) += sata_via.o
|
|
|
|
obj-$(CONFIG_SATA_VITESSE) += sata_vsc.o
|
2006-08-10 18:31:37 +07:00
|
|
|
|
2010-05-20 03:10:24 +07:00
|
|
|
# SFF PATA w/ BMDMA
|
2006-08-30 05:12:40 +07:00
|
|
|
obj-$(CONFIG_PATA_ALI) += pata_ali.o
|
|
|
|
obj-$(CONFIG_PATA_AMD) += pata_amd.o
|
|
|
|
obj-$(CONFIG_PATA_ARTOP) += pata_artop.o
|
|
|
|
obj-$(CONFIG_PATA_ATIIXP) += pata_atiixp.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_PATA_ATP867X) += pata_atp867x.o
|
|
|
|
obj-$(CONFIG_PATA_BF54X) += pata_bf54x.o
|
2017-03-23 01:20:58 +07:00
|
|
|
obj-$(CONFIG_PATA_BK3710) += pata_bk3710.o
|
2006-08-30 05:12:40 +07:00
|
|
|
obj-$(CONFIG_PATA_CMD64X) += pata_cmd64x.o
|
|
|
|
obj-$(CONFIG_PATA_CS5520) += pata_cs5520.o
|
|
|
|
obj-$(CONFIG_PATA_CS5530) += pata_cs5530.o
|
|
|
|
obj-$(CONFIG_PATA_CS5535) += pata_cs5535.o
|
2007-10-11 14:38:19 +07:00
|
|
|
obj-$(CONFIG_PATA_CS5536) += pata_cs5536.o
|
2006-08-30 05:12:40 +07:00
|
|
|
obj-$(CONFIG_PATA_CYPRESS) += pata_cypress.o
|
|
|
|
obj-$(CONFIG_PATA_EFAR) += pata_efar.o
|
2012-04-12 19:13:16 +07:00
|
|
|
obj-$(CONFIG_PATA_EP93XX) += pata_ep93xx.o
|
ata: Add driver for Faraday Technology FTIDE010
This adds a driver for the Faraday Technology FTIDE010
PATA IP block.
When used with the Storlink/Storm/Cortina Systems Gemini
SoC, the PATA interface is accompanied by a PATA<->SATA
bridge, so while the device appear as a PATA controller,
it attaches physically to SATA disks, and also has a
designated memory area with registers to set up the bridge.
The Gemini SATA bridge is separated into its own driver
file to make things modular and make it possible to reuse
the PATA driver as stand-alone on other systems than the
Gemini.
dmesg excerpt from the D-Link DIR-685 storage router:
gemini-sata-bridge 46000000.sata: SATA ID 00000e00, PHY ID: 01000100
gemini-sata-bridge 46000000.sata: set up the Gemini IDE/SATA nexus
ftide010 63000000.ata: set up Gemini PATA0
ftide010 63000000.ata: device ID 00000500, irq 26, io base 0x63000000
ftide010 63000000.ata: SATA0 (master) start
gemini-sata-bridge 46000000.sata: SATA0 PHY ready
scsi host0: pata-ftide010
ata1: PATA max UDMA/133 irq 26
ata1.00: ATA-8: INTEL SSDSA2CW120G3, 4PC10302, max UDMA/133
ata1.00: 234441648 sectors, multi 1: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA INTEL SSDSA2CW12 0302 PQ: 0 ANSI: 5
ata1.00: Enabling discard_zeroes_data
sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
ata1.00: Enabling discard_zeroes_data
ata1.00: Enabling discard_zeroes_data
sd 0:0:0:0: [sda] Attached SCSI disk
After this I can flawlessly mount and read/write copy etc files
from /dev/sda[n].
Cc: John Feng-Hsin Chiang <john453@faraday-tech.com>
Cc: Greentime Hu <green.hu@gmail.com>
Acked-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2017-06-04 15:50:08 +07:00
|
|
|
obj-$(CONFIG_PATA_FTIDE010) += pata_ftide010.o
|
2006-08-30 05:12:40 +07:00
|
|
|
obj-$(CONFIG_PATA_HPT366) += pata_hpt366.o
|
|
|
|
obj-$(CONFIG_PATA_HPT37X) += pata_hpt37x.o
|
|
|
|
obj-$(CONFIG_PATA_HPT3X2N) += pata_hpt3x2n.o
|
|
|
|
obj-$(CONFIG_PATA_HPT3X3) += pata_hpt3x3.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_PATA_ICSIDE) += pata_icside.o
|
2011-07-26 21:58:19 +07:00
|
|
|
obj-$(CONFIG_PATA_IMX) += pata_imx.o
|
2006-12-07 23:59:14 +07:00
|
|
|
obj-$(CONFIG_PATA_IT8213) += pata_it8213.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_PATA_IT821X) += pata_it821x.o
|
2006-09-06 21:48:19 +07:00
|
|
|
obj-$(CONFIG_PATA_JMICRON) += pata_jmicron.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_PATA_MACIO) += pata_macio.o
|
|
|
|
obj-$(CONFIG_PATA_MARVELL) += pata_marvell.o
|
2010-12-22 22:50:10 +07:00
|
|
|
obj-$(CONFIG_PATA_MPC52xx) += pata_mpc52xx.o
|
2006-08-30 05:12:40 +07:00
|
|
|
obj-$(CONFIG_PATA_NETCELL) += pata_netcell.o
|
2007-11-19 21:45:53 +07:00
|
|
|
obj-$(CONFIG_PATA_NINJA32) += pata_ninja32.o
|
2007-09-29 13:35:10 +07:00
|
|
|
obj-$(CONFIG_PATA_NS87415) += pata_ns87415.o
|
2006-08-30 05:12:40 +07:00
|
|
|
obj-$(CONFIG_PATA_OLDPIIX) += pata_oldpiix.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_PATA_OPTIDMA) += pata_optidma.o
|
2006-08-30 05:12:40 +07:00
|
|
|
obj-$(CONFIG_PATA_PDC2027X) += pata_pdc2027x.o
|
|
|
|
obj-$(CONFIG_PATA_PDC_OLD) += pata_pdc202xx_old.o
|
|
|
|
obj-$(CONFIG_PATA_RADISYS) += pata_radisys.o
|
2009-06-25 00:29:44 +07:00
|
|
|
obj-$(CONFIG_PATA_RDC) += pata_rdc.o
|
2006-08-30 05:12:40 +07:00
|
|
|
obj-$(CONFIG_PATA_SC1200) += pata_sc1200.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_PATA_SCH) += pata_sch.o
|
2006-08-30 05:12:40 +07:00
|
|
|
obj-$(CONFIG_PATA_SERVERWORKS) += pata_serverworks.o
|
|
|
|
obj-$(CONFIG_PATA_SIL680) += pata_sil680.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_PATA_SIS) += pata_sis.o
|
2009-11-30 20:23:11 +07:00
|
|
|
obj-$(CONFIG_PATA_TOSHIBA) += pata_piccolo.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_PATA_TRIFLEX) += pata_triflex.o
|
2006-08-30 05:12:40 +07:00
|
|
|
obj-$(CONFIG_PATA_VIA) += pata_via.o
|
|
|
|
obj-$(CONFIG_PATA_WINBOND) += pata_sl82c105.o
|
2010-05-20 03:10:24 +07:00
|
|
|
|
|
|
|
# SFF PIO only
|
|
|
|
obj-$(CONFIG_PATA_AT32) += pata_at32.o
|
|
|
|
obj-$(CONFIG_PATA_CMD640_PCI) += pata_cmd640.o
|
2016-12-30 21:01:18 +07:00
|
|
|
obj-$(CONFIG_PATA_FALCON) += pata_falcon.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_PATA_ISAPNP) += pata_isapnp.o
|
2006-11-15 01:43:21 +07:00
|
|
|
obj-$(CONFIG_PATA_IXP4XX_CF) += pata_ixp4xx_cf.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_PATA_MPIIX) += pata_mpiix.o
|
|
|
|
obj-$(CONFIG_PATA_NS87410) += pata_ns87410.o
|
|
|
|
obj-$(CONFIG_PATA_OPTI) += pata_opti.o
|
|
|
|
obj-$(CONFIG_PATA_PCMCIA) += pata_pcmcia.o
|
|
|
|
obj-$(CONFIG_PATA_PALMLD) += pata_palmld.o
|
2006-10-28 09:08:48 +07:00
|
|
|
obj-$(CONFIG_PATA_PLATFORM) += pata_platform.o
|
2008-01-10 02:10:41 +07:00
|
|
|
obj-$(CONFIG_PATA_OF_PLATFORM) += pata_of_platform.o
|
2010-05-20 03:10:24 +07:00
|
|
|
obj-$(CONFIG_PATA_RB532) += pata_rb532_cf.o
|
|
|
|
obj-$(CONFIG_PATA_RZ1000) += pata_rz1000.o
|
2010-07-13 11:23:05 +07:00
|
|
|
obj-$(CONFIG_PATA_SAMSUNG_CF) += pata_samsung_cf.o
|
2010-05-20 03:10:24 +07:00
|
|
|
|
2010-05-21 08:12:44 +07:00
|
|
|
obj-$(CONFIG_PATA_PXA) += pata_pxa.o
|
|
|
|
|
pata_acpi: ACPI driver support
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: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-10-05 03:32:58 +07:00
|
|
|
# Should be last but two libata driver
|
|
|
|
obj-$(CONFIG_PATA_ACPI) += pata_acpi.o
|
2006-08-30 05:12:40 +07:00
|
|
|
# Should be last but one libata driver
|
|
|
|
obj-$(CONFIG_ATA_GENERIC) += ata_generic.o
|
|
|
|
# Should be last libata driver
|
|
|
|
obj-$(CONFIG_PATA_LEGACY) += pata_legacy.o
|
|
|
|
|
2015-03-27 22:46:38 +07:00
|
|
|
libata-y := libata-core.o libata-scsi.o libata-eh.o \
|
|
|
|
libata-transport.o libata-trace.o
|
2008-04-07 20:47:21 +07:00
|
|
|
libata-$(CONFIG_ATA_SFF) += libata-sff.o
|
2008-04-07 20:47:22 +07:00
|
|
|
libata-$(CONFIG_SATA_PMP) += libata-pmp.o
|
2007-05-05 21:50:38 +07:00
|
|
|
libata-$(CONFIG_ATA_ACPI) += libata-acpi.o
|
2013-01-15 16:20:58 +07:00
|
|
|
libata-$(CONFIG_SATA_ZPODD) += libata-zpodd.o
|