chiark / gitweb /
remove a few comments in file headers
[elogind.git] / extras / scsi_id / scsi_id.h
index 9fcadec173536407b6b10d6a22a776484e9c96f2..ff5b70d17b6869460891d941b7a74ede5219afb7 100644 (file)
@@ -1,8 +1,4 @@
 /*
- * scsi_id.h
- *
- * General defines and such for scsi_id
- *
  * Copyright (C) IBM Corp. 2003
  *
  *     This program is free software; you can redistribute it and/or modify it
@@ -39,6 +35,15 @@ struct scsi_id_device {
        char serial[MAX_SERIAL_LEN];
        char serial_short[MAX_SERIAL_LEN];
        int use_sg;
+
+        /* Always from page 0x80 e.g. 'B3G1P8500RWT' - may not be unique */
+        char unit_serial_number[MAX_SERIAL_LEN];
+
+        /* NULs if not set - otherwise hex encoding using lower-case e.g. '50014ee0016eb572' */
+        char wwn[17];
+
+        /* NULs if not set - otherwise hex encoding using lower-case e.g. '0xe00000d80000' */
+        char wwn_vendor_extension[17];
 };
 
 extern int scsi_std_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, const char *devname);