[libata] SCSI VPD page 0x83 fixes
authorJeff Garzik <jeff@garzik.org>
Wed, 22 Mar 2006 01:37:47 +0000 (20:37 -0500)
committerJeff Garzik <jeff@garzik.org>
Wed, 22 Mar 2006 01:37:47 +0000 (20:37 -0500)
commitb142eb6594003d3f82fd552a9b2ad73d774465d2
tree895129c0dae624ea577fd4f71bc0ddec5453d6e4
parente0f4ab8a1741193891f096aa63df9ac8672af54c
[libata] SCSI VPD page 0x83 fixes

Original patch (and description) by Douglas Gilbert, with minor fixes
and API updates from me.

Changelog:
  - make existing libata VPD device identification page (0x83)
    supply the ATA serial number in the libata "vendor
    specific" designator (from Chris Paulson-Ellis)
  - add a "t10 vendor id based" designator as defined in
    SAT rev 08 (section 10.3.4.2.3) that supplies ATA
    model and serial numbers
  - make the libata VPD page 0x83 more extensible (for
    adding more designators in the future).
  - rename EVPD to VPD in various places. Enable Vital
    Product Data (EVPD) is a bit in the INQUIRY cdb.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-scsi.c