mirror of
https://github.com/reactos/reactos.git
synced 2025-01-11 16:51:06 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
55 lines
1.4 KiB
C
55 lines
1.4 KiB
C
/*
|
|
* PROJECT: ReactOS PCI Bus Driver
|
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
|
* FILE: drivers/bus/pci/intrface/locintrf.c
|
|
* PURPOSE: Location Interface
|
|
* PROGRAMMERS: ReactOS Portable Systems Group
|
|
*/
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include <pci.h>
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
/* GLOBALS ********************************************************************/
|
|
|
|
PCI_INTERFACE PciLocationInterface =
|
|
{
|
|
&GUID_PNP_LOCATION_INTERFACE,
|
|
sizeof(PNP_LOCATION_INTERFACE),
|
|
PNP_LOCATION_INTERFACE_VERSION,
|
|
PNP_LOCATION_INTERFACE_VERSION,
|
|
PCI_INTERFACE_FDO | PCI_INTERFACE_ROOT | PCI_INTERFACE_PDO,
|
|
0,
|
|
PciInterface_Location,
|
|
locintrf_Constructor,
|
|
locintrf_Initializer
|
|
};
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
NTSTATUS
|
|
NTAPI
|
|
locintrf_Initializer(IN PVOID Instance)
|
|
{
|
|
/* PnP Interfaces don't get Initialized */
|
|
ASSERTMSG(FALSE, "PCI locintrf_Initializer, unexpected call.");
|
|
return STATUS_UNSUCCESSFUL;
|
|
}
|
|
|
|
NTSTATUS
|
|
NTAPI
|
|
locintrf_Constructor(IN PVOID DeviceExtension,
|
|
IN PVOID Instance,
|
|
IN PVOID InterfaceData,
|
|
IN USHORT Version,
|
|
IN USHORT Size,
|
|
IN PINTERFACE Interface)
|
|
{
|
|
/* Not yet implemented */
|
|
UNIMPLEMENTED;
|
|
while (TRUE);
|
|
}
|
|
|
|
/* EOF */
|