From owner-cvs-src@FreeBSD.ORG Sun Dec 30 00:23:38 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA9F716A419; Sun, 30 Dec 2007 00:23:38 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AB8AB13C4CC; Sun, 30 Dec 2007 00:23:38 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lBU0NcNJ010635; Sun, 30 Dec 2007 00:23:38 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBU0NcNP010634; Sun, 30 Dec 2007 00:23:38 GMT (envelope-from marius) Message-Id: <200712300023.lBU0NcNP010634@repoman.freebsd.org> From: Marius Strobl Date: Sun, 30 Dec 2007 00:23:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/le am7990.c am79900.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 30 Dec 2007 00:23:38 -0000 marius 2007-12-30 00:23:38 UTC FreeBSD src repository Modified files: sys/dev/le am7990.c am79900.c Log: Correct the comments in am7990_intr() and am79900_intr(); it's not possible to end up in the interrupt handler again while processing the previous RX interrupt in ifp->if_input() because the MD interrupt code disables the delivery of the respective interrupt until all associated handlers were called (in the INTR_FILTER case the MI code supposedly does the same). Toggling the NIC interrupt enable bit in these handlers still is necessary though as some chips (f.e. the VMware emulated one) require this to be done in order to keep issuing interrupts. MFC after: 1 month Revision Changes Path 1.5 +3 -4 src/sys/dev/le/am7990.c 1.5 +3 -4 src/sys/dev/le/am79900.c