]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Fixup WWN bytes for big-endian systems 1324/head
authorTom Lyon <pugs@drivescale.com>
Mon, 21 Sep 2015 21:36:32 +0000 (14:36 -0700)
committerTom Lyon <pugs@drivescale.com>
Mon, 21 Sep 2015 21:36:32 +0000 (14:36 -0700)
src/udev/ata_id/ata_id.c

index e265aa5f53898894417f6702d33dc1289e28b48e..dcc134d0f758f677e3650bd6c68090257b4e367a 100644 (file)
@@ -484,6 +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, 128);     /* device lock function */
                 disk_identify_fixup_uint16(identify.byte, 217);     /* nominal media rotation rate */
                 memcpy(&id, identify.byte, sizeof id);