mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added SCSI INQUIRY report to DiscImageChef.Device.Report.
This commit is contained in:
@@ -9,14 +9,14 @@
|
||||
#include "atapi.h"
|
||||
#include "identify_decode.h"
|
||||
|
||||
#define DIC_ATAPI_REPORT_ELEMENT "ATAPI"
|
||||
|
||||
void AtapiReport(int fd, xmlTextWriterPtr xmlWriter)
|
||||
{
|
||||
unsigned char *atapi_ident = NULL;
|
||||
AtaErrorRegistersCHS *ata_error_chs;
|
||||
int error;
|
||||
|
||||
printf("Querying ATAPI IDENTIFY...\n");
|
||||
|
||||
error = IdentifyPacket(fd, &atapi_ident, &ata_error_chs);
|
||||
|
||||
if(error)
|
||||
|
||||
Reference in New Issue
Block a user