diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-02-07 03:08:14 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-09 23:39:40 +0100 |
commit | 591a6e8ee7c8ffbbeaf23fec23796c0cfa316a41 (patch) | |
tree | 63f718582bc8f6b014d1d0563241160fab554d66 /drivers | |
parent | libata: Early CFA adapters are not required to support mode setting (diff) | |
download | linux-591a6e8ee7c8ffbbeaf23fec23796c0cfa316a41.tar.xz linux-591a6e8ee7c8ffbbeaf23fec23796c0cfa316a41.zip |
libata: build fix after dmesg probe output changes
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/libata-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 479f95a5c0a3..25d8d3f778a1 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -1597,10 +1597,10 @@ int ata_dev_configure(struct ata_device *dev) dev->n_sectors = ata_id_n_sectors(id); /* SCSI only uses 4-char revisions, dump full 8 chars from ATA */ - ata_id_c_string(dev->id, fwrevbuf, ATA_ID_FW_REV_OFS, + ata_id_c_string(dev->id, fwrevbuf, ATA_ID_FW_REV, sizeof(fwrevbuf)); - ata_id_c_string(dev->id, modelbuf, ATA_ID_PROD_OFS, + ata_id_c_string(dev->id, modelbuf, ATA_ID_PROD, sizeof(modelbuf)); if (dev->id[59] & 0x100) |