[BACK]Return to rf_netbsdkintf.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / raidframe

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/raidframe/rf_netbsdkintf.c between version 1.104.2.5 and 1.104.2.6

version 1.104.2.5, 2001/11/18 13:22:09 version 1.104.2.6, 2002/01/08 00:31:35
Line 116 
Line 116 
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
 __KERNEL_RCSID(0, "$NetBSD$");  __KERNEL_RCSID(0, "$NetBSD$");
   
 #include <sys/errno.h>  
 #include <sys/param.h>  #include <sys/param.h>
   #include <sys/errno.h>
 #include <sys/pool.h>  #include <sys/pool.h>
 #include <sys/lwp.h>  #include <sys/lwp.h>
 #include <sys/proc.h>  #include <sys/proc.h>
Line 130  __KERNEL_RCSID(0, "$NetBSD$");
Line 130  __KERNEL_RCSID(0, "$NetBSD$");
 #include <sys/systm.h>  #include <sys/systm.h>
 #include <sys/namei.h>  #include <sys/namei.h>
 #include <sys/vnode.h>  #include <sys/vnode.h>
 #include <sys/param.h>  
 #include <sys/types.h>  
 #include <machine/types.h>  
 #include <sys/disklabel.h>  #include <sys/disklabel.h>
 #include <sys/conf.h>  #include <sys/conf.h>
 #include <sys/lock.h>  #include <sys/lock.h>
Line 384  raidattach(num)
Line 381  raidattach(num)
                 }                  }
         }          }
   
 #if RAID_AUTOCONFIG  #ifdef RAID_AUTOCONFIG
         raidautoconfig = 1;          raidautoconfig = 1;
 #endif  #endif
   
Line 3298  rf_auto_config_set(cset,unit)
Line 3295  rf_auto_config_set(cset,unit)
                    not taken.                     not taken.
                 */                  */
   
                 for(raidID = numraid; raidID >= 0; raidID--) {                  for(raidID = numraid - 1; raidID >= 0; raidID--) {
                         if (raidPtrs[raidID]->valid == 0) {                          if (raidPtrs[raidID]->valid == 0) {
                                 /* can use this one! */                                  /* can use this one! */
                                 break;                                  break;

Legend:
Removed from v.1.104.2.5  
changed lines
  Added in v.1.104.2.6

CVSweb <webmaster@jp.NetBSD.org>