Author: mjmartin Date: Fri Apr 29 02:19:10 2011 New Revision: 51488
URL: http://svn.reactos.org/svn/reactos?rev=51488&view=rev Log: [USBEHCI_NEW] - hub_controller.cpp: Change RtlSetBit and RtlClearBit to RtlSetBtis and RtlClearBits for Win2k compatibility.
Modified: branches/usb-bringup/drivers/usb/usbehci_new/hub_controller.cpp
Modified: branches/usb-bringup/drivers/usb/usbehci_new/hub_controller.cpp URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup/drivers/usb/usbehci_... ============================================================================== --- branches/usb-bringup/drivers/usb/usbehci_new/hub_controller.cpp [iso-8859-1] (original) +++ branches/usb-bringup/drivers/usb/usbehci_new/hub_controller.cpp [iso-8859-1] Fri Apr 29 02:19:10 2011 @@ -1461,7 +1461,7 @@ // // reserve address // - RtlSetBit(&m_DeviceAddressBitmap, DeviceAddress); + RtlSetBits(&m_DeviceAddressBitmap, DeviceAddress, 1);
// // device addresses start from 0x1 - 0xFF @@ -1504,7 +1504,7 @@ // // clear bit // - RtlClearBit(&m_DeviceAddressBitmap, DeviceAddress); + RtlClearBits(&m_DeviceAddressBitmap, DeviceAddress, 1);
// // release lock