#
# link order is important here
#
ccflags-y := -Idrivers/ide
ide-core-y += ide.o ide-ioctls.o ide-io.o ide-iops.o ide-lib.o ide-probe.o \
ide-taskfile.o ide-pm.o ide-park.o ide-sysfs.o ide-devsets.o \
ide-io-std.o ide-eh.o
# core IDE code
ide-core-$([31mCONFIG_IDE_XFER_MODE[0m) += ide-pio-blacklist.o ide-xfer-mode.o
ide-core-$([31mCONFIG_IDE_TIMINGS[0m) += ide-timings.o
ide-core-$([31mCONFIG_IDE_ATAPI[0m) += ide-atapi.o
ide-core-$([31mCONFIG_BLK_DEV_IDEPCI[0m) += setup-pci.o
ide-core-$([31mCONFIG_BLK_DEV_IDEDMA[0m) += ide-dma.o
ide-core-$([31mCONFIG_BLK_DEV_IDEDMA_SFF[0m) += ide-dma-sff.o
ide-core-$([31mCONFIG_IDE_PROC_FS[0m) += ide-proc.o
ide-core-$([31mCONFIG_BLK_DEV_IDEACPI[0m) += ide-acpi.o
ide-core-$([31mCONFIG_IDE_LEGACY[0m) += ide-legacy.o
obj-$([31mCONFIG_IDE[0m) += ide-core.o
obj-$([31mCONFIG_BLK_DEV_ALI14XX[0m) += ali14xx.o
obj-$([31mCONFIG_BLK_DEV_UMC8672[0m) += umc8672.o
obj-$([31mCONFIG_BLK_DEV_DTC2278[0m) += dtc2278.o
obj-$([31mCONFIG_BLK_DEV_HT6560B[0m) += ht6560b.o
obj-$([31mCONFIG_BLK_DEV_QD65XX[0m) += qd65xx.o
obj-$([31mCONFIG_BLK_DEV_4DRIVES[0m) += ide-4drives.o
obj-$([31mCONFIG_BLK_DEV_GAYLE[0m) += gayle.o
obj-$([31mCONFIG_BLK_DEV_FALCON_IDE[0m) += falconide.o
obj-$([31mCONFIG_BLK_DEV_MAC_IDE[0m) += macide.o
obj-$([31mCONFIG_BLK_DEV_Q40IDE[0m) += q40ide.o
obj-$([31mCONFIG_BLK_DEV_BUDDHA[0m) += buddha.o
obj-$([31mCONFIG_BLK_DEV_AEC62XX[0m) += aec62xx.o
obj-$([31mCONFIG_BLK_DEV_ALI15X3[0m) += alim15x3.o
obj-$([31mCONFIG_BLK_DEV_AMD74XX[0m) += amd74xx.o
obj-$([31mCONFIG_BLK_DEV_ATIIXP[0m) += atiixp.o
obj-$([31mCONFIG_BLK_DEV_CMD64X[0m) += cmd64x.o
obj-$([31mCONFIG_BLK_DEV_CS5520[0m) += cs5520.o
obj-$([31mCONFIG_BLK_DEV_CS5530[0m) += cs5530.o
obj-$([31mCONFIG_BLK_DEV_CS5535[0m) += cs5535.o
obj-$([31mCONFIG_BLK_DEV_CS5536[0m) += cs5536.o
obj-$([31mCONFIG_BLK_DEV_SC1200[0m) += sc1200.o
obj-$([31mCONFIG_BLK_DEV_CY82C693[0m) += cy82c693.o
obj-$([31mCONFIG_BLK_DEV_DELKIN[0m) += delkin_cb.o
obj-$([31mCONFIG_BLK_DEV_HPT366[0m) += hpt366.o
obj-$([31mCONFIG_BLK_DEV_IT8172[0m) += it8172.o
obj-$([31mCONFIG_BLK_DEV_IT8213[0m) += it8213.o
obj-$([31mCONFIG_BLK_DEV_IT821X[0m) += it821x.o
obj-$([31mCONFIG_BLK_DEV_JMICRON[0m) += jmicron.o
obj-$([31mCONFIG_BLK_DEV_NS87415[0m) += ns87415.o
obj-$([31mCONFIG_BLK_DEV_OPTI621[0m) += opti621.o
obj-$([31mCONFIG_BLK_DEV_PDC202XX_OLD[0m) += pdc202xx_old.o
obj-$([31mCONFIG_BLK_DEV_PDC202XX_NEW[0m) += pdc202xx_new.o
obj-$([31mCONFIG_BLK_DEV_PIIX[0m) += piix.o
obj-$([31mCONFIG_BLK_DEV_RZ1000[0m) += rz1000.o
obj-$([31mCONFIG_BLK_DEV_SVWKS[0m) += serverworks.o
obj-$([31mCONFIG_BLK_DEV_SGIIOC4[0m) += sgiioc4.o
obj-$([31mCONFIG_BLK_DEV_SIIMAGE[0m) += siimage.o
obj-$([31mCONFIG_BLK_DEV_SIS5513[0m) += sis5513.o
obj-$([31mCONFIG_BLK_DEV_SL82C105[0m) += sl82c105.o
obj-$([31mCONFIG_BLK_DEV_SLC90E66[0m) += slc90e66.o
obj-$([31mCONFIG_BLK_DEV_TC86C001[0m) += tc86c001.o
obj-$([31mCONFIG_BLK_DEV_TRIFLEX[0m) += triflex.o
obj-$([31mCONFIG_BLK_DEV_TRM290[0m) += trm290.o
obj-$([31mCONFIG_BLK_DEV_VIA82CXXX[0m) += via82cxxx.o
# Must appear at the end of the block
obj-$([31mCONFIG_BLK_DEV_GENERIC[0m) += ide-pci-generic.o
obj-$([31mCONFIG_IDEPCI_PCIBUS_ORDER[0m) += ide-scan-pci.o
obj-$([31mCONFIG_BLK_DEV_CMD640[0m) += cmd640.o
obj-$([31mCONFIG_BLK_DEV_IDE_PMAC[0m) += pmac.o
obj-$([31mCONFIG_IDE_GENERIC[0m) += ide-generic.o
obj-$([31mCONFIG_BLK_DEV_IDEPNP[0m) += ide-pnp.o
ide-gd_mod-y += ide-gd.o
ide-cd_mod-y += ide-cd.o ide-cd_ioctl.o ide-cd_verbose.o
ifeq ($([31mCONFIG_IDE_GD_ATA[0m), y)
ide-gd_mod-y += ide-disk.o ide-disk_ioctl.o
ifeq ($([31mCONFIG_IDE_PROC_FS[0m), y)
ide-gd_mod-y += ide-disk_proc.o
endif
endif
ifeq ($([31mCONFIG_IDE_GD_ATAPI[0m), y)
ide-gd_mod-y += ide-floppy.o ide-floppy_ioctl.o
ifeq ($([31mCONFIG_IDE_PROC_FS[0m), y)
ide-gd_mod-y += ide-floppy_proc.o
endif
endif
obj-$([31mCONFIG_IDE_GD[0m) += ide-gd_mod.o
obj-$([31mCONFIG_BLK_DEV_IDECD[0m) += ide-cd_mod.o
obj-$([31mCONFIG_BLK_DEV_IDETAPE[0m) += ide-tape.o
obj-$([31mCONFIG_BLK_DEV_IDECS[0m) += ide-cs.o
obj-$([31mCONFIG_BLK_DEV_PLATFORM[0m) += ide_platform.o
obj-$([31mCONFIG_BLK_DEV_IDE_ICSIDE[0m) += icside.o
obj-$([31mCONFIG_BLK_DEV_IDE_RAPIDE[0m) += rapide.o
obj-$([31mCONFIG_BLK_DEV_PALMCHIP_BK3710[0m) += palm_bk3710.o
obj-$([31mCONFIG_BLK_DEV_IDE_AU1XXX[0m) += au1xxx-ide.o
obj-$([31mCONFIG_BLK_DEV_IDE_TX4938[0m) += tx4938ide.o
obj-$([31mCONFIG_BLK_DEV_IDE_TX4939[0m) += tx4939ide.o