[Zrouter-src-freebsd] ZRouter.org: push to FreeBSD HEAD tree

zrouter-src-freebsd at zrouter.org zrouter-src-freebsd at zrouter.org
Mon Apr 23 09:20:11 UTC 2012


details:   http://zrouter.org/hg/FreeBSD/head//rev/5442226d4a72
changeset: 465:5442226d4a72
user:      Aleksandr Rybalko <ray at ddteam.net>
date:      Mon Apr 23 12:18:29 2012 +0300
description:
Use DELAY instead of pause, to not panicing on deadlocks

diffstat:

 head/sys/dev/switch/bcm5325_switch.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a12e0130385e -r 5442226d4a72 head/sys/dev/switch/bcm5325_switch.c
--- a/head/sys/dev/switch/bcm5325_switch.c	Mon Apr 23 12:16:49 2012 +0300
+++ b/head/sys/dev/switch/bcm5325_switch.c	Mon Apr 23 12:18:29 2012 +0300
@@ -879,7 +879,7 @@
 		if (error)
 			return (error);
 
-		pause("eswrst", hz/100);
+		DELAY(10000);
 
 		error = WRITE(sc, SWITCH_RESET, 0x00);
 		if (error)


More information about the Zrouter-src-freebsd mailing list