From owner-cvs-src@FreeBSD.ORG Mon May 5 18:42:17 2008 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 D1FC5106566B; Mon, 5 May 2008 18:42:17 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AAB3D8FC20; Mon, 5 May 2008 18:42:17 +0000 (UTC) (envelope-from bz@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 m45IgHnF007367; Mon, 5 May 2008 18:42:17 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m45IgHVp007366; Mon, 5 May 2008 18:42:17 GMT (envelope-from bz) Message-Id: <200805051842.m45IgHVp007366@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Mon, 5 May 2008 18:42:17 +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/bge if_bge.c if_bgereg.h 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: Mon, 05 May 2008 18:42:17 -0000 bz 2008-05-05 18:42:17 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c if_bgereg.h Log: Use a better approach to force the interrupt which should work for all cards/modes. In addition to the intr forcing added with rev. 1.205 adopt the other places to use the same logic. We need to exclude a few chips/revisions (5700, 5788) from using the enhanced version and fall back to the old way as that is the only method they support. Tested by: phk Suggested by: davidch, Broadcom (thanks a lot for the help!) MFC after: 16 days Revision Changes Path 1.210 +21 -6 src/sys/dev/bge/if_bge.c 1.79 +4 -0 src/sys/dev/bge/if_bgereg.h