Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-localcount]: src/sys/dev/raidframe We created two different 'st...



details:   https://anonhg.NetBSD.org/src/rev/42d5ba3fe104
branches:  pgoyette-localcount
changeset: 852815:42d5ba3fe104
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Jul 18 11:13:23 2016 +0000

description:
We created two different 'stuct localcount' for a reason - devsw_attach()
requires them to be different!

So use them both in their respective {b,c}devsw initializations.

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b0b50ad8fac9 -r 42d5ba3fe104 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Mon Jul 18 11:12:11 2016 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Mon Jul 18 11:13:23 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.345.2.2 2016/07/17 05:05:10 pgoyette Exp $        */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.345.2.3 2016/07/18 11:13:23 pgoyette Exp $        */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.345.2.2 2016/07/17 05:05:10 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.345.2.3 2016/07/18 11:13:23 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -248,7 +248,7 @@
        .d_kqfilter = nokqfilter,
        .d_discard = nodiscard,
 #ifdef _MODULE
-       .d_localcount = &raid_localcount_bdev,
+       .d_localcount = &raid_localcount_cdev,
 #endif
        .d_flag = D_DISK
 };



Home | Main Index | Thread Index | Old Index