mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 18:02:05 +00:00

- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
55 lines
1.3 KiB
C
55 lines
1.3 KiB
C
/*
|
|
* PROJECT: ReactOS PCI Bus Driver
|
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
|
* FILE: drivers/bus/pci/intrface/busintrf.c
|
|
* PURPOSE: Bus Interface
|
|
* PROGRAMMERS: ReactOS Portable Systems Group
|
|
*/
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include <pci.h>
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
/* GLOBALS ********************************************************************/
|
|
|
|
PCI_INTERFACE BusHandlerInterface =
|
|
{
|
|
&GUID_BUS_INTERFACE_STANDARD,
|
|
sizeof(BUS_INTERFACE_STANDARD),
|
|
1,
|
|
1,
|
|
PCI_INTERFACE_PDO,
|
|
0,
|
|
PciInterface_BusHandler,
|
|
busintrf_Constructor,
|
|
busintrf_Initializer
|
|
};
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
NTSTATUS
|
|
NTAPI
|
|
busintrf_Initializer(IN PVOID Instance)
|
|
{
|
|
/* PnP Interfaces don't get Initialized */
|
|
ASSERTMSG(FALSE, "PCI busintrf_Initializer, unexpected call.");
|
|
return STATUS_UNSUCCESSFUL;
|
|
}
|
|
|
|
NTSTATUS
|
|
NTAPI
|
|
busintrf_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 */
|