android_kernel_motorola_sm6225/drivers/scsi/aacraid
Salyzyn, Mark 88e2f98e1b [SCSI] aacraid: add vpd to inquiry
Report VPD inquiry page 0x80 with an unique array creation serial
number (CUID). When an array is created, the metadata stored on the
physical drives gets an unique serial number. This serial number
remains constant through array morphing or migration to other
controllers.  This patch is a forward port and modification to survive
morphing and migration operations, of a similar piece of
(un-attributed author) code added to the SLES10 SP1 aacraid driver.

To test the results of the patch, observe that /dev/disk/by-id/
entries will show up for the arrays resulting from the udev rules.
Also, as per the udev rules, 'scsi_id -g -x -a -s /block/sd? -d
/dev/sd?'  will report the ID_SERIAL as constructed from the inquiry
data.

It was reported to me that the 'ADPT' leading the serial number was bad
form, that the inquiry vendor field was enough to differentiate the
storage uniquely. Subsequent search found that another Adaptec AAC based
driver reported the 8 hex serial number only without such adornments, so
dropped ADPT to match. Resubmitting the patch with this alteration.

Signed-off-by: Mark Salyzyn <aacraid@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-07-18 11:17:48 -05:00
..
aachba.c [SCSI] aacraid: add vpd to inquiry 2007-07-18 11:17:48 -05:00
aacraid.h [SCSI] aacraid: add vpd to inquiry 2007-07-18 11:17:48 -05:00
commctrl.c [SCSI] aacraid: resolve compiler warnings using ptrdiff_t 2007-04-01 10:25:21 -05:00
comminit.c [SCSI] aacraid: kmalloc/memset->kzalloc 2007-05-06 09:33:11 -05:00
commsup.c [SCSI] aacraid: incorrect dma mapping mask during blinkled recover or user initiated reset 2007-07-18 11:17:41 -05:00
dpcsup.c [SCSI] aacraid: kmalloc/memset->kzalloc 2007-05-06 09:33:11 -05:00
linit.c Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2007-07-15 16:51:54 -07:00
Makefile [SCSI] aacraid: Begin adding support for new adapter type 2007-01-27 09:27:31 -06:00
nark.c [SCSI] aacraid: cleanups 2007-04-01 10:16:35 -05:00
rkt.c [SCSI] aacraid: cleanups 2007-04-01 10:16:35 -05:00
rx.c [SCSI] aacraid: add user initiated reset 2007-06-17 15:00:47 -05:00
sa.c [SCSI] aacraid: Correct sa platform support. (Was: [Bug 8469] Bad EIP value on pentium3 SMP kernel-2.6.21.1) 2007-05-16 13:06:26 -04:00
TODO [SCSI] aacraid: Newer adapter communication iterface support 2005-10-28 11:41:53 -05:00