mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
7d6bda16c6
NB: Not touching calls in "third-party" code: class and classpnp.
66 lines
1.8 KiB
C
66 lines
1.8 KiB
C
/*
|
|
* PROJECT: ReactOS PCI Bus Driver
|
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
|
* FILE: drivers/bus/pci/intrface/devhere.c
|
|
* PURPOSE: Device Presence Interface
|
|
* PROGRAMMERS: ReactOS Portable Systems Group
|
|
*/
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include <pci.h>
|
|
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
/* GLOBALS ********************************************************************/
|
|
|
|
PCI_INTERFACE PciDevicePresentInterface =
|
|
{
|
|
&GUID_PCI_DEVICE_PRESENT_INTERFACE,
|
|
sizeof(PCI_DEVICE_PRESENT_INTERFACE),
|
|
PCI_DEVICE_PRESENT_INTERFACE_VERSION,
|
|
PCI_DEVICE_PRESENT_INTERFACE_VERSION,
|
|
PCI_INTERFACE_PDO,
|
|
0,
|
|
PciInterface_DevicePresent,
|
|
devpresent_Constructor,
|
|
devpresent_Initializer
|
|
};
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
NTSTATUS
|
|
NTAPI
|
|
devpresent_Initializer(IN PVOID Instance)
|
|
{
|
|
UNREFERENCED_PARAMETER(Instance);
|
|
/* PnP Interfaces don't get Initialized */
|
|
ASSERTMSG("PCI devpresent_Initializer, unexpected call.\n", FALSE);
|
|
return STATUS_UNSUCCESSFUL;
|
|
}
|
|
|
|
NTSTATUS
|
|
NTAPI
|
|
devpresent_Constructor(IN PVOID DeviceExtension,
|
|
IN PVOID Instance,
|
|
IN PVOID InterfaceData,
|
|
IN USHORT Version,
|
|
IN USHORT Size,
|
|
IN PINTERFACE Interface)
|
|
{
|
|
PAGED_CODE();
|
|
|
|
UNREFERENCED_PARAMETER(DeviceExtension);
|
|
UNREFERENCED_PARAMETER(Instance);
|
|
UNREFERENCED_PARAMETER(InterfaceData);
|
|
UNREFERENCED_PARAMETER(Version);
|
|
UNREFERENCED_PARAMETER(Size);
|
|
UNREFERENCED_PARAMETER(Interface);
|
|
|
|
/* Not yet implemented */
|
|
UNIMPLEMENTED_DBGBREAK();
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
}
|
|
|
|
/* EOF */
|