mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 02:21:22 +00:00
[STORPORT] Implement StorPortSetBusDataByOffset.
CORE-13866
This commit is contained in:
parent
1624c1d8c9
commit
194df1ba58
1 changed files with 24 additions and 4 deletions
|
@ -1005,7 +1005,7 @@ StorPortResumeDevice(
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
STORPORT_API
|
STORPORT_API
|
||||||
ULONG
|
ULONG
|
||||||
|
@ -1019,9 +1019,29 @@ StorPortSetBusDataByOffset(
|
||||||
_In_ ULONG Offset,
|
_In_ ULONG Offset,
|
||||||
_In_ ULONG Length)
|
_In_ ULONG Length)
|
||||||
{
|
{
|
||||||
DPRINT1("StorPortSetBusDataByOffset()\n");
|
PMINIPORT_DEVICE_EXTENSION MiniportExtension;
|
||||||
UNIMPLEMENTED;
|
PBUS_INTERFACE_STANDARD Interface;
|
||||||
return 0;
|
ULONG ReturnLength;
|
||||||
|
|
||||||
|
DPRINT1("StorPortSetBusData(%p %lu %lu %lu %p %lu %lu)\n",
|
||||||
|
DeviceExtension, BusDataType, SystemIoBusNumber, SlotNumber, Buffer, Offset, Length);
|
||||||
|
|
||||||
|
MiniportExtension = CONTAINING_RECORD(DeviceExtension,
|
||||||
|
MINIPORT_DEVICE_EXTENSION,
|
||||||
|
HwDeviceExtension);
|
||||||
|
DPRINT1("DeviceExtension %p MiniportExtension %p\n",
|
||||||
|
DeviceExtension, MiniportExtension);
|
||||||
|
|
||||||
|
Interface = &MiniportExtension->Miniport->DeviceExtension->BusInterface;
|
||||||
|
|
||||||
|
ReturnLength = Interface->SetBusData(Interface->Context,
|
||||||
|
BusDataType,
|
||||||
|
Buffer,
|
||||||
|
Offset,
|
||||||
|
Length);
|
||||||
|
DPRINT1("ReturnLength: %lu\n", ReturnLength);
|
||||||
|
|
||||||
|
return ReturnLength;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue