From 214822e08cc41c6b1fc8b4af65436e190e7efb5d Mon Sep 17 00:00:00 2001 From: oster Date: Tue, 22 Feb 2000 23:13:15 +0000 Subject: 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...). --- sys/dev/raidframe/rf_netbsdkintf.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/dev/raidframe') 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 */ -- cgit