blob: b8aebfb14e825040af4a228b475e0be3c8b028ac [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Jeff Garzikc6fd2802006-08-10 07:31:37 -04002
Jeff Garzik370ba072006-08-14 14:12:57 -04003obj-$(CONFIG_ATA) += libata.o
4
Tejun Heo9a7780c2010-05-19 22:10:24 +02005# non-SFF interface
Anton Vorontsov365cfa12010-03-28 00:22:14 -04006obj-$(CONFIG_SATA_AHCI) += ahci.o libahci.o
David Milburn02cdfcf2010-11-12 15:38:21 -06007obj-$(CONFIG_SATA_ACARD_AHCI) += acard-ahci.o libahci.o
Brijesh Singh535dac42016-01-14 10:31:11 -06008obj-$(CONFIG_SATA_AHCI_SEATTLE) += ahci_seattle.o libahci.o libahci_platform.o
Bartlomiej Zolnierkiewiczfd990552014-03-25 19:51:39 +01009obj-$(CONFIG_SATA_AHCI_PLATFORM) += ahci_platform.o libahci.o libahci_platform.o
Tejun Heo9a7780c2010-05-19 22:10:24 +020010obj-$(CONFIG_SATA_FSL) += sata_fsl.o
Linus Walleijbe4e4562017-06-04 10:50:08 +020011obj-$(CONFIG_SATA_GEMINI) += sata_gemini.o
Tejun Heo9a7780c2010-05-19 22:10:24 +020012obj-$(CONFIG_SATA_INIC162X) += sata_inic162x.o
Jeff Garzik370ba072006-08-14 14:12:57 -040013obj-$(CONFIG_SATA_SIL24) += sata_sil24.o
Rupjyoti Sarmah62936002010-07-06 16:36:03 +053014obj-$(CONFIG_SATA_DWC) += sata_dwc_460ex.o
Mark Langsdorf40dad0a2012-09-28 12:23:37 -050015obj-$(CONFIG_SATA_HIGHBANK) += sata_highbank.o libahci.o
Yendapally Reddy Dhananjaya Reddyeba68f82016-06-16 09:53:32 -040016obj-$(CONFIG_AHCI_BRCM) += ahci_brcm.o libahci.o libahci_platform.o
Suneel Garapatia73ed352015-06-09 14:23:50 +053017obj-$(CONFIG_AHCI_CEVA) += ahci_ceva.o libahci.o libahci_platform.o
Bartlomiej Zolnierkiewiczae8723f2014-03-25 19:51:40 +010018obj-$(CONFIG_AHCI_DA850) += ahci_da850.o libahci.o libahci_platform.o
Bartosz Golaszewskidf46e6a2017-03-14 12:04:51 +010019obj-$(CONFIG_AHCI_DM816) += ahci_dm816.o libahci.o libahci_platform.o
Bartlomiej Zolnierkiewiczfd990552014-03-25 19:51:39 +010020obj-$(CONFIG_AHCI_IMX) += ahci_imx.o libahci.o libahci_platform.o
Ryder Lee47269602017-08-18 09:13:07 +080021obj-$(CONFIG_AHCI_MTK) += ahci_mtk.o libahci.o libahci_platform.o
Thomas Petazzonia3464ed2014-04-15 17:00:03 +020022obj-$(CONFIG_AHCI_MVEBU) += ahci_mvebu.o libahci.o libahci_platform.o
Aleksey Makarova2127e42016-02-11 13:53:08 +000023obj-$(CONFIG_AHCI_OCTEON) += ahci_octeon.o
Bartlomiej Zolnierkiewiczfd990552014-03-25 19:51:39 +010024obj-$(CONFIG_AHCI_SUNXI) += ahci_sunxi.o libahci.o libahci_platform.o
25obj-$(CONFIG_AHCI_ST) += ahci_st.o libahci.o libahci_platform.o
Mikko Perttunenccfde502014-07-18 10:12:30 +030026obj-$(CONFIG_AHCI_TEGRA) += ahci_tegra.o libahci.o libahci_platform.o
Bartlomiej Zolnierkiewiczfd990552014-03-25 19:51:39 +010027obj-$(CONFIG_AHCI_XGENE) += ahci_xgene.o libahci.o libahci_platform.o
Tang Yuantianecfb4592015-09-07 16:23:16 +080028obj-$(CONFIG_AHCI_QORIQ) += ahci_qoriq.o libahci.o libahci_platform.o
Tejun Heo9a7780c2010-05-19 22:10:24 +020029
30# SFF w/ custom DMA
31obj-$(CONFIG_PDC_ADMA) += pdc_adma.o
Viresh Kumara4801672011-02-22 15:46:07 +053032obj-$(CONFIG_PATA_ARASAN_CF) += pata_arasan_cf.o
Tejun Heo9a7780c2010-05-19 22:10:24 +020033obj-$(CONFIG_PATA_OCTEON_CF) += pata_octeon_cf.o
34obj-$(CONFIG_SATA_QSTOR) += sata_qstor.o
35obj-$(CONFIG_SATA_SX4) += sata_sx4.o
36
37# SFF SATA w/ BMDMA
38obj-$(CONFIG_ATA_PIIX) += ata_piix.o
39obj-$(CONFIG_SATA_MV) += sata_mv.o
40obj-$(CONFIG_SATA_NV) += sata_nv.o
41obj-$(CONFIG_SATA_PROMISE) += sata_promise.o
Vladimir Barinov163cf81d2013-02-20 23:10:29 +030042obj-$(CONFIG_SATA_RCAR) += sata_rcar.o
Tejun Heo9a7780c2010-05-19 22:10:24 +020043obj-$(CONFIG_SATA_SIL) += sata_sil.o
44obj-$(CONFIG_SATA_SIS) += sata_sis.o
45obj-$(CONFIG_SATA_SVW) += sata_svw.o
46obj-$(CONFIG_SATA_ULI) += sata_uli.o
Jeff Garzik370ba072006-08-14 14:12:57 -040047obj-$(CONFIG_SATA_VIA) += sata_via.o
48obj-$(CONFIG_SATA_VITESSE) += sata_vsc.o
Jeff Garzikc6fd2802006-08-10 07:31:37 -040049
Tejun Heo9a7780c2010-05-19 22:10:24 +020050# SFF PATA w/ BMDMA
Jeff Garzik669a5db2006-08-29 18:12:40 -040051obj-$(CONFIG_PATA_ALI) += pata_ali.o
52obj-$(CONFIG_PATA_AMD) += pata_amd.o
53obj-$(CONFIG_PATA_ARTOP) += pata_artop.o
54obj-$(CONFIG_PATA_ATIIXP) += pata_atiixp.o
Tejun Heo9a7780c2010-05-19 22:10:24 +020055obj-$(CONFIG_PATA_ATP867X) += pata_atp867x.o
Bartlomiej Zolnierkiewicz76a40ca2017-03-22 19:20:58 +010056obj-$(CONFIG_PATA_BK3710) += pata_bk3710.o
Jeff Garzik669a5db2006-08-29 18:12:40 -040057obj-$(CONFIG_PATA_CMD64X) += pata_cmd64x.o
58obj-$(CONFIG_PATA_CS5520) += pata_cs5520.o
59obj-$(CONFIG_PATA_CS5530) += pata_cs5530.o
60obj-$(CONFIG_PATA_CS5535) += pata_cs5535.o
Martin K. Petersen3957df62007-10-11 03:38:19 -040061obj-$(CONFIG_PATA_CS5536) += pata_cs5536.o
Jeff Garzik669a5db2006-08-29 18:12:40 -040062obj-$(CONFIG_PATA_CYPRESS) += pata_cypress.o
63obj-$(CONFIG_PATA_EFAR) += pata_efar.o
Rafal Prylowski2fff2752012-04-12 14:13:16 +020064obj-$(CONFIG_PATA_EP93XX) += pata_ep93xx.o
Linus Walleijbe4e4562017-06-04 10:50:08 +020065obj-$(CONFIG_PATA_FTIDE010) += pata_ftide010.o
Jeff Garzik669a5db2006-08-29 18:12:40 -040066obj-$(CONFIG_PATA_HPT366) += pata_hpt366.o
67obj-$(CONFIG_PATA_HPT37X) += pata_hpt37x.o
68obj-$(CONFIG_PATA_HPT3X2N) += pata_hpt3x2n.o
69obj-$(CONFIG_PATA_HPT3X3) += pata_hpt3x3.o
Tejun Heo9a7780c2010-05-19 22:10:24 +020070obj-$(CONFIG_PATA_ICSIDE) += pata_icside.o
Arnaud Patard (Rtp)e39c75c2011-07-26 16:58:19 +020071obj-$(CONFIG_PATA_IMX) += pata_imx.o
Alan9b13b682006-12-07 08:59:14 -080072obj-$(CONFIG_PATA_IT8213) += pata_it8213.o
Tejun Heo9a7780c2010-05-19 22:10:24 +020073obj-$(CONFIG_PATA_IT821X) += pata_it821x.o
Jeff Garzik406176e2006-09-06 10:48:19 -040074obj-$(CONFIG_PATA_JMICRON) += pata_jmicron.o
Tejun Heo9a7780c2010-05-19 22:10:24 +020075obj-$(CONFIG_PATA_MACIO) += pata_macio.o
76obj-$(CONFIG_PATA_MARVELL) += pata_marvell.o
Wolfram Sang869934a2010-12-22 16:50:10 +010077obj-$(CONFIG_PATA_MPC52xx) += pata_mpc52xx.o
Jeff Garzik669a5db2006-08-29 18:12:40 -040078obj-$(CONFIG_PATA_NETCELL) += pata_netcell.o
Alan Cox51dbd492007-11-19 14:45:53 +000079obj-$(CONFIG_PATA_NINJA32) += pata_ninja32.o
Alan Coxc4b5b7b2007-09-29 02:35:10 -040080obj-$(CONFIG_PATA_NS87415) += pata_ns87415.o
Jeff Garzik669a5db2006-08-29 18:12:40 -040081obj-$(CONFIG_PATA_OLDPIIX) += pata_oldpiix.o
Tejun Heo9a7780c2010-05-19 22:10:24 +020082obj-$(CONFIG_PATA_OPTIDMA) += pata_optidma.o
Jeff Garzik669a5db2006-08-29 18:12:40 -040083obj-$(CONFIG_PATA_PDC2027X) += pata_pdc2027x.o
84obj-$(CONFIG_PATA_PDC_OLD) += pata_pdc202xx_old.o
Jeff Garzik669a5db2006-08-29 18:12:40 -040085obj-$(CONFIG_PATA_RADISYS) += pata_radisys.o
Alan Cox6b406782009-06-24 18:29:44 +010086obj-$(CONFIG_PATA_RDC) += pata_rdc.o
Jeff Garzik669a5db2006-08-29 18:12:40 -040087obj-$(CONFIG_PATA_SC1200) += pata_sc1200.o
Alek Du07ab85d2008-05-06 21:31:41 +080088obj-$(CONFIG_PATA_SCH) += pata_sch.o
Tejun Heo9a7780c2010-05-19 22:10:24 +020089obj-$(CONFIG_PATA_SERVERWORKS) += pata_serverworks.o
90obj-$(CONFIG_PATA_SIL680) += pata_sil680.o
91obj-$(CONFIG_PATA_SIS) += pata_sis.o
92obj-$(CONFIG_PATA_TOSHIBA) += pata_piccolo.o
93obj-$(CONFIG_PATA_TRIFLEX) += pata_triflex.o
94obj-$(CONFIG_PATA_VIA) += pata_via.o
95obj-$(CONFIG_PATA_WINBOND) += pata_sl82c105.o
96
97# SFF PIO only
Tejun Heo9a7780c2010-05-19 22:10:24 +020098obj-$(CONFIG_PATA_CMD640_PCI) += pata_cmd640.o
Bartlomiej Zolnierkiewicz7e11aab2016-12-30 15:01:18 +010099obj-$(CONFIG_PATA_FALCON) += pata_falcon.o
Bartlomiej Zolnierkiewicz9ab27d12018-03-16 17:15:47 +0100100obj-$(CONFIG_PATA_GAYLE) += pata_gayle.o
Bartlomiej Zolnierkiewicz740c68a2019-02-07 13:20:44 +0100101obj-$(CONFIG_PATA_BUDDHA) += pata_buddha.o
Tejun Heo9a7780c2010-05-19 22:10:24 +0200102obj-$(CONFIG_PATA_ISAPNP) += pata_isapnp.o
103obj-$(CONFIG_PATA_IXP4XX_CF) += pata_ixp4xx_cf.o
104obj-$(CONFIG_PATA_MPIIX) += pata_mpiix.o
105obj-$(CONFIG_PATA_NS87410) += pata_ns87410.o
106obj-$(CONFIG_PATA_OPTI) += pata_opti.o
107obj-$(CONFIG_PATA_PCMCIA) += pata_pcmcia.o
108obj-$(CONFIG_PATA_PALMLD) += pata_palmld.o
Paul Mundta20c9e82006-10-27 19:08:48 -0700109obj-$(CONFIG_PATA_PLATFORM) += pata_platform.o
Anton Vorontsov61f71622008-01-09 22:10:41 +0300110obj-$(CONFIG_PATA_OF_PLATFORM) += pata_of_platform.o
Tejun Heo9a7780c2010-05-19 22:10:24 +0200111obj-$(CONFIG_PATA_RB532) += pata_rb532_cf.o
112obj-$(CONFIG_PATA_RZ1000) += pata_rz1000.o
Abhilash Kesavan155bf482010-07-13 13:23:05 +0900113obj-$(CONFIG_PATA_SAMSUNG_CF) += pata_samsung_cf.o
Tejun Heo9a7780c2010-05-19 22:10:24 +0200114
Marek Vasut2dc6c6f2010-05-21 03:12:44 +0200115obj-$(CONFIG_PATA_PXA) += pata_pxa.o
116
Alan Cox025621f2007-10-04 21:32:58 +0100117# Should be last but two libata driver
118obj-$(CONFIG_PATA_ACPI) += pata_acpi.o
Jeff Garzik669a5db2006-08-29 18:12:40 -0400119# Should be last but one libata driver
120obj-$(CONFIG_ATA_GENERIC) += ata_generic.o
121# Should be last libata driver
122obj-$(CONFIG_PATA_LEGACY) += pata_legacy.o
123
Hannes Reinecke255c03d2015-03-27 16:46:38 +0100124libata-y := libata-core.o libata-scsi.o libata-eh.o \
125 libata-transport.o libata-trace.o
Bartlomiej Zolnierkiewicz7fe183c2020-03-26 16:58:11 +0100126libata-$(CONFIG_SATA_HOST) += libata-sata.o
Tejun Heo127102a2008-04-07 22:47:21 +0900127libata-$(CONFIG_ATA_SFF) += libata-sff.o
Tejun Heo88fcd562008-04-07 22:47:22 +0900128libata-$(CONFIG_SATA_PMP) += libata-pmp.o
Tejun Heoe92351b2007-05-05 23:50:38 +0900129libata-$(CONFIG_ATA_ACPI) += libata-acpi.o
Aaron Luafe75952013-01-15 17:20:58 +0800130libata-$(CONFIG_SATA_ZPODD) += libata-zpodd.o
Bartlomiej Zolnierkiewicza9b2c122020-03-26 16:58:07 +0100131libata-$(CONFIG_PATA_TIMINGS) += libata-pata-timings.o