mirror of
https://github.com/reactos/reactos.git
synced 2024-07-10 14:45:06 +00:00
[USBUHCI]
* Remove inclusions that already exist in the main header. * Cleanup the main header. * Improve the GUIDs situation. CORE-7716 svn path=/trunk/; revision=61505
This commit is contained in:
parent
cd426e2a73
commit
7c79650128
|
@ -11,7 +11,8 @@ list(APPEND SOURCE
|
|||
usbuhci.cpp
|
||||
usb_request.cpp
|
||||
usb_queue.cpp
|
||||
hardware.cpp)
|
||||
hardware.cpp
|
||||
guid.cpp)
|
||||
|
||||
add_library(usbuhci SHARED
|
||||
${SOURCE}
|
||||
|
|
6
reactos/drivers/usb/usbuhci/guid.cpp
Normal file
6
reactos/drivers/usb/usbuhci/guid.cpp
Normal file
|
@ -0,0 +1,6 @@
|
|||
/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
|
||||
|
||||
#include <initguid.h>
|
||||
#include <libusb.h>
|
||||
|
||||
/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */
|
|
@ -188,4 +188,4 @@ typedef struct _UHCI_QUEUE_HEAD
|
|||
#define UHCI_BULK_QUEUE 3
|
||||
#define UHCI_DEBUG_QUEUE 4
|
||||
|
||||
#endif
|
||||
#endif /* UHCI_HARDWARE_H */
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
|
||||
#ifndef INTERFACES_HPP
|
||||
#define INTERFACES_HPP
|
||||
|
||||
#include "libusb.h"
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// Object Hierachy
|
||||
|
@ -138,4 +135,4 @@ DECLARE_INTERFACE_(IUHCIQueue, IUSBQueue)
|
|||
|
||||
typedef IUHCIQueue *PUHCIQUEUE;
|
||||
|
||||
#endif
|
||||
#endif /* INTERFACES_HPP */
|
||||
|
|
|
@ -1,34 +1,7 @@
|
|||
#ifndef USBUHCI_H__
|
||||
#define USBUHCI_H__
|
||||
|
||||
#define INITGUID
|
||||
|
||||
#include <ntddk.h>
|
||||
#include <hubbusif.h>
|
||||
#include <usbbusif.h>
|
||||
#include <usbioctl.h>
|
||||
|
||||
extern
|
||||
"C"
|
||||
{
|
||||
#include <usbdlib.h>
|
||||
}
|
||||
|
||||
//
|
||||
// FIXME:
|
||||
// #include <usbprotocoldefs.h>
|
||||
//
|
||||
#include <usb.h>
|
||||
#include <stdio.h>
|
||||
#include <wdmguid.h>
|
||||
|
||||
//
|
||||
// FIXME:
|
||||
// the following includes are required to get kcom to compile
|
||||
//
|
||||
#include <portcls.h>
|
||||
#include <dmusicks.h>
|
||||
#include <kcom.h>
|
||||
#include <libusb.h>
|
||||
|
||||
#include "hardware.h"
|
||||
#include "interfaces.h"
|
||||
|
|
Loading…
Reference in a new issue