From owner-svn-src-head@FreeBSD.ORG Tue Oct 16 15:25:04 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C0376C05; Tue, 16 Oct 2012 15:25:04 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A7DF78FC16; Tue, 16 Oct 2012 15:25:04 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9GFP4WS066820; Tue, 16 Oct 2012 15:25:04 GMT (envelope-from pluknet@svn.freebsd.org) Received: (from pluknet@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9GFP4um066818; Tue, 16 Oct 2012 15:25:04 GMT (envelope-from pluknet@svn.freebsd.org) Message-Id: <201210161525.q9GFP4um066818@svn.freebsd.org> From: Sergey Kandaurov Date: Tue, 16 Oct 2012 15:25:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241611 - head/sys/dev/aha X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2012 15:25:04 -0000 Author: pluknet Date: Tue Oct 16 15:25:04 2012 New Revision: 241611 URL: http://svn.freebsd.org/changeset/base/241611 Log: Fix aha(4) build with i386 LINT (which includes 'device mca'). Modified: head/sys/dev/aha/aha_mca.c Modified: head/sys/dev/aha/aha_mca.c ============================================================================== --- head/sys/dev/aha/aha_mca.c Tue Oct 16 13:37:54 2012 (r241610) +++ head/sys/dev/aha/aha_mca.c Tue Oct 16 15:25:04 2012 (r241611) @@ -31,6 +31,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include @@ -191,7 +192,7 @@ aha_mca_attach (device_t dev) } error = bus_setup_intr(dev, sc->irq, INTR_TYPE_CAM | INTR_ENTROPY | - INTR_MPSAFE, NULL, aha_intr, sc, &aha->ih); + INTR_MPSAFE, NULL, aha_intr, sc, &sc->ih); if (error) { device_printf(dev, "Unable to register interrupt handler\n"); aha_detach(sc);