| commit | a0cf733b333eeeafb7324e2897448006c693c26c | [log] [tgz] |
|---|---|---|
| author | Tejun Heo <htejun@gmail.com> | Tue Jan 02 20:18:49 2007 +0900 |
| committer | Jeff Garzik <jeff@garzik.org> | Fri Feb 09 17:39:30 2007 -0500 |
| tree | 9a08b3e197cf4d1d17c39ed93cbcdd26fd722316 | |
| parent | cdf56bcf14b9d441777703eef95eef807e4136ec [diff] |
libata: straighten out ATA_ID_* constants
* Kill _OFS suffixes in ATA_ID_{SERNO|FW_REV|PROD}_OFS for consistency
with other ATA_ID_* constants.
* Kill ATA_SERNO_LEN
* Add and use ATA_ID_SERNO_LEN, ATA_ID_FW_REV_LEN and ATA_ID_PROD_LEN.
This change also makes ata_device_blacklisted() use proper length
for fwrev.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>