mirror of
https://github.com/aaru-dps/aaruremote.git
synced 2025-12-16 19:24:37 +00:00
ATA devices seem to be working in FreeBSD.
This commit is contained in:
@@ -114,8 +114,7 @@ DeviceInfoList* ListDevices()
|
|||||||
else
|
else
|
||||||
strncpy(list_next->this.bus, "ATA", 4);
|
strncpy(list_next->this.bus, "ATA", 4);
|
||||||
|
|
||||||
// TODO: This protocol didn't work in C#, does it work in C?
|
list_next->this.supported = true;
|
||||||
list_next->this.supported = strncmp(camdev->sim_name, "ata", 3) != 0;
|
|
||||||
|
|
||||||
if(camccb->cgd.protocol == PROTO_ATAPI) goto protocol_atapi;
|
if(camccb->cgd.protocol == PROTO_ATAPI) goto protocol_atapi;
|
||||||
|
|
||||||
@@ -130,8 +129,7 @@ DeviceInfoList* ListDevices()
|
|||||||
else
|
else
|
||||||
strncpy(list_next->this.bus, "SCSI", 4);
|
strncpy(list_next->this.bus, "SCSI", 4);
|
||||||
|
|
||||||
// TODO: This protocol didn't work in C#, does it work in C?
|
list_next->this.supported = true;
|
||||||
list_next->this.supported = strncmp(camdev->sim_name, "ata", 3) != 0;
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case PROTO_NVME:
|
case PROTO_NVME:
|
||||||
|
|||||||
Reference in New Issue
Block a user