diff options
| author | Søren Schmidt <sos@FreeBSD.org> | 2002-03-30 11:15:46 +0000 |
|---|---|---|
| committer | Søren Schmidt <sos@FreeBSD.org> | 2002-03-30 11:15:46 +0000 |
| commit | 7e2437190c72ccf3d0edd6796df7e06a41d394ad (patch) | |
| tree | a01493675996a5de53202d9c368b95f78dd802f7 /sys/dev/ata/ata-raid.c | |
| parent | 880d114c8ae0eed0a389ee80d55cb9b3cafc8388 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ata/ata-raid.c')
| -rw-r--r-- | sys/dev/ata/ata-raid.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-raid.c b/sys/dev/ata/ata-raid.c index 9d2c4f3d6056..13e17e422238 100644 --- a/sys/dev/ata/ata-raid.c +++ b/sys/dev/ata/ata-raid.c @@ -1092,7 +1092,6 @@ ar_promise_read_conf(struct ad_softc *adp, struct ar_softc **raidp, int local) } } - /* check if the checksum is OK */ for (cksum = 0, ckptr = (int32_t *)info, count = 0; count < 511; count++) cksum += *ckptr++; @@ -1296,7 +1295,7 @@ ar_promise_write_conf(struct ar_softc *rdp) config->raid.total_disks = rdp->total_disks; config->raid.stripe_shift = ffs(rdp->interleave) - 1; config->raid.array_width = rdp->width; - config->raid.array_number = rdp->magic_0 >> 16; + config->raid.array_number = rdp->lun; config->raid.total_sectors = rdp->total_sectors; config->raid.cylinders = rdp->cylinders - 1; config->raid.heads = rdp->heads - 1; |
