From 6713489079ffe59f273b6fc68745f901a16096a1 Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Sun, 20 Jul 2014 11:57:50 +0000 Subject: In bwi(4), don't declare an interrupt as unhandled in case the PHY TX error bit is set. This interrupt condition is handled by resetting the device. ok mpi@ as part of a larger diff --- sys/dev/ic/bwi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/ic/bwi.c b/sys/dev/ic/bwi.c index b83b1e830fc..61fd1237585 100644 --- a/sys/dev/ic/bwi.c +++ b/sys/dev/ic/bwi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bwi.c,v 1.104 2014/07/20 11:57:05 stsp Exp $ */ +/* $OpenBSD: bwi.c,v 1.105 2014/07/20 11:57:49 stsp Exp $ */ /* * Copyright (c) 2007 The DragonFly Project. All rights reserved. @@ -645,7 +645,7 @@ bwi_intr(void *xsc) printf("intr PHY TX error\n"); /* XXX to netisr0? */ bwi_init_statechg(sc, 0); - return (0); + return (1); } } -- cgit v1.2.3