Module Name:    src
Committed By:   oster
Date:           Sat May  2 21:11:26 UTC 2009

Modified Files:
        src/sys/dev/raidframe: rf_compat50.c

Log Message:
Fix assignment of SUsPerPU and add SUsPerRU assignment.  Reported by
and fix from Anthony Mallet in PR#41328.  Thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/raidframe/rf_compat50.c

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

Modified files:

Index: src/sys/dev/raidframe/rf_compat50.c
diff -u src/sys/dev/raidframe/rf_compat50.c:1.1 src/sys/dev/raidframe/rf_compat50.c:1.2
--- src/sys/dev/raidframe/rf_compat50.c:1.1	Sun Jan 18 16:37:19 2009
+++ src/sys/dev/raidframe/rf_compat50.c	Sat May  2 21:11:26 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rf_compat50.c,v 1.1 2009/01/18 16:37:19 christos Exp $	*/
+/*	$NetBSD: rf_compat50.c,v 1.2 2009/05/02 21:11:26 oster Exp $	*/
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -152,7 +152,8 @@
 	    sizeof(k_cfg->spare_names));
 
 	k_cfg->sectPerSU = k50_cfg->sectPerSU;
-	k_cfg->SUsPerPU = k50_cfg->SUsPerRU;
+	k_cfg->SUsPerPU = k50_cfg->SUsPerPU;
+	k_cfg->SUsPerRU = k50_cfg->SUsPerRU;
 	k_cfg->parityConfig = k50_cfg->parityConfig;
 
 	memcpy(k_cfg->diskQueueType, k50_cfg->diskQueueType,

Reply via email to