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