!IF 0 Copyright (C) Microsoft Corporation, 1999 - 1999 Module Name: sources. !ENDIF TARGETNAME=atapikd TARGETPATH=obj TARGETTYPE=DYNLINK USE_MSVCRT=1 USE_LIBCMT=1 C_DEFINES=$(C_DEFINES) -D_NTSYSTEM_ INCLUDES=..\..\inc; \ ..\..\ide\inc; \ ..\..\ide\atapi;\ $(BASE_INC_PATH); \ $(DDK_INC_PATH); \ $(DDK_INC_PATH)\wdm MSC_WARNING_LEVEL=/W3 /WX SOURCES=atapikd.c \ util.c \ kdext.cpp \ help.c \ atapikd.rc UMTYPE=windows DLLDEF=$(O)\atapikd.def TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \ $(SDK_LIB_PATH)\dbgeng.lib DLLENTRY=_DllMainCRTStartup # # enable ACPI IDE Control Method # C_DEFINES=$(C_DEFINES) -DACPI_CONTROL_METHOD_SUPPORT # # keep track of time spent on the first bus scan # #C_DEFINES=$(C_DEFINES) -DIDE_MEASURE_BUSSCAN_SPEED # # check for irps being completed more than once # C_DEFINES=$(C_DEFINES) -DIDE_MULTIPLE_IRP_COMPLETE_REQUESTS_CHECK # # always use acpi _STM if available # C_DEFINES=$(C_DEFINES) -DALWAYS_USE_APCI_IF_AVAILABLE # # always do legacy detection # #C_DEFINES=$(C_DEFINES) -DALWAYS_DO_LEGACY_DETECTION # # DEBUG: # # periodically fails BmSetup # #C_DEFINES=$(C_DEFINES) -DFAKE_BMSETUP_FAILURE=50 # # WMI support # C_DEFINES=$(C_DEFINES) -DIDEPORT_WMI_SUPPORT # # rescan ide bus if we get an dma error # #C_DEFINES=$(C_DEFINES) -DBUS_CHECK_ON_DMA_ERROR # # always verify device if it can really do DMA # #C_DEFINES=$(C_DEFINES) -DALWAYS_VERIFY_DMA # # fake totally broken dma device # #C_DEFINES=$(C_DEFINES) -DFAKE_BROKEN_DMA_DEVICE # # Use a timer DPC to check for empty channel # C_DEFINES=$(C_DEFINES) -DDPC_FOR_EMPTY_CHANNEL # # IOCTL_DISK_GET_DRIVE_GEOMETRY supported # #C_DEFINES=$(C_DEFINES) -DGET_DISK_GEOMETRY_DEFINED # # Support DVD commands for IDE devices # #C_DEFINES=$(C_DEFINES) -DIDE_CPQ_BM # # support timelog # #C_DEFINES=$(C_DEFINES) -DENABLE_TIME_LOG # # support timelog # C_DEFINES=$(C_DEFINES) -DENABLE_SMARTLOG_SUPPORT # # support command log # C_DEFINES=$(C_DEFINES) -DENABLE_COMMAND_LOG # # enable native mode support # #C_DEFINES=$(C_DEFINES) -DENABLE_NATIVE_MODE # # simulate different error conditions # DO NOT ENABLE THIS. Under construction # #C_DEFINES=$(C_DEFINES) -DENABLE_ATAPI_VERIFIER # # log DEADMEAT reason # C_DEFINES=$(C_DEFINES) -DLOG_DEADMEAT_EVENT # # sync device relations # #C_DEFINES=$(C_DEFINES) -DSYNC_DEVICE_RELATIONS # # bus trace # #C_DEFINES=$(C_DEFINES) -DIDE_BUS_TRACE