mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[DISKPART] Store full scsi address in the diskentry
This commit is contained in:
parent
5a63f3e85a
commit
641fdb342e
2 changed files with 6 additions and 4 deletions
|
@ -152,8 +152,9 @@ typedef struct _DISKENTRY
|
||||||
|
|
||||||
ULONG DiskNumber;
|
ULONG DiskNumber;
|
||||||
USHORT Port;
|
USHORT Port;
|
||||||
USHORT Bus;
|
USHORT PathId;
|
||||||
USHORT Id;
|
USHORT TargetId;
|
||||||
|
USHORT Lun;
|
||||||
|
|
||||||
/* Has the partition list been modified? */
|
/* Has the partition list been modified? */
|
||||||
BOOLEAN Dirty;
|
BOOLEAN Dirty;
|
||||||
|
|
|
@ -936,8 +936,9 @@ AddDiskToList(
|
||||||
|
|
||||||
DiskEntry->DiskNumber = DiskNumber;
|
DiskEntry->DiskNumber = DiskNumber;
|
||||||
DiskEntry->Port = ScsiAddress.PortNumber;
|
DiskEntry->Port = ScsiAddress.PortNumber;
|
||||||
DiskEntry->Bus = ScsiAddress.PathId;
|
DiskEntry->PathId = ScsiAddress.PathId;
|
||||||
DiskEntry->Id = ScsiAddress.TargetId;
|
DiskEntry->TargetId = ScsiAddress.TargetId;
|
||||||
|
DiskEntry->Lun = ScsiAddress.Lun;
|
||||||
|
|
||||||
GetDriverName(DiskEntry);
|
GetDriverName(DiskEntry);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue