mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
7d6bda16c6
NB: Not touching calls in "third-party" code: class and classpnp.
128 lines
3.1 KiB
C
128 lines
3.1 KiB
C
/*
|
|
* PROJECT: ReactOS PCI Bus Driver
|
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
|
* FILE: drivers/bus/pci/intrface/cardbus.c
|
|
* PURPOSE: CardBus Interface
|
|
* PROGRAMMERS: ReactOS Portable Systems Group
|
|
*/
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include <pci.h>
|
|
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
/* GLOBALS ********************************************************************/
|
|
|
|
PCI_INTERFACE PciCardbusPrivateInterface =
|
|
{
|
|
&GUID_PCI_CARDBUS_INTERFACE_PRIVATE,
|
|
sizeof(PCI_CARDBUS_INTERFACE_PRIVATE),
|
|
PCI_CB_INTRF_VERSION,
|
|
PCI_CB_INTRF_VERSION,
|
|
PCI_INTERFACE_PDO,
|
|
0,
|
|
PciInterface_PciCb,
|
|
pcicbintrf_Constructor,
|
|
pcicbintrf_Initializer
|
|
};
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
VOID
|
|
NTAPI
|
|
Cardbus_SaveCurrentSettings(IN PPCI_CONFIGURATOR_CONTEXT Context)
|
|
{
|
|
UNREFERENCED_PARAMETER(Context);
|
|
UNIMPLEMENTED_DBGBREAK();
|
|
}
|
|
|
|
VOID
|
|
NTAPI
|
|
Cardbus_SaveLimits(IN PPCI_CONFIGURATOR_CONTEXT Context)
|
|
{
|
|
UNREFERENCED_PARAMETER(Context);
|
|
UNIMPLEMENTED_DBGBREAK();
|
|
}
|
|
|
|
VOID
|
|
NTAPI
|
|
Cardbus_MassageHeaderForLimitsDetermination(IN PPCI_CONFIGURATOR_CONTEXT Context)
|
|
{
|
|
UNREFERENCED_PARAMETER(Context);
|
|
UNIMPLEMENTED_DBGBREAK();
|
|
}
|
|
|
|
VOID
|
|
NTAPI
|
|
Cardbus_RestoreCurrent(IN PPCI_CONFIGURATOR_CONTEXT Context)
|
|
{
|
|
UNREFERENCED_PARAMETER(Context);
|
|
UNIMPLEMENTED_DBGBREAK();
|
|
}
|
|
|
|
VOID
|
|
NTAPI
|
|
Cardbus_GetAdditionalResourceDescriptors(IN PPCI_CONFIGURATOR_CONTEXT Context,
|
|
IN PPCI_COMMON_HEADER PciData,
|
|
IN PIO_RESOURCE_DESCRIPTOR IoDescriptor)
|
|
{
|
|
UNREFERENCED_PARAMETER(Context);
|
|
UNREFERENCED_PARAMETER(PciData);
|
|
UNREFERENCED_PARAMETER(IoDescriptor);
|
|
UNIMPLEMENTED_DBGBREAK();
|
|
}
|
|
|
|
VOID
|
|
NTAPI
|
|
Cardbus_ResetDevice(IN PPCI_PDO_EXTENSION PdoExtension,
|
|
IN PPCI_COMMON_HEADER PciData)
|
|
{
|
|
UNREFERENCED_PARAMETER(PdoExtension);
|
|
UNREFERENCED_PARAMETER(PciData);
|
|
UNIMPLEMENTED_DBGBREAK();
|
|
}
|
|
|
|
VOID
|
|
NTAPI
|
|
Cardbus_ChangeResourceSettings(IN PPCI_PDO_EXTENSION PdoExtension,
|
|
IN PPCI_COMMON_HEADER PciData)
|
|
{
|
|
UNREFERENCED_PARAMETER(PdoExtension);
|
|
UNREFERENCED_PARAMETER(PciData);
|
|
UNIMPLEMENTED_DBGBREAK();
|
|
}
|
|
|
|
NTSTATUS
|
|
NTAPI
|
|
pcicbintrf_Initializer(IN PVOID Instance)
|
|
{
|
|
UNREFERENCED_PARAMETER(Instance);
|
|
/* PnP Interfaces don't get Initialized */
|
|
ASSERTMSG("PCI pcicbintrf_Initializer, unexpected call.\n", FALSE);
|
|
return STATUS_UNSUCCESSFUL;
|
|
}
|
|
|
|
NTSTATUS
|
|
NTAPI
|
|
pcicbintrf_Constructor(IN PVOID DeviceExtension,
|
|
IN PVOID Instance,
|
|
IN PVOID InterfaceData,
|
|
IN USHORT Version,
|
|
IN USHORT Size,
|
|
IN PINTERFACE Interface)
|
|
{
|
|
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 */
|