mirror of
https://github.com/reactos/reactos.git
synced 2024-10-07 18:04:41 +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
|
usbuhci.cpp
|
||||||
usb_request.cpp
|
usb_request.cpp
|
||||||
usb_queue.cpp
|
usb_queue.cpp
|
||||||
hardware.cpp)
|
hardware.cpp
|
||||||
|
guid.cpp)
|
||||||
|
|
||||||
add_library(usbuhci SHARED
|
add_library(usbuhci SHARED
|
||||||
${SOURCE}
|
${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_BULK_QUEUE 3
|
||||||
#define UHCI_DEBUG_QUEUE 4
|
#define UHCI_DEBUG_QUEUE 4
|
||||||
|
|
||||||
#endif
|
#endif /* UHCI_HARDWARE_H */
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
|
|
||||||
#ifndef INTERFACES_HPP
|
#ifndef INTERFACES_HPP
|
||||||
#define INTERFACES_HPP
|
#define INTERFACES_HPP
|
||||||
|
|
||||||
#include "libusb.h"
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// Object Hierachy
|
// Object Hierachy
|
||||||
|
@ -138,4 +135,4 @@ DECLARE_INTERFACE_(IUHCIQueue, IUSBQueue)
|
||||||
|
|
||||||
typedef IUHCIQueue *PUHCIQUEUE;
|
typedef IUHCIQueue *PUHCIQUEUE;
|
||||||
|
|
||||||
#endif
|
#endif /* INTERFACES_HPP */
|
||||||
|
|
|
@ -1,34 +1,7 @@
|
||||||
#ifndef USBUHCI_H__
|
#ifndef USBUHCI_H__
|
||||||
#define USBUHCI_H__
|
#define USBUHCI_H__
|
||||||
|
|
||||||
#define INITGUID
|
#include <libusb.h>
|
||||||
|
|
||||||
#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 "hardware.h"
|
#include "hardware.h"
|
||||||
#include "interfaces.h"
|
#include "interfaces.h"
|
||||||
|
|
Loading…
Reference in a new issue