Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 May 2009 17:21:44 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 162658 for review
Message-ID:  <200905241721.n4OHLiMb077664@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

http://perforce.freebsd.org/chv.cgi?CH=162658

Change 162658 by mav@mav_mavbook on 2009/05/24 17:21:40

	Report device serial number.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/ata/ata_xpt.c#3 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/ata/ata_xpt.c#3 (text+ko) ====

@@ -507,6 +507,9 @@
 			btrim(ident_buf->serial, sizeof(ident_buf->serial));
 			bpack(ident_buf->serial, ident_buf->serial, sizeof(ident_buf->serial));
 
+			path->device->serial_num = ident_buf->serial;
+			path->device->serial_num_len = strlen(ident_buf->serial);
+
 			scsi_find_quirk(path->device);
 
 			ata_devise_transport(path);



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