Module Name: src
Committed By: bouyer
Date: Sun Aug 5 22:47:36 UTC 2012
Modified Files:
src/sys/dev/ic: mfi.c
Log Message:
Really init sc_ioptype in mfi_attach()
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/ic/mfi.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/ic/mfi.c
diff -u src/sys/dev/ic/mfi.c:1.41 src/sys/dev/ic/mfi.c:1.42
--- src/sys/dev/ic/mfi.c:1.41 Sun Aug 5 17:23:25 2012
+++ src/sys/dev/ic/mfi.c Sun Aug 5 22:47:36 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: mfi.c,v 1.41 2012/08/05 17:23:25 bouyer Exp $ */
+/* $NetBSD: mfi.c,v 1.42 2012/08/05 22:47:36 bouyer Exp $ */
/* $OpenBSD: mfi.c,v 1.66 2006/11/28 23:59:45 dlg Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <[email protected]>
@@ -17,7 +17,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.41 2012/08/05 17:23:25 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.42 2012/08/05 22:47:36 bouyer Exp $");
#include "bio.h"
@@ -740,6 +740,8 @@ mfi_attach(struct mfi_softc *sc, enum mf
DNPRINTF(MFI_D_MISC, "%s: mfi_attach\n", DEVNAME(sc));
+ sc->sc_ioptype = iop;
+
switch (iop) {
case MFI_IOP_XSCALE:
sc->sc_iop = &mfi_iop_xscale;