mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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;
|
||||
USHORT Port;
|
||||
USHORT Bus;
|
||||
USHORT Id;
|
||||
USHORT PathId;
|
||||
USHORT TargetId;
|
||||
USHORT Lun;
|
||||
|
||||
/* Has the partition list been modified? */
|
||||
BOOLEAN Dirty;
|
||||
|
|
|
@ -936,8 +936,9 @@ AddDiskToList(
|
|||
|
||||
DiskEntry->DiskNumber = DiskNumber;
|
||||
DiskEntry->Port = ScsiAddress.PortNumber;
|
||||
DiskEntry->Bus = ScsiAddress.PathId;
|
||||
DiskEntry->Id = ScsiAddress.TargetId;
|
||||
DiskEntry->PathId = ScsiAddress.PathId;
|
||||
DiskEntry->TargetId = ScsiAddress.TargetId;
|
||||
DiskEntry->Lun = ScsiAddress.Lun;
|
||||
|
||||
GetDriverName(DiskEntry);
|
||||
|
||||
|
|
Loading…
Reference in a new issue