Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2013 14:41:39 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r251847 - stable/9/sys/cam/ata
Message-ID:  <201306171441.r5HEfdIZ017485@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 				}
 			}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306171441.r5HEfdIZ017485>