diff options
| author | Søren Schmidt <sos@FreeBSD.org> | 2005-05-01 08:45:12 +0000 |
|---|---|---|
| committer | Søren Schmidt <sos@FreeBSD.org> | 2005-05-01 08:45:12 +0000 |
| commit | 1191f58127f46289d26fe1234fd0574854fb50f3 (patch) | |
| tree | 322a9e44fc21878def17fec8481231291aac5398 /sys/dev/ata | |
| parent | 540fac897444e2aa2757db39128abe7c3dc27323 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ata')
| -rw-r--r-- | sys/dev/ata/ata-raid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-raid.h b/sys/dev/ata/ata-raid.h index 4f3b67cd4e5f7..eed057af883b3 100644 --- a/sys/dev/ata/ata-raid.h +++ b/sys/dev/ata/ata-raid.h @@ -522,7 +522,7 @@ struct lsiv3_raid_conf { /* Promise FastTrak Metadata */ #define PR_LBA(dev) \ - (((struct ad_softc *)device_get_ivars(dev))->total_secs - 63) + (((((struct ad_softc *)device_get_ivars(dev))->total_secs / (((struct ad_softc *)device_get_ivars(dev))->heads * ((struct ad_softc *)device_get_ivars(dev))->sectors)) * ((struct ad_softc *)device_get_ivars(dev))->heads * ((struct ad_softc *)device_get_ivars(dev))->sectors) - ((struct ad_softc *)device_get_ivars(dev))->sectors) struct promise_raid_conf { char promise_id[24]; |
