Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/dev/ic Pull up following revision(s) (requested by bo...
details: https://anonhg.NetBSD.org/src/rev/feef2d3722dc
branches: netbsd-6
changeset: 775437:feef2d3722dc
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Sun Nov 18 19:01:44 2012 +0000
description:
Pull up following revision(s) (requested by bouyer in ticket #674):
sys/dev/ic/mfi.c: revision 1.48
MFI_STATE_BOOT_MESSAGE_PENDING also needs to be handed for non-TBOLT
controllers, from FreeBSD. tested by Hugo Silva against a GEN2 controller.
diffstat:
sys/dev/ic/mfi.c | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diffs (37 lines):
diff -r 93089db94f85 -r feef2d3722dc sys/dev/ic/mfi.c
--- a/sys/dev/ic/mfi.c Sun Nov 18 18:54:46 2012 +0000
+++ b/sys/dev/ic/mfi.c Sun Nov 18 19:01:44 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mfi.c,v 1.36.8.4 2012/10/24 03:23:44 riz Exp $ */
+/* $NetBSD: mfi.c,v 1.36.8.5 2012/11/18 19:01:44 msaitoh Exp $ */
/* $OpenBSD: mfi.c,v 1.66 2006/11/28 23:59:45 dlg Exp $ */
/*
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.36.8.4 2012/10/24 03:23:44 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.36.8.5 2012/11/18 19:01:44 msaitoh Exp $");
#include "bio.h"
@@ -587,12 +587,14 @@
max_wait = 20;
break;
case MFI_STATE_BOOT_MESSAGE_PENDING:
- if (sc->sc_ioptype == MFI_IOP_TBOLT) {
+ if (sc->sc_ioptype == MFI_IOP_SKINNY ||
+ sc->sc_ioptype == MFI_IOP_TBOLT) {
mfi_write(sc, MFI_SKINNY_IDB, MFI_INIT_HOTPLUG);
- max_wait = 180;
- break;
+ } else {
+ mfi_write(sc, MFI_IDB, MFI_INIT_HOTPLUG);
}
- /* FALLTHROUGH */
+ max_wait = 180;
+ break;
default:
aprint_error_dev(sc->sc_dev,
"unknown firmware state %d\n", fw_state);
Home |
Main Index |
Thread Index |
Old Index