Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
Bartlomiej Zolnierkiewicz | ade2daf | 2008-01-26 20:13:07 +0100 | [diff] [blame] | 2 | # link order is important here |
Bartlomiej Zolnierkiewicz | d0b53f6 | 2008-07-24 22:53:36 +0200 | [diff] [blame] | 3 | # |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | |
matt mooney | 732f36d | 2011-01-14 06:12:39 -0800 | [diff] [blame] | 5 | ccflags-y := -Idrivers/ide |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | |
Bartlomiej Zolnierkiewicz | 05236ea | 2008-10-10 22:39:33 +0200 | [diff] [blame] | 7 | ide-core-y += ide.o ide-ioctls.o ide-io.o ide-iops.o ide-lib.o ide-probe.o \ |
Bartlomiej Zolnierkiewicz | 1574cf6 | 2009-03-24 23:22:46 +0100 | [diff] [blame] | 8 | ide-taskfile.o ide-pm.o ide-park.o ide-sysfs.o ide-devsets.o \ |
Bartlomiej Zolnierkiewicz | 327fa1c | 2009-03-24 23:22:47 +0100 | [diff] [blame] | 9 | ide-io-std.o ide-eh.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
Bartlomiej Zolnierkiewicz | ade2daf | 2008-01-26 20:13:07 +0100 | [diff] [blame] | 11 | # core IDE code |
Bartlomiej Zolnierkiewicz | 7eeaaaa | 2009-03-24 23:22:46 +0100 | [diff] [blame] | 12 | ide-core-$(CONFIG_IDE_XFER_MODE) += ide-pio-blacklist.o ide-xfer-mode.o |
Bartlomiej Zolnierkiewicz | f06ab34 | 2008-07-16 20:33:37 +0200 | [diff] [blame] | 13 | ide-core-$(CONFIG_IDE_TIMINGS) += ide-timings.o |
Bartlomiej Zolnierkiewicz | 594c16d | 2008-07-15 21:21:58 +0200 | [diff] [blame] | 14 | ide-core-$(CONFIG_IDE_ATAPI) += ide-atapi.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | ide-core-$(CONFIG_BLK_DEV_IDEPCI) += setup-pci.o |
| 16 | ide-core-$(CONFIG_BLK_DEV_IDEDMA) += ide-dma.o |
Bartlomiej Zolnierkiewicz | 2dbe7e9 | 2008-10-13 21:39:47 +0200 | [diff] [blame] | 17 | ide-core-$(CONFIG_BLK_DEV_IDEDMA_SFF) += ide-dma-sff.o |
Bartlomiej Zolnierkiewicz | ecfd80e | 2007-05-10 00:01:09 +0200 | [diff] [blame] | 18 | ide-core-$(CONFIG_IDE_PROC_FS) += ide-proc.o |
Hannes Reinecke | e3a59b4 | 2007-02-07 18:19:37 +0100 | [diff] [blame] | 19 | ide-core-$(CONFIG_BLK_DEV_IDEACPI) += ide-acpi.o |
Bartlomiej Zolnierkiewicz | 7f92b11 | 2008-12-29 20:27:37 +0100 | [diff] [blame] | 20 | ide-core-$(CONFIG_IDE_LEGACY) += ide-legacy.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | |
Bartlomiej Zolnierkiewicz | 452a8ed | 2008-10-13 21:39:33 +0200 | [diff] [blame] | 22 | obj-$(CONFIG_IDE) += ide-core.o |
Bartlomiej Zolnierkiewicz | ade2daf | 2008-01-26 20:13:07 +0100 | [diff] [blame] | 23 | |
Bartlomiej Zolnierkiewicz | 2bfba3c | 2008-10-21 20:57:23 +0200 | [diff] [blame] | 24 | obj-$(CONFIG_BLK_DEV_ALI14XX) += ali14xx.o |
| 25 | obj-$(CONFIG_BLK_DEV_UMC8672) += umc8672.o |
| 26 | obj-$(CONFIG_BLK_DEV_DTC2278) += dtc2278.o |
| 27 | obj-$(CONFIG_BLK_DEV_HT6560B) += ht6560b.o |
| 28 | obj-$(CONFIG_BLK_DEV_QD65XX) += qd65xx.o |
| 29 | obj-$(CONFIG_BLK_DEV_4DRIVES) += ide-4drives.o |
| 30 | |
| 31 | obj-$(CONFIG_BLK_DEV_GAYLE) += gayle.o |
| 32 | obj-$(CONFIG_BLK_DEV_FALCON_IDE) += falconide.o |
| 33 | obj-$(CONFIG_BLK_DEV_MAC_IDE) += macide.o |
| 34 | obj-$(CONFIG_BLK_DEV_Q40IDE) += q40ide.o |
| 35 | obj-$(CONFIG_BLK_DEV_BUDDHA) += buddha.o |
| 36 | |
| 37 | obj-$(CONFIG_BLK_DEV_AEC62XX) += aec62xx.o |
| 38 | obj-$(CONFIG_BLK_DEV_ALI15X3) += alim15x3.o |
| 39 | obj-$(CONFIG_BLK_DEV_AMD74XX) += amd74xx.o |
| 40 | obj-$(CONFIG_BLK_DEV_ATIIXP) += atiixp.o |
| 41 | obj-$(CONFIG_BLK_DEV_CELLEB) += scc_pata.o |
| 42 | obj-$(CONFIG_BLK_DEV_CMD64X) += cmd64x.o |
| 43 | obj-$(CONFIG_BLK_DEV_CS5520) += cs5520.o |
| 44 | obj-$(CONFIG_BLK_DEV_CS5530) += cs5530.o |
| 45 | obj-$(CONFIG_BLK_DEV_CS5535) += cs5535.o |
Bartlomiej Zolnierkiewicz | a77dcc4 | 2009-02-02 20:12:23 +0100 | [diff] [blame] | 46 | obj-$(CONFIG_BLK_DEV_CS5536) += cs5536.o |
Bartlomiej Zolnierkiewicz | 2bfba3c | 2008-10-21 20:57:23 +0200 | [diff] [blame] | 47 | obj-$(CONFIG_BLK_DEV_SC1200) += sc1200.o |
| 48 | obj-$(CONFIG_BLK_DEV_CY82C693) += cy82c693.o |
| 49 | obj-$(CONFIG_BLK_DEV_DELKIN) += delkin_cb.o |
| 50 | obj-$(CONFIG_BLK_DEV_HPT366) += hpt366.o |
Shane McDonald | 391ad19 | 2009-01-06 17:21:01 +0100 | [diff] [blame] | 51 | obj-$(CONFIG_BLK_DEV_IT8172) += it8172.o |
Bartlomiej Zolnierkiewicz | 2bfba3c | 2008-10-21 20:57:23 +0200 | [diff] [blame] | 52 | obj-$(CONFIG_BLK_DEV_IT8213) += it8213.o |
| 53 | obj-$(CONFIG_BLK_DEV_IT821X) += it821x.o |
| 54 | obj-$(CONFIG_BLK_DEV_JMICRON) += jmicron.o |
| 55 | obj-$(CONFIG_BLK_DEV_NS87415) += ns87415.o |
| 56 | obj-$(CONFIG_BLK_DEV_OPTI621) += opti621.o |
| 57 | obj-$(CONFIG_BLK_DEV_PDC202XX_OLD) += pdc202xx_old.o |
| 58 | obj-$(CONFIG_BLK_DEV_PDC202XX_NEW) += pdc202xx_new.o |
| 59 | obj-$(CONFIG_BLK_DEV_PIIX) += piix.o |
| 60 | obj-$(CONFIG_BLK_DEV_RZ1000) += rz1000.o |
| 61 | obj-$(CONFIG_BLK_DEV_SVWKS) += serverworks.o |
| 62 | obj-$(CONFIG_BLK_DEV_SGIIOC4) += sgiioc4.o |
| 63 | obj-$(CONFIG_BLK_DEV_SIIMAGE) += siimage.o |
| 64 | obj-$(CONFIG_BLK_DEV_SIS5513) += sis5513.o |
| 65 | obj-$(CONFIG_BLK_DEV_SL82C105) += sl82c105.o |
| 66 | obj-$(CONFIG_BLK_DEV_SLC90E66) += slc90e66.o |
| 67 | obj-$(CONFIG_BLK_DEV_TC86C001) += tc86c001.o |
| 68 | obj-$(CONFIG_BLK_DEV_TRIFLEX) += triflex.o |
| 69 | obj-$(CONFIG_BLK_DEV_TRM290) += trm290.o |
| 70 | obj-$(CONFIG_BLK_DEV_VIA82CXXX) += via82cxxx.o |
| 71 | |
| 72 | # Must appear at the end of the block |
| 73 | obj-$(CONFIG_BLK_DEV_GENERIC) += ide-pci-generic.o |
Bartlomiej Zolnierkiewicz | ade2daf | 2008-01-26 20:13:07 +0100 | [diff] [blame] | 74 | |
| 75 | obj-$(CONFIG_IDEPCI_PCIBUS_ORDER) += ide-scan-pci.o |
| 76 | |
Bartlomiej Zolnierkiewicz | 2bfba3c | 2008-10-21 20:57:23 +0200 | [diff] [blame] | 77 | obj-$(CONFIG_BLK_DEV_CMD640) += cmd640.o |
Bartlomiej Zolnierkiewicz | ade2daf | 2008-01-26 20:13:07 +0100 | [diff] [blame] | 78 | |
Bartlomiej Zolnierkiewicz | 2bfba3c | 2008-10-21 20:57:23 +0200 | [diff] [blame] | 79 | obj-$(CONFIG_BLK_DEV_IDE_PMAC) += pmac.o |
| 80 | |
| 81 | obj-$(CONFIG_IDE_H8300) += ide-h8300.o |
| 82 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 83 | obj-$(CONFIG_IDE_GENERIC) += ide-generic.o |
Bartlomiej Zolnierkiewicz | 2625cd5 | 2008-04-18 00:46:21 +0200 | [diff] [blame] | 84 | obj-$(CONFIG_BLK_DEV_IDEPNP) += ide-pnp.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 85 | |
Bartlomiej Zolnierkiewicz | 806f80a | 2008-10-17 18:09:14 +0200 | [diff] [blame] | 86 | ide-gd_mod-y += ide-gd.o |
Bartlomiej Zolnierkiewicz | 1780299 | 2008-02-01 23:09:25 +0100 | [diff] [blame] | 87 | ide-cd_mod-y += ide-cd.o ide-cd_ioctl.o ide-cd_verbose.o |
Bartlomiej Zolnierkiewicz | 972560f | 2008-02-01 23:09:23 +0100 | [diff] [blame] | 88 | |
Bartlomiej Zolnierkiewicz | 806f80a | 2008-10-17 18:09:14 +0200 | [diff] [blame] | 89 | ifeq ($(CONFIG_IDE_GD_ATA), y) |
| 90 | ide-gd_mod-y += ide-disk.o ide-disk_ioctl.o |
Bartlomiej Zolnierkiewicz | b9103da | 2008-10-13 21:39:44 +0200 | [diff] [blame] | 91 | ifeq ($(CONFIG_IDE_PROC_FS), y) |
Bartlomiej Zolnierkiewicz | 806f80a | 2008-10-17 18:09:14 +0200 | [diff] [blame] | 92 | ide-gd_mod-y += ide-disk_proc.o |
| 93 | endif |
Bartlomiej Zolnierkiewicz | b9103da | 2008-10-13 21:39:44 +0200 | [diff] [blame] | 94 | endif |
| 95 | |
Bartlomiej Zolnierkiewicz | 806f80a | 2008-10-17 18:09:14 +0200 | [diff] [blame] | 96 | ifeq ($(CONFIG_IDE_GD_ATAPI), y) |
| 97 | ide-gd_mod-y += ide-floppy.o ide-floppy_ioctl.o |
| 98 | ifeq ($(CONFIG_IDE_PROC_FS), y) |
| 99 | ide-gd_mod-y += ide-floppy_proc.o |
| 100 | endif |
| 101 | endif |
| 102 | |
| 103 | obj-$(CONFIG_IDE_GD) += ide-gd_mod.o |
Bartlomiej Zolnierkiewicz | 972560f | 2008-02-01 23:09:23 +0100 | [diff] [blame] | 104 | obj-$(CONFIG_BLK_DEV_IDECD) += ide-cd_mod.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 105 | obj-$(CONFIG_BLK_DEV_IDETAPE) += ide-tape.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 106 | |
Bartlomiej Zolnierkiewicz | 2bfba3c | 2008-10-21 20:57:23 +0200 | [diff] [blame] | 107 | obj-$(CONFIG_BLK_DEV_IDECS) += ide-cs.o |
Bartlomiej Zolnierkiewicz | ade2daf | 2008-01-26 20:13:07 +0100 | [diff] [blame] | 108 | |
Bartlomiej Zolnierkiewicz | 2bfba3c | 2008-10-21 20:57:23 +0200 | [diff] [blame] | 109 | obj-$(CONFIG_BLK_DEV_PLATFORM) += ide_platform.o |
Bartlomiej Zolnierkiewicz | ade2daf | 2008-01-26 20:13:07 +0100 | [diff] [blame] | 110 | |
Bartlomiej Zolnierkiewicz | 2bfba3c | 2008-10-21 20:57:23 +0200 | [diff] [blame] | 111 | obj-$(CONFIG_BLK_DEV_IDE_ICSIDE) += icside.o |
| 112 | obj-$(CONFIG_BLK_DEV_IDE_RAPIDE) += rapide.o |
| 113 | obj-$(CONFIG_BLK_DEV_PALMCHIP_BK3710) += palm_bk3710.o |
| 114 | |
| 115 | obj-$(CONFIG_BLK_DEV_IDE_AU1XXX) += au1xxx-ide.o |
Atsushi Nemoto | 3789798 | 2008-10-23 23:22:07 +0200 | [diff] [blame] | 116 | |
Atsushi Nemoto | 2850284 | 2008-10-23 23:22:08 +0200 | [diff] [blame] | 117 | obj-$(CONFIG_BLK_DEV_IDE_TX4938) += tx4938ide.o |
Atsushi Nemoto | 3789798 | 2008-10-23 23:22:07 +0200 | [diff] [blame] | 118 | obj-$(CONFIG_BLK_DEV_IDE_TX4939) += tx4939ide.o |
Stanislaw Gruszka | 6e5f1e1 | 2009-03-05 16:10:58 +0100 | [diff] [blame] | 119 | obj-$(CONFIG_BLK_DEV_IDE_AT91) += at91_ide.o |