From owner-cvs-src@FreeBSD.ORG Mon Nov 10 08:04:13 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB0B016A4CE; Mon, 10 Nov 2003 08:04:13 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25B2743FDF; Mon, 10 Nov 2003 08:04:13 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAAG4CXJ029650; Mon, 10 Nov 2003 08:04:12 -0800 (PST) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAAG4CQU029646; Mon, 10 Nov 2003 08:04:12 -0800 (PST) (envelope-from imp) Message-Id: <200311101604.hAAG4CQU029646@repoman.freebsd.org> From: Warner Losh Date: Mon, 10 Nov 2003 08:04:12 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/sn if_sn.c if_sn_isa.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2003 16:04:13 -0000 imp 2003/11/10 08:04:11 PST FreeBSD src repository Modified files: sys/dev/sn if_sn.c if_sn_isa.c Log: Don't establish the ISR in the sn_activate routine. I've had two crashes that had sn0 as the irq that's being serviced, when there was no sn0 in the system. This seems to prevent them. Also, we want to wait until after we've registered with the network layer before we turn on the interrupt spigot to avoid races. Revision Changes Path 1.31 +11 -7 src/sys/dev/sn/if_sn.c 1.12 +0 -5 src/sys/dev/sn/if_sn_isa.c