PERFORCE change 162658 for review
Alexander Motin
mav at FreeBSD.org
Sun May 24 17:21:46 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=162658
Change 162658 by mav at 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);
More information about the p4-projects
mailing list