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);
                                }
                        }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to