diff options
| author | oster <oster@NetBSD.org> | 2000-02-25 02:21:12 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2000-02-25 02:21:12 +0000 |
| commit | 5716b5d6d1a5f7684dbaca7d665d57934b997fc5 (patch) | |
| tree | 59294aaf856c781fd1ec395ccb37110a03a2b050 /sys/dev/raidframe | |
| parent | f5f2ad429cfa3dfc5b8d66e53b6ccd0ffd7fc130 (diff) | |
Be *slightly* more consistent about the use of num and numraid in raidattach().
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_netbsdkintf.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c index 45c76352541..533b1a78425 100644 --- a/sys/dev/raidframe/rf_netbsdkintf.c +++ b/sys/dev/raidframe/rf_netbsdkintf.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_netbsdkintf.c,v 1.57 2000/02/24 01:23:05 oster Exp $ */ +/* $NetBSD: rf_netbsdkintf.c,v 1.58 2000/02/25 02:21:12 oster Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -338,7 +338,7 @@ raidattach(num) rf_sparet_wait_queue = rf_sparet_resp_queue = NULL; - for (i = 0; i < numraid; i++) + for (i = 0; i < num; i++) raidPtrs[i] = NULL; rc = rf_BootRaidframe(); if (rc == 0) @@ -2307,6 +2307,10 @@ rf_update_component_labels( raidPtr ) clabel.status = rf_ds_optimal; /* bump the counter */ clabel.mod_counter++; +#if 0 + /* note where this set was configured last */ + clabel.last_unit = raidPtr->raidid; +#endif #if DEBUG if (raidPtr->mod_counter != clabel.mod_counter) { |
