mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[ATAPI] Correctly register GUID_DEVINTERFACE_STORAGEPORT interface
IoRegisterDeviceInterface() is taking a PDO as argument. Otherwise, it is failing with STATUS_INVALID_DEVICE_REQUEST.
This commit is contained in:
@@ -346,7 +346,7 @@ AtaFdoStartDevice(
|
||||
|
||||
AtaSetPortRegistryKey(ChanExt, DD_ATA_REG_MAX_TARGET_ID, PortData->MaxTargetId);
|
||||
|
||||
Status = IoRegisterDeviceInterface(ChanExt->Common.Self,
|
||||
Status = IoRegisterDeviceInterface(ChanExt->Pdo,
|
||||
&GUID_DEVINTERFACE_STORAGEPORT,
|
||||
NULL,
|
||||
&ChanExt->StorageInterfaceName);
|
||||
|
||||
Reference in New Issue
Block a user