xref: /reactos/drivers/bus/pcix/intrface/cardbus.c (revision 60eea2d7)
1 /*
2  * PROJECT:         ReactOS PCI Bus Driver
3  * LICENSE:         BSD - See COPYING.ARM in the top level directory
4  * FILE:            drivers/bus/pci/intrface/cardbus.c
5  * PURPOSE:         CardBus Interface
6  * PROGRAMMERS:     ReactOS Portable Systems Group
7  */
8 
9 /* INCLUDES *******************************************************************/
10 
11 #include <pci.h>
12 #define NDEBUG
13 #include <debug.h>
14 
15 /* GLOBALS ********************************************************************/
16 
17 PCI_INTERFACE PciCardbusPrivateInterface =
18 {
19     &GUID_PCI_CARDBUS_INTERFACE_PRIVATE,
20     sizeof(PCI_CARDBUS_INTERFACE_PRIVATE),
21     PCI_CB_INTRF_VERSION,
22     PCI_CB_INTRF_VERSION,
23     PCI_INTERFACE_PDO,
24     0,
25     PciInterface_PciCb,
26     pcicbintrf_Constructor,
27     pcicbintrf_Initializer
28 };
29 
30 /* FUNCTIONS ******************************************************************/
31 
32 VOID
33 NTAPI
34 Cardbus_SaveCurrentSettings(IN PPCI_CONFIGURATOR_CONTEXT Context)
35 {
36     UNIMPLEMENTED;
37     while (TRUE);
38 }
39 
40 VOID
41 NTAPI
42 Cardbus_SaveLimits(IN PPCI_CONFIGURATOR_CONTEXT Context)
43 {
44     UNIMPLEMENTED;
45     while (TRUE);
46 }
47 
48 VOID
49 NTAPI
50 Cardbus_MassageHeaderForLimitsDetermination(IN PPCI_CONFIGURATOR_CONTEXT Context)
51 {
52     UNIMPLEMENTED;
53     while (TRUE);
54 }
55 
56 VOID
57 NTAPI
58 Cardbus_RestoreCurrent(IN PPCI_CONFIGURATOR_CONTEXT Context)
59 {
60     UNIMPLEMENTED;
61     while (TRUE);
62 }
63 
64 VOID
65 NTAPI
66 Cardbus_GetAdditionalResourceDescriptors(IN PPCI_CONFIGURATOR_CONTEXT Context,
67                                          IN PPCI_COMMON_HEADER PciData,
68                                          IN PIO_RESOURCE_DESCRIPTOR IoDescriptor)
69 {
70     UNIMPLEMENTED;
71     while (TRUE);
72 }
73 
74 VOID
75 NTAPI
76 Cardbus_ResetDevice(IN PPCI_PDO_EXTENSION PdoExtension,
77                     IN PPCI_COMMON_HEADER PciData)
78 {
79     UNIMPLEMENTED;
80     while (TRUE);
81 }
82 
83 VOID
84 NTAPI
85 Cardbus_ChangeResourceSettings(IN PPCI_PDO_EXTENSION PdoExtension,
86                                IN PPCI_COMMON_HEADER PciData)
87 {
88     UNIMPLEMENTED;
89     while (TRUE);
90 }
91 
92 NTSTATUS
93 NTAPI
94 pcicbintrf_Initializer(IN PVOID Instance)
95 {
96     /* PnP Interfaces don't get Initialized */
97     ASSERTMSG(FALSE, "PCI pcicbintrf_Initializer, unexpected call.");
98     return STATUS_UNSUCCESSFUL;
99 }
100 
101 NTSTATUS
102 NTAPI
103 pcicbintrf_Constructor(IN PVOID DeviceExtension,
104                        IN PVOID Instance,
105                        IN PVOID InterfaceData,
106                        IN USHORT Version,
107                        IN USHORT Size,
108                        IN PINTERFACE Interface)
109 {
110     /* Not yet implemented */
111     UNIMPLEMENTED;
112     while (TRUE);
113 }
114 
115 /* EOF */
116