windows-nt/Source/XPSP1/NT/drivers/storage/ide/atapi/atapinit.h

66 lines
1.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#if !defined (___atapinit_h___)
/*++
Copyright (C) Microsoft Corporation, 1993 - 1999
Module Name:
atapinit.h
Abstract:
--*/
#define ___atapinit_h___
BOOLEAN
IdePortInitHwDeviceExtension (
IN OUT PFDO_EXTENSION FdoExtension
);
VOID
AnalyzeDeviceCapabilities(
IN OUT PFDO_EXTENSION FdoExtension,
IN BOOLEAN MustBePio[MAX_IDE_DEVICE * MAX_IDE_LINE]
);
VOID
AtapiSyncSelectTransferMode (
IN PFDO_EXTENSION FdoExtension,
IN OUT PHW_DEVICE_EXTENSION DeviceExtension,
IN ULONG TimingModeAllowed[MAX_IDE_TARGETID * MAX_IDE_LINE]
);
BOOLEAN
AtapiFindDevices(
IN PFDO_EXTENSION FdoExtension,
IN OUT PVOID HwDeviceExtension
);
BOOLEAN
AtapiDMACapable (
IN OUT PFDO_EXTENSION FdoExtension,
IN ULONG deviceNumber
);
IDE_DEVICETYPE
AtapiDetectDevice (
IN OUT PFDO_EXTENSION FdoExtension,
IN OUT PPDO_EXTENSION PdoExtension,
IN OUT PIDENTIFY_DATA IdentifyData,
IN BOOLEAN MustSucceed
);
NTSTATUS
IdePortSelectCHS (
IN OUT PFDO_EXTENSION FdoExtension,
IN ULONG Device,
IN PIDENTIFY_DATA IdentifyData
);
NTSTATUS
IdePortScanBus (
IN OUT PFDO_EXTENSION FdoExtension
);
#endif // ___atapinit_h___