Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
1da177e4 | 2 | # |
ade2daf9 | 3 | # link order is important here |
d0b53f68 | 4 | # |
1da177e4 | 5 | |
05236ea6 | 6 | ide-core-y += ide.o ide-ioctls.o ide-io.o ide-iops.o ide-lib.o ide-probe.o \ |
1574cf6c | 7 | ide-taskfile.o ide-pm.o ide-park.o ide-sysfs.o ide-devsets.o \ |
327fa1c2 | 8 | ide-io-std.o ide-eh.o |
1da177e4 | 9 | |
ade2daf9 | 10 | # core IDE code |
7eeaaaa5 | 11 | ide-core-$(CONFIG_IDE_XFER_MODE) += ide-pio-blacklist.o ide-xfer-mode.o |
f06ab340 | 12 | ide-core-$(CONFIG_IDE_TIMINGS) += ide-timings.o |
594c16d8 | 13 | ide-core-$(CONFIG_IDE_ATAPI) += ide-atapi.o |
1da177e4 LT |
14 | ide-core-$(CONFIG_BLK_DEV_IDEPCI) += setup-pci.o |
15 | ide-core-$(CONFIG_BLK_DEV_IDEDMA) += ide-dma.o | |
2dbe7e91 | 16 | ide-core-$(CONFIG_BLK_DEV_IDEDMA_SFF) += ide-dma-sff.o |
ecfd80e4 | 17 | ide-core-$(CONFIG_IDE_PROC_FS) += ide-proc.o |
e3a59b4d | 18 | ide-core-$(CONFIG_BLK_DEV_IDEACPI) += ide-acpi.o |
7f92b11c | 19 | ide-core-$(CONFIG_IDE_LEGACY) += ide-legacy.o |
1da177e4 | 20 | |
452a8ed8 | 21 | obj-$(CONFIG_IDE) += ide-core.o |
1da177e4 | 22 | |
2bfba3c4 BZ |
23 | obj-$(CONFIG_BLK_DEV_ALI14XX) += ali14xx.o |
24 | obj-$(CONFIG_BLK_DEV_UMC8672) += umc8672.o | |
25 | obj-$(CONFIG_BLK_DEV_DTC2278) += dtc2278.o | |
26 | obj-$(CONFIG_BLK_DEV_HT6560B) += ht6560b.o | |
27 | obj-$(CONFIG_BLK_DEV_QD65XX) += qd65xx.o | |
28 | obj-$(CONFIG_BLK_DEV_4DRIVES) += ide-4drives.o | |
29 | ||
30 | obj-$(CONFIG_BLK_DEV_GAYLE) += gayle.o | |
31 | obj-$(CONFIG_BLK_DEV_FALCON_IDE) += falconide.o | |
32 | obj-$(CONFIG_BLK_DEV_MAC_IDE) += macide.o | |
33 | obj-$(CONFIG_BLK_DEV_Q40IDE) += q40ide.o | |
34 | obj-$(CONFIG_BLK_DEV_BUDDHA) += buddha.o | |
35 | ||
36 | obj-$(CONFIG_BLK_DEV_AEC62XX) += aec62xx.o | |
37 | obj-$(CONFIG_BLK_DEV_ALI15X3) += alim15x3.o | |
38 | obj-$(CONFIG_BLK_DEV_AMD74XX) += amd74xx.o | |
39 | obj-$(CONFIG_BLK_DEV_ATIIXP) += atiixp.o | |
2bfba3c4 BZ |
40 | obj-$(CONFIG_BLK_DEV_CMD64X) += cmd64x.o |
41 | obj-$(CONFIG_BLK_DEV_CS5520) += cs5520.o | |
42 | obj-$(CONFIG_BLK_DEV_CS5530) += cs5530.o | |
43 | obj-$(CONFIG_BLK_DEV_CS5535) += cs5535.o | |
a77dcc43 | 44 | obj-$(CONFIG_BLK_DEV_CS5536) += cs5536.o |
2bfba3c4 BZ |
45 | obj-$(CONFIG_BLK_DEV_SC1200) += sc1200.o |
46 | obj-$(CONFIG_BLK_DEV_CY82C693) += cy82c693.o | |
47 | obj-$(CONFIG_BLK_DEV_DELKIN) += delkin_cb.o | |
48 | obj-$(CONFIG_BLK_DEV_HPT366) += hpt366.o | |
391ad190 | 49 | obj-$(CONFIG_BLK_DEV_IT8172) += it8172.o |
2bfba3c4 BZ |
50 | obj-$(CONFIG_BLK_DEV_IT8213) += it8213.o |
51 | obj-$(CONFIG_BLK_DEV_IT821X) += it821x.o | |
52 | obj-$(CONFIG_BLK_DEV_JMICRON) += jmicron.o | |
53 | obj-$(CONFIG_BLK_DEV_NS87415) += ns87415.o | |
54 | obj-$(CONFIG_BLK_DEV_OPTI621) += opti621.o | |
55 | obj-$(CONFIG_BLK_DEV_PDC202XX_OLD) += pdc202xx_old.o | |
56 | obj-$(CONFIG_BLK_DEV_PDC202XX_NEW) += pdc202xx_new.o | |
57 | obj-$(CONFIG_BLK_DEV_PIIX) += piix.o | |
58 | obj-$(CONFIG_BLK_DEV_RZ1000) += rz1000.o | |
59 | obj-$(CONFIG_BLK_DEV_SVWKS) += serverworks.o | |
2bfba3c4 BZ |
60 | obj-$(CONFIG_BLK_DEV_SIIMAGE) += siimage.o |
61 | obj-$(CONFIG_BLK_DEV_SIS5513) += sis5513.o | |
62 | obj-$(CONFIG_BLK_DEV_SL82C105) += sl82c105.o | |
63 | obj-$(CONFIG_BLK_DEV_SLC90E66) += slc90e66.o | |
64 | obj-$(CONFIG_BLK_DEV_TC86C001) += tc86c001.o | |
65 | obj-$(CONFIG_BLK_DEV_TRIFLEX) += triflex.o | |
66 | obj-$(CONFIG_BLK_DEV_TRM290) += trm290.o | |
67 | obj-$(CONFIG_BLK_DEV_VIA82CXXX) += via82cxxx.o | |
68 | ||
69 | # Must appear at the end of the block | |
70 | obj-$(CONFIG_BLK_DEV_GENERIC) += ide-pci-generic.o | |
1da177e4 | 71 | |
ade2daf9 | 72 | obj-$(CONFIG_IDEPCI_PCIBUS_ORDER) += ide-scan-pci.o |
1da177e4 | 73 | |
2bfba3c4 BZ |
74 | obj-$(CONFIG_BLK_DEV_CMD640) += cmd640.o |
75 | ||
76 | obj-$(CONFIG_BLK_DEV_IDE_PMAC) += pmac.o | |
77 | ||
1da177e4 | 78 | obj-$(CONFIG_IDE_GENERIC) += ide-generic.o |
2625cd52 | 79 | obj-$(CONFIG_BLK_DEV_IDEPNP) += ide-pnp.o |
1da177e4 | 80 | |
806f80a6 | 81 | ide-gd_mod-y += ide-gd.o |
17802998 | 82 | ide-cd_mod-y += ide-cd.o ide-cd_ioctl.o ide-cd_verbose.o |
972560fb | 83 | |
806f80a6 BZ |
84 | ifeq ($(CONFIG_IDE_GD_ATA), y) |
85 | ide-gd_mod-y += ide-disk.o ide-disk_ioctl.o | |
b9103da4 | 86 | ifeq ($(CONFIG_IDE_PROC_FS), y) |
806f80a6 BZ |
87 | ide-gd_mod-y += ide-disk_proc.o |
88 | endif | |
89 | endif | |
90 | ||
91 | ifeq ($(CONFIG_IDE_GD_ATAPI), y) | |
92 | ide-gd_mod-y += ide-floppy.o ide-floppy_ioctl.o | |
93 | ifeq ($(CONFIG_IDE_PROC_FS), y) | |
94 | ide-gd_mod-y += ide-floppy_proc.o | |
95 | endif | |
b9103da4 BZ |
96 | endif |
97 | ||
806f80a6 | 98 | obj-$(CONFIG_IDE_GD) += ide-gd_mod.o |
972560fb | 99 | obj-$(CONFIG_BLK_DEV_IDECD) += ide-cd_mod.o |
1da177e4 | 100 | obj-$(CONFIG_BLK_DEV_IDETAPE) += ide-tape.o |
1da177e4 | 101 | |
2bfba3c4 | 102 | obj-$(CONFIG_BLK_DEV_IDECS) += ide-cs.o |
ade2daf9 | 103 | |
2bfba3c4 BZ |
104 | obj-$(CONFIG_BLK_DEV_PLATFORM) += ide_platform.o |
105 | ||
106 | obj-$(CONFIG_BLK_DEV_IDE_ICSIDE) += icside.o | |
107 | obj-$(CONFIG_BLK_DEV_IDE_RAPIDE) += rapide.o | |
108 | obj-$(CONFIG_BLK_DEV_PALMCHIP_BK3710) += palm_bk3710.o | |
ade2daf9 | 109 | |
28502848 | 110 | obj-$(CONFIG_BLK_DEV_IDE_TX4938) += tx4938ide.o |
37897989 | 111 | obj-$(CONFIG_BLK_DEV_IDE_TX4939) += tx4939ide.o |