summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2000-02-22 23:13:15 +0000
committeroster <oster@NetBSD.org>2000-02-22 23:13:15 +0000
commit214822e08cc41c6b1fc8b4af65436e190e7efb5d (patch)
tree376818d8e8b338c0f4d3d4acc8d8eac45444db0d /sys/dev/raidframe
parent9651e608354ed4455c9e5bc5d064eccab61f3748 (diff)
Note the fact that the first arg of raidinit() may be bogus in
the autoconfig case (the value of the first arg never gets used, but...).
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index 4b7a62ada16..814c7f8cff5 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.52 2000/02/22 16:07:02 oster Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.53 2000/02/22 23:13:15 oster Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -204,7 +204,9 @@ struct raidbuf {
#define RAIDPUTBUF(rs, cbp) pool_put(&(rs)->sc_cbufpool, cbp)
/* XXX Not sure if the following should be replacing the raidPtrs above,
- or if it should be used in conjunction with that... */
+ or if it should be used in conjunction with that...
+ Note: Don't use sc_dev until the raidinit(0,_,_) call in
+ rf_auto_config_set() actually passes in a real dev_t! */
struct raid_softc {
int sc_flags; /* flags */