Author: akhaldi
Date: Fri Jan 3 19:20:35 2014
New Revision: 61505
URL:
http://svn.reactos.org/svn/reactos?rev=61505&view=rev
Log:
[USBUHCI]
* Remove inclusions that already exist in the main header.
* Cleanup the main header.
* Improve the GUIDs situation.
CORE-7716
Added:
trunk/reactos/drivers/usb/usbuhci/guid.cpp (with props)
Modified:
trunk/reactos/drivers/usb/usbuhci/CMakeLists.txt
trunk/reactos/drivers/usb/usbuhci/hardware.h
trunk/reactos/drivers/usb/usbuhci/interfaces.h
trunk/reactos/drivers/usb/usbuhci/usbuhci.h
Modified: trunk/reactos/drivers/usb/usbuhci/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbuhci/CMakeL…
==============================================================================
--- trunk/reactos/drivers/usb/usbuhci/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbuhci/CMakeLists.txt [iso-8859-1] Fri Jan 3 19:20:35
2014
@@ -11,7 +11,8 @@
usbuhci.cpp
usb_request.cpp
usb_queue.cpp
- hardware.cpp)
+ hardware.cpp
+ guid.cpp)
add_library(usbuhci SHARED
${SOURCE}
Added: trunk/reactos/drivers/usb/usbuhci/guid.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbuhci/guid.c…
==============================================================================
--- trunk/reactos/drivers/usb/usbuhci/guid.cpp (added)
+++ trunk/reactos/drivers/usb/usbuhci/guid.cpp [iso-8859-1] Fri Jan 3 19:20:35 2014
@@ -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 */
Propchange: trunk/reactos/drivers/usb/usbuhci/guid.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/drivers/usb/usbuhci/hardware.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbuhci/hardwa…
==============================================================================
--- trunk/reactos/drivers/usb/usbuhci/hardware.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbuhci/hardware.h [iso-8859-1] Fri Jan 3 19:20:35 2014
@@ -188,4 +188,4 @@
#define UHCI_BULK_QUEUE 3
#define UHCI_DEBUG_QUEUE 4
-#endif
+#endif /* UHCI_HARDWARE_H */
Modified: trunk/reactos/drivers/usb/usbuhci/interfaces.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbuhci/interf…
==============================================================================
--- trunk/reactos/drivers/usb/usbuhci/interfaces.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbuhci/interfaces.h [iso-8859-1] Fri Jan 3 19:20:35 2014
@@ -1,8 +1,5 @@
-
#ifndef INTERFACES_HPP
#define INTERFACES_HPP
-
-#include "libusb.h"
//---------------------------------------------------------------------------
//
@@ -138,4 +135,4 @@
typedef IUHCIQueue *PUHCIQUEUE;
-#endif
+#endif /* INTERFACES_HPP */
Modified: trunk/reactos/drivers/usb/usbuhci/usbuhci.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbuhci/usbuhc…
==============================================================================
--- trunk/reactos/drivers/usb/usbuhci/usbuhci.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbuhci/usbuhci.h [iso-8859-1] Fri Jan 3 19:20:35 2014
@@ -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"