svn commit: r251847 - stable/9/sys/cam/ata
Alexander Motin
mav at FreeBSD.org
Mon Jun 17 14:41:39 UTC 2013
Author: mav
Date: Mon Jun 17 14:41:39 2013
New Revision: 251847
URL: http://svnweb.freebsd.org/changeset/base/251847
Log:
MFC r250298, r250301:
Fix byte order of ATA WWN when converting it to SCSI LUN ID.
Modified:
stable/9/sys/cam/ata/ata_xpt.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/cam/ata/ata_xpt.c
==============================================================================
--- stable/9/sys/cam/ata/ata_xpt.c Mon Jun 17 14:21:31 2013 (r251846)
+++ stable/9/sys/cam/ata/ata_xpt.c Mon Jun 17 14:41:39 2013 (r251847)
@@ -917,6 +917,7 @@ noerror:
path->device->device_id, 8);
bcopy(ident_buf->wwn,
path->device->device_id + 8, 8);
+ ata_bswap(path->device->device_id + 8, 8);
}
}
More information about the svn-src-all
mailing list