mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Fix build, by correcting include paths and updating xml files of USB components
svn path=/trunk/; revision=17751
This commit is contained in:
parent
d392fa8a17
commit
67720419df
23 changed files with 32 additions and 35 deletions
|
@ -2,7 +2,7 @@
|
|||
// this file is part of linux_wrapper.h
|
||||
|
||||
//FIXME: Move this file, make its definitions more general
|
||||
#include "../host/ohci_main.h"
|
||||
#include "../usbohci/ohci_main.h"
|
||||
|
||||
/*
|
||||
Initialize device before it's used by a driver. Ask low-level code to enable I/O and memory.
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
#include <linux/list.h>
|
||||
#include <linux/interrupt.h> /* for in_interrupt () */
|
||||
#include <linux/usb.h>
|
||||
#include "../core/hcd.h"
|
||||
#include "hcd.h"
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <asm/irq.h>
|
||||
|
@ -108,7 +108,7 @@
|
|||
#include "ohci_config.h"
|
||||
|
||||
#include "../usb_wrapper.h"
|
||||
#include "../core/hcd.h"
|
||||
#include "hcd.h"
|
||||
|
||||
//#define OHCI_VERBOSE_DEBUG
|
||||
#endif
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include <debug.h>
|
||||
#include "../usb_wrapper.h"
|
||||
#include "../core/hcd.h"
|
||||
#include "hcd.h"
|
||||
#include "ohci_main.h"
|
||||
|
||||
// declare basic init funcs
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
<module name="ohci" type="kernelmodedriver" installbase="system32/drivers" installname="ohci.sys" warnings="true">
|
||||
<importlibrary definition="ohci.def" />
|
||||
<module name="usbohci" type="kernelmodedriver" installbase="system32/drivers" warnings="true">
|
||||
<define name="__USE_W32API" />
|
||||
<define name="DEBUG_MODE" />
|
||||
<include base="ntoskrnl">include</include>
|
||||
<include>../linux</include>
|
||||
<include base="usbport"></include>
|
||||
<library>sys_base</library>
|
||||
<library>ntoskrnl</library>
|
||||
<library>hal</library>
|
||||
<library>usbcore</library>
|
||||
<library>usbport</library>
|
||||
<file>ohci-hcd.c</file>
|
||||
<file>ohci_main.c</file>
|
||||
<file>ohci.rc</file>
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
#include "uhci_config.h"
|
||||
#include "../usb_wrapper.h"
|
||||
#include "../core/hcd.h"
|
||||
#include "hcd.h"
|
||||
#include "uhci-hcd.h"
|
||||
|
||||
#if 0
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
#include <ddk/usbiodef.h>
|
||||
#include <initguid.h>
|
||||
|
||||
#include "../core/hcd.h"
|
||||
#include "hcd.h"
|
||||
|
||||
#include "../host/ohci_main.h"
|
||||
#include "../usbohci/ohci_main.h"
|
||||
|
||||
#define USB_UHCI_TAG TAG('u','s','b','u')
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<module name="uhci" type="kernelmodedriver" installbase="system32/drivers" installname="usbuhci.sys" warnings="true">
|
||||
<module name="usbuhci" type="kernelmodedriver" installbase="system32/drivers" warnings="true">
|
||||
<define name="__USE_W32API" />
|
||||
<define name="DEBUG_MODE" />
|
||||
<include base="ntoskrnl">include</include>
|
||||
<include>../linux</include>
|
||||
<include base="usbport"></include>
|
||||
<library>sys_base</library>
|
||||
<library>ntoskrnl</library>
|
||||
<library>hal</library>
|
||||
<library>usbcore</library>
|
||||
<library>usbport</library>
|
||||
<file>cleanup.c</file>
|
||||
<file>close.c</file>
|
||||
<file>create.c</file>
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
#include <ddk/ntddk.h>
|
||||
#include <ddk/usbioctl.h>
|
||||
|
||||
#include "../usb_wrapper.h"
|
||||
#include "../core/hub.h"
|
||||
#include "../miniport/usb_wrapper.h"
|
||||
#include "../usbport/hub.h"
|
||||
|
||||
#define USB_HUB_TAG TAG('u','s','b','h')
|
||||
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
<module name="hub" type="kernelmodedriver" installbase="system32/drivers" installname="usbhub.sys" warnings="true">
|
||||
<module name="usbhub" type="kernelmodedriver" installbase="system32/drivers" warnings="true">
|
||||
<define name="__USE_W32API" />
|
||||
<define name="DEBUG_MODE" />
|
||||
<include base="ntoskrnl">include</include>
|
||||
<include>../linux</include>
|
||||
<include>../miniport/linux</include>
|
||||
<library>sys_base</library>
|
||||
<library>ntoskrnl</library>
|
||||
<library>hal</library>
|
||||
<library>usbcore</library>
|
||||
<library>usbport</library>
|
||||
<file>createclose.c</file>
|
||||
<file>fdo.c</file>
|
||||
<file>misc.c</file>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "../usb_wrapper.h"
|
||||
#include "../miniport/usb_wrapper.h"
|
||||
#define __KERNEL__
|
||||
#define CONFIG_PCI
|
||||
#include "hcd.h"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include <linux/slab.h>
|
||||
#include <asm/byteorder.h>
|
||||
#else
|
||||
#include "../usb_wrapper.h"
|
||||
#include "../miniport/usb_wrapper.h"
|
||||
#endif
|
||||
|
||||
#define USB_MAXALTSETTING 128 /* Hard limit */
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
|
||||
#define NDEBUG
|
||||
#include "../../usb_wrapper.h"
|
||||
#include "../../miniport/usb_wrapper.h"
|
||||
|
||||
#define keyboarddebug 0
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
#define NDEBUG
|
||||
#include "../../usb_wrapper.h"
|
||||
#include "../../miniport/usb_wrapper.h"
|
||||
|
||||
extern USBPORT_INTERFACE UsbPortInterface;
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include "hcd.h"
|
||||
#else
|
||||
|
||||
#include "../usb_wrapper.h"
|
||||
#include "../miniport/usb_wrapper.h"
|
||||
#include "hcd.h"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
#include <linux/usb.h>
|
||||
#else
|
||||
#include "../usb_wrapper.h"
|
||||
#include "../miniport/usb_wrapper.h"
|
||||
//#define DEBUG
|
||||
#endif
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
#else
|
||||
|
||||
#include "../usb_wrapper.h"
|
||||
#include "../miniport/usb_wrapper.h"
|
||||
#include "hcd.h"
|
||||
#include "hub.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <linux/mm.h>
|
||||
#include <asm/byteorder.h>
|
||||
#else
|
||||
#include "../usb_wrapper.h"
|
||||
#include "../miniport/usb_wrapper.h"
|
||||
#endif
|
||||
|
||||
#include "hcd.h" /* for usbcore internals */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "../usb_wrapper.h"
|
||||
#include "../miniport/usb_wrapper.h"
|
||||
#include "hcd.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#endif
|
||||
#include <linux/usb.h>
|
||||
#else
|
||||
#include "../usb_wrapper.h"
|
||||
#include "../miniport/usb_wrapper.h"
|
||||
#endif
|
||||
|
||||
static void usb_show_endpoint(struct usb_host_endpoint *endpoint)
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
#include "hcd.h"
|
||||
#include "usb.h"
|
||||
#else
|
||||
#include "../usb_wrapper.h"
|
||||
#include "../miniport/usb_wrapper.h"
|
||||
#include "hcd.h"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <ddk/ntddk.h>
|
||||
#include <debug.h>
|
||||
#include "../usb_wrapper.h"
|
||||
#include "../miniport/usb_wrapper.h"
|
||||
|
||||
USBPORT_INTERFACE UsbPortInterface;
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
<module name="usbcore" type="kernelmodedriver" installbase="system32/drivers" installname="usbcore.sys" warnings="true">
|
||||
<importlibrary definition="usbcore.def" />
|
||||
<module name="usbport" type="kernelmodedriver" installbase="system32/drivers" warnings="true">
|
||||
<importlibrary definition="usbport.def" />
|
||||
<define name="__USE_W32API" />
|
||||
<define name="DEBUG_MODE" />
|
||||
<define name="DEBUG" />
|
||||
<include base="ntoskrnl">include</include>
|
||||
<library>sys_base</library>
|
||||
<library>ntoskrnl</library>
|
||||
<library>hal</library>
|
||||
|
|
Loading…
Reference in a new issue