On 07/24/2015 05:07 PM, Christoph Hellwig wrote: > On Wed, Jul 08, 2015 at 11:06:12AM +0200, Hannes Reinecke wrote: >> Parse VPD descriptor to figure out the device identification. >> As devices might implement several descriptors the order >> of preference is: >> - NAA IEE Registered Extended >> - EUI-64 based 16-byte >> - EUI-64 based 12-byte >> - NAA IEEE Registered >> - NAA IEEE Extended >> A SCSI name string descriptor is preferred to all of them >> if the identification is longer than 16 bytes. > > Can you move this to scsi_mod.ko? I'll need the same code for the NFS > SCSI layout driver soon. > Ok, will be doing so. Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@xxxxxxx +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html