[PCI]: New PCI driver, for the future. Needed for embedded support (ARM/etc) and...
authorSir Richard <sir_richard@svn.reactos.org>
Thu, 1 Apr 2010 19:07:40 +0000 (19:07 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Thu, 1 Apr 2010 19:07:40 +0000 (19:07 +0000)
svn path=/trunk/; revision=46645

37 files changed:
reactos/drivers/bus/directory.rbuild
reactos/drivers/bus/pcix/arb/ar_busno.c [new file with mode: 0644]
reactos/drivers/bus/pcix/arb/ar_memio.c [new file with mode: 0644]
reactos/drivers/bus/pcix/arb/arb_comn.c [new file with mode: 0644]
reactos/drivers/bus/pcix/arb/tr_irq.c [new file with mode: 0644]
reactos/drivers/bus/pcix/debug.c [new file with mode: 0644]
reactos/drivers/bus/pcix/device.c [new file with mode: 0644]
reactos/drivers/bus/pcix/dispatch.c [new file with mode: 0644]
reactos/drivers/bus/pcix/enum.c [new file with mode: 0644]
reactos/drivers/bus/pcix/fdo.c [new file with mode: 0644]
reactos/drivers/bus/pcix/guid.c [new file with mode: 0644]
reactos/drivers/bus/pcix/hookhal.c [new file with mode: 0644]
reactos/drivers/bus/pcix/init.c [new file with mode: 0644]
reactos/drivers/bus/pcix/intrface/agpintrf.c [new file with mode: 0644]
reactos/drivers/bus/pcix/intrface/busintrf.c [new file with mode: 0644]
reactos/drivers/bus/pcix/intrface/cardbus.c [new file with mode: 0644]
reactos/drivers/bus/pcix/intrface/ideintrf.c [new file with mode: 0644]
reactos/drivers/bus/pcix/intrface/intrface.c [new file with mode: 0644]
reactos/drivers/bus/pcix/intrface/lddintrf.c [new file with mode: 0644]
reactos/drivers/bus/pcix/intrface/locintrf.c [new file with mode: 0644]
reactos/drivers/bus/pcix/intrface/pmeintf.c [new file with mode: 0644]
reactos/drivers/bus/pcix/intrface/routintf.c [new file with mode: 0644]
reactos/drivers/bus/pcix/pci.h [new file with mode: 0644]
reactos/drivers/bus/pcix/pci.rc [new file with mode: 0644]
reactos/drivers/bus/pcix/pci/busno.c [new file with mode: 0644]
reactos/drivers/bus/pcix/pci/config.c [new file with mode: 0644]
reactos/drivers/bus/pcix/pci/devhere.c [new file with mode: 0644]
reactos/drivers/bus/pcix/pci/id.c [new file with mode: 0644]
reactos/drivers/bus/pcix/pci/ppbridge.c [new file with mode: 0644]
reactos/drivers/bus/pcix/pci/romimage.c [new file with mode: 0644]
reactos/drivers/bus/pcix/pci/state.c [new file with mode: 0644]
reactos/drivers/bus/pcix/pcivrify.c [new file with mode: 0644]
reactos/drivers/bus/pcix/pcix.rbuild [new file with mode: 0644]
reactos/drivers/bus/pcix/pdo.c [new file with mode: 0644]
reactos/drivers/bus/pcix/power.c [new file with mode: 0644]
reactos/drivers/bus/pcix/usage.c [new file with mode: 0644]
reactos/drivers/bus/pcix/utils.c [new file with mode: 0644]

index a6904a2..11a8fbe 100644 (file)
@@ -10,4 +10,7 @@
 <directory name="pci">
        <xi:include href="pci/pci.rbuild" />
 </directory>
+<directory name="pcix">
+       <xi:include href="pcix/pcix.rbuild" />
+</directory>
 </group>
diff --git a/reactos/drivers/bus/pcix/arb/ar_busno.c b/reactos/drivers/bus/pcix/arb/ar_busno.c
new file mode 100644 (file)
index 0000000..5086357
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/arb/ar_busno.c
+ * PURPOSE:         Bus Number Arbitration
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/arb/ar_memio.c b/reactos/drivers/bus/pcix/arb/ar_memio.c
new file mode 100644 (file)
index 0000000..47d6e07
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/arb/ar_memiono.c
+ * PURPOSE:         Memory and I/O Port Resource Arbitration
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/arb/arb_comn.c b/reactos/drivers/bus/pcix/arb/arb_comn.c
new file mode 100644 (file)
index 0000000..3759169
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/arb/arb_comn.c
+ * PURPOSE:         Common Arbitration Code
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/arb/tr_irq.c b/reactos/drivers/bus/pcix/arb/tr_irq.c
new file mode 100644 (file)
index 0000000..7d27173
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/arb/tr_irq.c
+ * PURPOSE:         IRQ Resource Translation
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/debug.c b/reactos/drivers/bus/pcix/debug.c
new file mode 100644 (file)
index 0000000..2185b02
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/debug.c
+ * PURPOSE:         Debug Helpers
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/device.c b/reactos/drivers/bus/pcix/device.c
new file mode 100644 (file)
index 0000000..7f08dcf
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/device.c
+ * PURPOSE:         Device Management
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/dispatch.c b/reactos/drivers/bus/pcix/dispatch.c
new file mode 100644 (file)
index 0000000..e69416d
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/dispatch.c
+ * PURPOSE:         WDM Dispatch Routines
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/enum.c b/reactos/drivers/bus/pcix/enum.c
new file mode 100644 (file)
index 0000000..d67db28
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/enum.c
+ * PURPOSE:         PCI Bus/Device Enumeration
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/fdo.c b/reactos/drivers/bus/pcix/fdo.c
new file mode 100644 (file)
index 0000000..f4d3095
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/fdo.c
+ * PURPOSE:         FDO Device Management
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/guid.c b/reactos/drivers/bus/pcix/guid.c
new file mode 100644 (file)
index 0000000..7dd27e9
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/guid.c
+ * PURPOSE:         GUID Data
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/hookhal.c b/reactos/drivers/bus/pcix/hookhal.c
new file mode 100644 (file)
index 0000000..786add8
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/hookhal.c
+ * PURPOSE:         HAL Bus Handler Dispatch Routine Support
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/init.c b/reactos/drivers/bus/pcix/init.c
new file mode 100644 (file)
index 0000000..18cbed0
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/init.c
+ * PURPOSE:         Driver Initialization
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+NTSTATUS
+NTAPI
+DriverEntry(IN PDRIVER_OBJECT DriverObject,
+            IN PUNICODE_STRING RegistryPath)
+{
+    DPRINT1("PCI: DriverEntry!\n");
+
+    /* FIXME: TODO */
+    return STATUS_NOT_SUPPORTED;
+}
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/intrface/agpintrf.c b/reactos/drivers/bus/pcix/intrface/agpintrf.c
new file mode 100644 (file)
index 0000000..351ae57
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/intrface/agpintrf.c
+ * PURPOSE:         AGP Interface
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/intrface/busintrf.c b/reactos/drivers/bus/pcix/intrface/busintrf.c
new file mode 100644 (file)
index 0000000..468d9ed
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * 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 ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/intrface/cardbus.c b/reactos/drivers/bus/pcix/intrface/cardbus.c
new file mode 100644 (file)
index 0000000..a36f2d8
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * 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 ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/intrface/ideintrf.c b/reactos/drivers/bus/pcix/intrface/ideintrf.c
new file mode 100644 (file)
index 0000000..ec2ff82
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/intrface/ideintrf.c
+ * PURPOSE:         IDE Interface
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/intrface/intrface.c b/reactos/drivers/bus/pcix/intrface/intrface.c
new file mode 100644 (file)
index 0000000..e8d0dd5
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/intrface/intrface.c
+ * PURPOSE:         Common Interface Support Routines
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/intrface/lddintrf.c b/reactos/drivers/bus/pcix/intrface/lddintrf.c
new file mode 100644 (file)
index 0000000..4322455
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/intrface/lddintrf.c
+ * PURPOSE:         Legacy Device Detection Interface
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/intrface/locintrf.c b/reactos/drivers/bus/pcix/intrface/locintrf.c
new file mode 100644 (file)
index 0000000..a633d98
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * 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 ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/intrface/pmeintf.c b/reactos/drivers/bus/pcix/intrface/pmeintf.c
new file mode 100644 (file)
index 0000000..ecb3b6e
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/intrface/pmeintf.c
+ * PURPOSE:         Power Management Event# Signal Interface
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/intrface/routintf.c b/reactos/drivers/bus/pcix/intrface/routintf.c
new file mode 100644 (file)
index 0000000..6332953
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/intrface/routinf.c
+ * PURPOSE:         Routing Interface
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/pci.h b/reactos/drivers/bus/pcix/pci.h
new file mode 100644 (file)
index 0000000..6343211
--- /dev/null
@@ -0,0 +1,11 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/pci.h
+ * PURPOSE:         Main Header File
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+#include <ntddk.h>
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/pci.rc b/reactos/drivers/bus/pcix/pci.rc
new file mode 100644 (file)
index 0000000..001529b
--- /dev/null
@@ -0,0 +1,5 @@
+#define REACTOS_VERSION_DLL
+#define REACTOS_STR_FILE_DESCRIPTION   "PCI Bus Driver\0"
+#define REACTOS_STR_INTERNAL_NAME      "pci\0"
+#define REACTOS_STR_ORIGINAL_FILENAME  "pci.sys\0"
+#include <reactos/version.rc>
diff --git a/reactos/drivers/bus/pcix/pci/busno.c b/reactos/drivers/bus/pcix/pci/busno.c
new file mode 100644 (file)
index 0000000..e5a9816
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/pci/busno.c
+ * PURPOSE:         Bus Number Management
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/pci/config.c b/reactos/drivers/bus/pcix/pci/config.c
new file mode 100644 (file)
index 0000000..9bdbb0f
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/pci/config.c
+ * PURPOSE:         PCI Configuration Space Routines
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/pci/devhere.c b/reactos/drivers/bus/pcix/pci/devhere.c
new file mode 100644 (file)
index 0000000..4a666b9
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/pci/devhere.c
+ * PURPOSE:         PCI Device Detection and Location
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/pci/id.c b/reactos/drivers/bus/pcix/pci/id.c
new file mode 100644 (file)
index 0000000..d4fd910
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/pci/id.c
+ * PURPOSE:         PCI Device Identification
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/pci/ppbridge.c b/reactos/drivers/bus/pcix/pci/ppbridge.c
new file mode 100644 (file)
index 0000000..738b5c0
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/pci/ppbridge.c
+ * PURPOSE:         PCI-to-PCI Bridge Support
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/pci/romimage.c b/reactos/drivers/bus/pcix/pci/romimage.c
new file mode 100644 (file)
index 0000000..96575f3
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/pci/romimage.c
+ * PURPOSE:         PCI ROM Image Support
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/pci/state.c b/reactos/drivers/bus/pcix/pci/state.c
new file mode 100644 (file)
index 0000000..d2f3048
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/pci/state.c
+ * PURPOSE:         Bus/Device State Support
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/pcivrify.c b/reactos/drivers/bus/pcix/pcivrify.c
new file mode 100644 (file)
index 0000000..15ed1b6
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/pcivrify.c
+ * PURPOSE:         PCI Driver Verifier Support
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/pcix.rbuild b/reactos/drivers/bus/pcix/pcix.rbuild
new file mode 100644 (file)
index 0000000..257387b
--- /dev/null
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
+<module name="pcix" type="kernelmodedriver" installbase="system32/drivers" installname="pcix.sys">
+       <bootstrap installbase="$(CDOUTPUT)" />
+       <include base="pcix">.</include>
+       <library>ntoskrnl</library>
+       <library>hal</library>
+    <directory name="arb">
+        <file>ar_busno.c</file>
+        <file>ar_memio.c</file>
+        <file>arb_comn.c</file>
+        <file>tr_irq.c</file>
+    </directory>
+    <directory name="intrface">
+        <file>agpintrf.c</file>
+        <file>busintrf.c</file>
+        <file>cardbus.c</file>
+        <file>ideintrf.c</file>
+        <file>intrface.c</file>
+        <file>lddintrf.c</file>
+        <file>locintrf.c</file>
+        <file>pmeintf.c</file>
+        <file>routintf.c</file>
+    </directory>
+    <directory name="pci">
+        <file>busno.c</file>
+        <file>config.c</file>
+        <file>devhere.c</file>
+        <file>id.c</file>
+        <file>ppbridge.c</file>
+        <file>romimage.c</file>
+        <file>state.c</file>
+    </directory>
+    <file>debug.c</file>
+    <file>device.c</file>
+    <file>dispatch.c</file>
+    <file>enum.c</file>
+    <file>fdo.c</file>
+    <file>guid.c</file>
+    <file>hookhal.c</file>
+    <file>init.c</file>
+    <file>pcivrify.c</file>
+    <file>pdo.c</file>
+    <file>power.c</file>
+    <file>usage.c</file>
+    <file>utils.c</file>
+       <file>pci.rc</file>
+       <pch>pci.h</pch>
+</module>
diff --git a/reactos/drivers/bus/pcix/pdo.c b/reactos/drivers/bus/pcix/pdo.c
new file mode 100644 (file)
index 0000000..b54dda4
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/pdo.c
+ * PURPOSE:         PDO Device Management
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/power.c b/reactos/drivers/bus/pcix/power.c
new file mode 100644 (file)
index 0000000..71a745b
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/power.c
+ * PURPOSE:         Bus/Device Power Management
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/usage.c b/reactos/drivers/bus/pcix/usage.c
new file mode 100644 (file)
index 0000000..b317439
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/usage.c
+ * PURPOSE:         Bus/Device Usage Reporting
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */
diff --git a/reactos/drivers/bus/pcix/utils.c b/reactos/drivers/bus/pcix/utils.c
new file mode 100644 (file)
index 0000000..a73b0de
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:         ReactOS PCI Bus Driver
+ * LICENSE:         BSD - See COPYING.ARM in the top level directory
+ * FILE:            drivers/bus/pci/utils.c
+ * PURPOSE:         Utility/Helper Support Code
+ * PROGRAMMERS:     ReactOS Portable Systems Group
+ */
+
+/* INCLUDES *******************************************************************/
+
+#include <pci.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS ********************************************************************/
+
+/* FUNCTIONS ******************************************************************/
+
+/* EOF */