]> err.no Git - linux-2.6/commit
libata: straighten out ATA_ID_* constants
authorTejun Heo <htejun@gmail.com>
Tue, 2 Jan 2007 11:18:49 +0000 (20:18 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:30 +0000 (17:39 -0500)
commita0cf733b333eeeafb7324e2897448006c693c26c
tree9a08b3e197cf4d1d17c39ed93cbcdd26fd722316
parentcdf56bcf14b9d441777703eef95eef807e4136ec
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>
drivers/ata/libata-core.c
drivers/ata/libata-scsi.c
drivers/ata/pata_ali.c
drivers/ata/pata_hpt366.c
drivers/ata/pata_hpt37x.c
drivers/ata/pata_it821x.c
drivers/ata/pata_serverworks.c
drivers/ata/sata_sil.c
include/linux/ata.h