mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-21 05:18:38 +00:00
Update AHCI.cs
This commit is contained in:
parent
a2cc139ad3
commit
415104fb7c
1 changed files with 3 additions and 1 deletions
|
|
@ -259,7 +259,9 @@ namespace Cosmos.HAL.BlockDevice
|
|||
if (xDET != DeviceDetectionStatus.DeviceDetectedWithPhy)
|
||||
return PortType.Nothing;
|
||||
|
||||
switch ((AHCISignature)xSignature >> 16)
|
||||
xSignature >>= 16;
|
||||
|
||||
switch ((AHCISignature)xSignature)
|
||||
{
|
||||
case AHCISignature.SATA: return PortType.SATA;
|
||||
case AHCISignature.SATAPI: return PortType.SATAPI;
|
||||
|
|
|
|||
Loading…
Reference in a new issue