Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.3 KiB

  1. #if !defined (___atapinit_h___)
  2. /*++
  3. Copyright (C) Microsoft Corporation, 1993 - 1999
  4. Module Name:
  5. atapinit.h
  6. Abstract:
  7. --*/
  8. #define ___atapinit_h___
  9. BOOLEAN
  10. IdePortInitHwDeviceExtension (
  11. IN OUT PFDO_EXTENSION FdoExtension
  12. );
  13. VOID
  14. AnalyzeDeviceCapabilities(
  15. IN OUT PFDO_EXTENSION FdoExtension,
  16. IN BOOLEAN MustBePio[MAX_IDE_DEVICE * MAX_IDE_LINE]
  17. );
  18. VOID
  19. AtapiSyncSelectTransferMode (
  20. IN PFDO_EXTENSION FdoExtension,
  21. IN OUT PHW_DEVICE_EXTENSION DeviceExtension,
  22. IN ULONG TimingModeAllowed[MAX_IDE_TARGETID * MAX_IDE_LINE]
  23. );
  24. BOOLEAN
  25. AtapiFindDevices(
  26. IN PFDO_EXTENSION FdoExtension,
  27. IN OUT PVOID HwDeviceExtension
  28. );
  29. BOOLEAN
  30. AtapiDMACapable (
  31. IN OUT PFDO_EXTENSION FdoExtension,
  32. IN ULONG deviceNumber
  33. );
  34. IDE_DEVICETYPE
  35. AtapiDetectDevice (
  36. IN OUT PFDO_EXTENSION FdoExtension,
  37. IN OUT PPDO_EXTENSION PdoExtension,
  38. IN OUT PIDENTIFY_DATA IdentifyData,
  39. IN BOOLEAN MustSucceed
  40. );
  41. NTSTATUS
  42. IdePortSelectCHS (
  43. IN OUT PFDO_EXTENSION FdoExtension,
  44. IN ULONG Device,
  45. IN PIDENTIFY_DATA IdentifyData
  46. );
  47. NTSTATUS
  48. IdePortScanBus (
  49. IN OUT PFDO_EXTENSION FdoExtension
  50. );
  51. #endif // ___atapinit_h___