1 /* 2 * PROJECT: ReactOS PCI Bus Driver 3 * LICENSE: BSD - See COPYING.ARM in the top level directory 4 * FILE: drivers/bus/pci/intrface/lddintrf.c 5 * PURPOSE: Legacy Device Detection Interface 6 * PROGRAMMERS: ReactOS Portable Systems Group 7 */ 8 9 /* INCLUDES *******************************************************************/ 10 11 #include <pci.h> 12 13 #define NDEBUG 14 #include <debug.h> 15 16 /* GLOBALS ********************************************************************/ 17 18 PCI_INTERFACE PciLegacyDeviceDetectionInterface = 19 { 20 &GUID_LEGACY_DEVICE_DETECTION_STANDARD, 21 sizeof(LEGACY_DEVICE_DETECTION_INTERFACE), 22 0, 23 0, 24 PCI_INTERFACE_FDO, 25 0, 26 PciInterface_LegacyDeviceDetection, 27 lddintrf_Constructor, 28 lddintrf_Initializer 29 }; 30 31 /* FUNCTIONS ******************************************************************/ 32 33 NTSTATUS 34 NTAPI 35 lddintrf_Initializer(IN PVOID Instance) 36 { 37 UNREFERENCED_PARAMETER(Instance); 38 /* PnP Interfaces don't get Initialized */ 39 ASSERTMSG("PCI lddintrf_Initializer, unexpected call.\n", FALSE); 40 return STATUS_UNSUCCESSFUL; 41 } 42 43 NTSTATUS 44 NTAPI 45 lddintrf_Constructor(IN PVOID DeviceExtension, 46 IN PVOID Instance, 47 IN PVOID InterfaceData, 48 IN USHORT Version, 49 IN USHORT Size, 50 IN PINTERFACE Interface) 51 { 52 UNREFERENCED_PARAMETER(DeviceExtension); 53 UNREFERENCED_PARAMETER(Instance); 54 UNREFERENCED_PARAMETER(InterfaceData); 55 UNREFERENCED_PARAMETER(Version); 56 UNREFERENCED_PARAMETER(Size); 57 UNREFERENCED_PARAMETER(Interface); 58 59 /* Not yet implemented */ 60 UNIMPLEMENTED_DBGBREAK(); 61 return STATUS_NOT_IMPLEMENTED; 62 } 63 64 /* EOF */ 65