blob: d0e3d7d5b4672bf9874a1832b7fff2aaf5239007 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
Bartlomiej Zolnierkiewiczade2daf2008-01-26 20:13:07 +01002# link order is important here
Bartlomiej Zolnierkiewiczd0b53f62008-07-24 22:53:36 +02003#
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
5EXTRA_CFLAGS += -Idrivers/ide
6
Bartlomiej Zolnierkiewicz05236ea2008-10-10 22:39:33 +02007ide-core-y += ide.o ide-ioctls.o ide-io.o ide-iops.o ide-lib.o ide-probe.o \
Bartlomiej Zolnierkiewiczebdab072009-01-02 16:12:48 +01008 ide-taskfile.o ide-pm.o ide-park.o ide-pio-blacklist.o ide-sysfs.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
Bartlomiej Zolnierkiewiczade2daf2008-01-26 20:13:07 +010010# core IDE code
Bartlomiej Zolnierkiewiczf06ab342008-07-16 20:33:37 +020011ide-core-$(CONFIG_IDE_TIMINGS) += ide-timings.o
Bartlomiej Zolnierkiewicz594c16d2008-07-15 21:21:58 +020012ide-core-$(CONFIG_IDE_ATAPI) += ide-atapi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070013ide-core-$(CONFIG_BLK_DEV_IDEPCI) += setup-pci.o
14ide-core-$(CONFIG_BLK_DEV_IDEDMA) += ide-dma.o
Bartlomiej Zolnierkiewicz2dbe7e92008-10-13 21:39:47 +020015ide-core-$(CONFIG_BLK_DEV_IDEDMA_SFF) += ide-dma-sff.o
Bartlomiej Zolnierkiewiczecfd80e2007-05-10 00:01:09 +020016ide-core-$(CONFIG_IDE_PROC_FS) += ide-proc.o
Hannes Reineckee3a59b42007-02-07 18:19:37 +010017ide-core-$(CONFIG_BLK_DEV_IDEACPI) += ide-acpi.o
Bartlomiej Zolnierkiewicz7f92b112008-12-29 20:27:37 +010018ide-core-$(CONFIG_IDE_LEGACY) += ide-legacy.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
Bartlomiej Zolnierkiewicz452a8ed2008-10-13 21:39:33 +020020obj-$(CONFIG_IDE) += ide-core.o
Bartlomiej Zolnierkiewiczade2daf2008-01-26 20:13:07 +010021
Bartlomiej Zolnierkiewicz2bfba3c2008-10-21 20:57:23 +020022obj-$(CONFIG_IDE_ARM) += ide_arm.o
Bartlomiej Zolnierkiewiczade2daf2008-01-26 20:13:07 +010023
Bartlomiej Zolnierkiewicz2bfba3c2008-10-21 20:57:23 +020024obj-$(CONFIG_BLK_DEV_ALI14XX) += ali14xx.o
25obj-$(CONFIG_BLK_DEV_UMC8672) += umc8672.o
26obj-$(CONFIG_BLK_DEV_DTC2278) += dtc2278.o
27obj-$(CONFIG_BLK_DEV_HT6560B) += ht6560b.o
28obj-$(CONFIG_BLK_DEV_QD65XX) += qd65xx.o
29obj-$(CONFIG_BLK_DEV_4DRIVES) += ide-4drives.o
30
31obj-$(CONFIG_BLK_DEV_GAYLE) += gayle.o
32obj-$(CONFIG_BLK_DEV_FALCON_IDE) += falconide.o
33obj-$(CONFIG_BLK_DEV_MAC_IDE) += macide.o
34obj-$(CONFIG_BLK_DEV_Q40IDE) += q40ide.o
35obj-$(CONFIG_BLK_DEV_BUDDHA) += buddha.o
36
37obj-$(CONFIG_BLK_DEV_AEC62XX) += aec62xx.o
38obj-$(CONFIG_BLK_DEV_ALI15X3) += alim15x3.o
39obj-$(CONFIG_BLK_DEV_AMD74XX) += amd74xx.o
40obj-$(CONFIG_BLK_DEV_ATIIXP) += atiixp.o
41obj-$(CONFIG_BLK_DEV_CELLEB) += scc_pata.o
42obj-$(CONFIG_BLK_DEV_CMD64X) += cmd64x.o
43obj-$(CONFIG_BLK_DEV_CS5520) += cs5520.o
44obj-$(CONFIG_BLK_DEV_CS5530) += cs5530.o
45obj-$(CONFIG_BLK_DEV_CS5535) += cs5535.o
Bartlomiej Zolnierkiewicza77dcc42009-02-02 20:12:23 +010046obj-$(CONFIG_BLK_DEV_CS5536) += cs5536.o
Bartlomiej Zolnierkiewicz2bfba3c2008-10-21 20:57:23 +020047obj-$(CONFIG_BLK_DEV_SC1200) += sc1200.o
48obj-$(CONFIG_BLK_DEV_CY82C693) += cy82c693.o
49obj-$(CONFIG_BLK_DEV_DELKIN) += delkin_cb.o
50obj-$(CONFIG_BLK_DEV_HPT366) += hpt366.o
Shane McDonald391ad192009-01-06 17:21:01 +010051obj-$(CONFIG_BLK_DEV_IT8172) += it8172.o
Bartlomiej Zolnierkiewicz2bfba3c2008-10-21 20:57:23 +020052obj-$(CONFIG_BLK_DEV_IT8213) += it8213.o
53obj-$(CONFIG_BLK_DEV_IT821X) += it821x.o
54obj-$(CONFIG_BLK_DEV_JMICRON) += jmicron.o
55obj-$(CONFIG_BLK_DEV_NS87415) += ns87415.o
56obj-$(CONFIG_BLK_DEV_OPTI621) += opti621.o
57obj-$(CONFIG_BLK_DEV_PDC202XX_OLD) += pdc202xx_old.o
58obj-$(CONFIG_BLK_DEV_PDC202XX_NEW) += pdc202xx_new.o
59obj-$(CONFIG_BLK_DEV_PIIX) += piix.o
60obj-$(CONFIG_BLK_DEV_RZ1000) += rz1000.o
61obj-$(CONFIG_BLK_DEV_SVWKS) += serverworks.o
62obj-$(CONFIG_BLK_DEV_SGIIOC4) += sgiioc4.o
63obj-$(CONFIG_BLK_DEV_SIIMAGE) += siimage.o
64obj-$(CONFIG_BLK_DEV_SIS5513) += sis5513.o
65obj-$(CONFIG_BLK_DEV_SL82C105) += sl82c105.o
66obj-$(CONFIG_BLK_DEV_SLC90E66) += slc90e66.o
67obj-$(CONFIG_BLK_DEV_TC86C001) += tc86c001.o
68obj-$(CONFIG_BLK_DEV_TRIFLEX) += triflex.o
69obj-$(CONFIG_BLK_DEV_TRM290) += trm290.o
70obj-$(CONFIG_BLK_DEV_VIA82CXXX) += via82cxxx.o
71
72# Must appear at the end of the block
73obj-$(CONFIG_BLK_DEV_GENERIC) += ide-pci-generic.o
Bartlomiej Zolnierkiewiczade2daf2008-01-26 20:13:07 +010074
75obj-$(CONFIG_IDEPCI_PCIBUS_ORDER) += ide-scan-pci.o
76
Bartlomiej Zolnierkiewicz2bfba3c2008-10-21 20:57:23 +020077obj-$(CONFIG_BLK_DEV_CMD640) += cmd640.o
Bartlomiej Zolnierkiewiczade2daf2008-01-26 20:13:07 +010078
Bartlomiej Zolnierkiewicz2bfba3c2008-10-21 20:57:23 +020079obj-$(CONFIG_BLK_DEV_IDE_PMAC) += pmac.o
80
81obj-$(CONFIG_IDE_H8300) += ide-h8300.o
82
Linus Torvalds1da177e2005-04-16 15:20:36 -070083obj-$(CONFIG_IDE_GENERIC) += ide-generic.o
Bartlomiej Zolnierkiewicz2625cd52008-04-18 00:46:21 +020084obj-$(CONFIG_BLK_DEV_IDEPNP) += ide-pnp.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070085
Bartlomiej Zolnierkiewicz806f80a2008-10-17 18:09:14 +020086ide-gd_mod-y += ide-gd.o
Bartlomiej Zolnierkiewicz17802992008-02-01 23:09:25 +010087ide-cd_mod-y += ide-cd.o ide-cd_ioctl.o ide-cd_verbose.o
Bartlomiej Zolnierkiewicz972560f2008-02-01 23:09:23 +010088
Bartlomiej Zolnierkiewicz806f80a2008-10-17 18:09:14 +020089ifeq ($(CONFIG_IDE_GD_ATA), y)
90 ide-gd_mod-y += ide-disk.o ide-disk_ioctl.o
Bartlomiej Zolnierkiewiczb9103da2008-10-13 21:39:44 +020091ifeq ($(CONFIG_IDE_PROC_FS), y)
Bartlomiej Zolnierkiewicz806f80a2008-10-17 18:09:14 +020092 ide-gd_mod-y += ide-disk_proc.o
93endif
Bartlomiej Zolnierkiewiczb9103da2008-10-13 21:39:44 +020094endif
95
Bartlomiej Zolnierkiewicz806f80a2008-10-17 18:09:14 +020096ifeq ($(CONFIG_IDE_GD_ATAPI), y)
97 ide-gd_mod-y += ide-floppy.o ide-floppy_ioctl.o
98ifeq ($(CONFIG_IDE_PROC_FS), y)
99 ide-gd_mod-y += ide-floppy_proc.o
100endif
101endif
102
103obj-$(CONFIG_IDE_GD) += ide-gd_mod.o
Bartlomiej Zolnierkiewicz972560f2008-02-01 23:09:23 +0100104obj-$(CONFIG_BLK_DEV_IDECD) += ide-cd_mod.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105obj-$(CONFIG_BLK_DEV_IDETAPE) += ide-tape.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106
Bartlomiej Zolnierkiewicz2bfba3c2008-10-21 20:57:23 +0200107obj-$(CONFIG_BLK_DEV_IDECS) += ide-cs.o
Bartlomiej Zolnierkiewiczade2daf2008-01-26 20:13:07 +0100108
Bartlomiej Zolnierkiewicz2bfba3c2008-10-21 20:57:23 +0200109obj-$(CONFIG_BLK_DEV_PLATFORM) += ide_platform.o
Bartlomiej Zolnierkiewiczade2daf2008-01-26 20:13:07 +0100110
Bartlomiej Zolnierkiewicz2bfba3c2008-10-21 20:57:23 +0200111obj-$(CONFIG_BLK_DEV_IDE_ICSIDE) += icside.o
112obj-$(CONFIG_BLK_DEV_IDE_RAPIDE) += rapide.o
113obj-$(CONFIG_BLK_DEV_PALMCHIP_BK3710) += palm_bk3710.o
114
115obj-$(CONFIG_BLK_DEV_IDE_AU1XXX) += au1xxx-ide.o
Atsushi Nemoto37897982008-10-23 23:22:07 +0200116
Atsushi Nemoto28502842008-10-23 23:22:08 +0200117obj-$(CONFIG_BLK_DEV_IDE_TX4938) += tx4938ide.o
Atsushi Nemoto37897982008-10-23 23:22:07 +0200118obj-$(CONFIG_BLK_DEV_IDE_TX4939) += tx4939ide.o