Improve ACPI_NFIT_CONTROL_REGION formatting.
MFC after: 1 week
This commit is contained in:
parent
3279329b2d
commit
35e39fd95f
@ -1659,20 +1659,20 @@ acpi_print_nfit(ACPI_NFIT_HEADER *nfit)
|
|||||||
printf("\tRegionIndex=%u\n", (u_int)ctlreg->RegionIndex);
|
printf("\tRegionIndex=%u\n", (u_int)ctlreg->RegionIndex);
|
||||||
printf("\tVendorId=0x%04x\n", (u_int)ctlreg->VendorId);
|
printf("\tVendorId=0x%04x\n", (u_int)ctlreg->VendorId);
|
||||||
printf("\tDeviceId=0x%04x\n", (u_int)ctlreg->DeviceId);
|
printf("\tDeviceId=0x%04x\n", (u_int)ctlreg->DeviceId);
|
||||||
printf("\tRevisionId=%u\n", (u_int)ctlreg->RevisionId);
|
printf("\tRevisionId=0x%02x\n", (u_int)ctlreg->RevisionId);
|
||||||
printf("\tSubsystemVendorId=0x%04x\n",
|
printf("\tSubsystemVendorId=0x%04x\n",
|
||||||
(u_int)ctlreg->SubsystemVendorId);
|
(u_int)ctlreg->SubsystemVendorId);
|
||||||
printf("\tSubsystemDeviceId=0x%04x\n",
|
printf("\tSubsystemDeviceId=0x%04x\n",
|
||||||
(u_int)ctlreg->SubsystemDeviceId);
|
(u_int)ctlreg->SubsystemDeviceId);
|
||||||
printf("\tSubsystemRevisionId=%u\n",
|
printf("\tSubsystemRevisionId=0x%02x\n",
|
||||||
(u_int)ctlreg->SubsystemRevisionId);
|
(u_int)ctlreg->SubsystemRevisionId);
|
||||||
printf("\tValidFields=0x%02x\n", (u_int)ctlreg->ValidFields);
|
printf("\tValidFields=0x%02x\n", (u_int)ctlreg->ValidFields);
|
||||||
printf("\tManufacturingLocation=%u\n",
|
printf("\tManufacturingLocation=0x%02x\n",
|
||||||
(u_int)ctlreg->ManufacturingLocation);
|
(u_int)ctlreg->ManufacturingLocation);
|
||||||
printf("\tManufacturingDate=%u\n",
|
printf("\tManufacturingDate=%04x\n",
|
||||||
(u_int)ctlreg->ManufacturingDate);
|
(u_int)be16toh(ctlreg->ManufacturingDate));
|
||||||
printf("\tSerialNumber=%u\n",
|
printf("\tSerialNumber=%08X\n",
|
||||||
(u_int)ctlreg->SerialNumber);
|
(u_int)be32toh(ctlreg->SerialNumber));
|
||||||
printf("\tCode=0x%04x\n", (u_int)ctlreg->Code);
|
printf("\tCode=0x%04x\n", (u_int)ctlreg->Code);
|
||||||
printf("\tWindows=%u\n", (u_int)ctlreg->Windows);
|
printf("\tWindows=%u\n", (u_int)ctlreg->Windows);
|
||||||
printf("\tWindowSize=0x%016jx\n",
|
printf("\tWindowSize=0x%016jx\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user