mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
Remove warnings and allow installation of USB files with make install
svn path=/trunk/; revision=17753
This commit is contained in:
parent
8da043e4f2
commit
d41edbe37f
7 changed files with 7 additions and 6 deletions
|
@ -172,6 +172,8 @@ int __usb_get_extra_descriptor(char *buffer, unsigned size,
|
|||
__usb_get_extra_descriptor((ifpoint)->extra,(ifpoint)->extralen,\
|
||||
type,(void**)ptr)
|
||||
|
||||
void usb_choose_address(struct usb_device *dev);
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
struct usb_operations;
|
||||
|
|
|
@ -268,7 +268,7 @@ OHCD_PnPStartDevice(IN PDEVICE_OBJECT DeviceObject,
|
|||
PCM_RESOURCE_LIST AllocatedResources;
|
||||
|
||||
NTSTATUS Status; // debug
|
||||
LONGLONG delay; // debug
|
||||
//LONGLONG delay; // debug
|
||||
|
||||
if (DeviceObject == KeyboardFdo || DeviceObject == MouseFdo)
|
||||
return STATUS_SUCCESS;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<module name="usbohci" type="kernelmodedriver" installbase="system32/drivers" warnings="true">
|
||||
<module name="usbohci" type="kernelmodedriver" installbase="system32/drivers" installname="usbohci.sys">
|
||||
<define name="__USE_W32API" />
|
||||
<define name="DEBUG_MODE" />
|
||||
<include>../linux</include>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<module name="usbuhci" type="kernelmodedriver" installbase="system32/drivers" warnings="true">
|
||||
<module name="usbuhci" type="kernelmodedriver" installbase="system32/drivers" installname="usbuhci.sys">
|
||||
<define name="__USE_W32API" />
|
||||
<define name="DEBUG_MODE" />
|
||||
<include>../linux</include>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<module name="usbhub" type="kernelmodedriver" installbase="system32/drivers" warnings="true">
|
||||
<module name="usbhub" type="kernelmodedriver" installbase="system32/drivers" installname="usbhub.sys">
|
||||
<define name="__USE_W32API" />
|
||||
<define name="DEBUG_MODE" />
|
||||
<include>../miniport/linux</include>
|
||||
|
|
|
@ -404,7 +404,6 @@ usb_match_id(struct usb_interface *interface, const struct usb_device_id *id)
|
|||
firsttime = 1;
|
||||
|
||||
save_id = (struct usb_device_id*)id;
|
||||
retry_id:
|
||||
id = (struct usb_device_id*)save_id;
|
||||
|
||||
/* proc_connectinfo in devio.c may call us with id == NULL. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<module name="usbport" type="kernelmodedriver" installbase="system32/drivers" warnings="true">
|
||||
<module name="usbport" type="kernelmodedriver" installbase="system32/drivers" installname="usbport.sys">
|
||||
<importlibrary definition="usbport.def" />
|
||||
<define name="__USE_W32API" />
|
||||
<define name="DEBUG_MODE" />
|
||||
|
|
Loading…
Reference in a new issue