Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Note the fact that the first arg of raidin...
details: https://anonhg.NetBSD.org/src/rev/abea601627a5
branches: trunk
changeset: 482835:abea601627a5
user: oster <oster%NetBSD.org@localhost>
date: Tue Feb 22 23:13:15 2000 +0000
description:
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:
sys/dev/raidframe/rf_netbsdkintf.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r f28bd24a1377 -r abea601627a5 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c Tue Feb 22 22:59:49 2000 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c Tue Feb 22 23:13:15 2000 +0000
@@ -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 @@
#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 */
Home |
Main Index |
Thread Index |
Old Index