summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2015-09-22 18:00:52 +0200
committerKay Sievers <kay@vrfy.org>2015-09-22 18:00:52 +0200
commita6affd88bab11dceac59835a0d2611910bc4a832 (patch)
treef31d7dec4b6d1e79bdfd02a4674380dfc0108f80 /src
parent03364e472bccf64544e3a0d36d09f90c78f9f699 (diff)
udev: ata_id - ATA_ID_SATA_CAPABILITY == 76
Diffstat (limited to 'src')
-rw-r--r--src/udev/ata_id/ata_id.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/udev/ata_id/ata_id.c b/src/udev/ata_id/ata_id.c
index dcc134d0f7..1d1798dd10 100644
--- a/src/udev/ata_id/ata_id.c
+++ b/src/udev/ata_id/ata_id.c
@@ -473,7 +473,7 @@ int main(int argc, char *argv[])
disk_identify_fixup_string(identify.byte, 27, 40); /* model */
disk_identify_fixup_uint16(identify.byte, 0); /* configuration */
disk_identify_fixup_uint16(identify.byte, 75); /* queue depth */
- disk_identify_fixup_uint16(identify.byte, 75); /* SATA capabilities */
+ disk_identify_fixup_uint16(identify.byte, 76); /* SATA capabilities */
disk_identify_fixup_uint16(identify.byte, 82); /* command set supported */
disk_identify_fixup_uint16(identify.byte, 83); /* command set supported */
disk_identify_fixup_uint16(identify.byte, 84); /* command set supported */
@@ -484,10 +484,10 @@ int main(int argc, char *argv[])
disk_identify_fixup_uint16(identify.byte, 90); /* time required for enhanced SECURITY ERASE UNIT */
disk_identify_fixup_uint16(identify.byte, 91); /* current APM values */
disk_identify_fixup_uint16(identify.byte, 94); /* current AAM value */
- disk_identify_fixup_uint16(identify.byte, 108); /* wwn */
- disk_identify_fixup_uint16(identify.byte, 109); /* wwn */
- disk_identify_fixup_uint16(identify.byte, 110); /* wwn */
- disk_identify_fixup_uint16(identify.byte, 111); /* wwn */
+ disk_identify_fixup_uint16(identify.byte, 108); /* WWN */
+ disk_identify_fixup_uint16(identify.byte, 109); /* WWN */
+ disk_identify_fixup_uint16(identify.byte, 110); /* WWN */
+ disk_identify_fixup_uint16(identify.byte, 111); /* WWN */
disk_identify_fixup_uint16(identify.byte, 128); /* device lock function */
disk_identify_fixup_uint16(identify.byte, 217); /* nominal media rotation rate */
memcpy(&id, identify.byte, sizeof id);