From owner-svn-src-head@FreeBSD.ORG Tue Mar 27 18:26:36 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 22A78106564A; Tue, 27 Mar 2012 18:26:36 +0000 (UTC) (envelope-from jchandra@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0D6398FC17; Tue, 27 Mar 2012 18:26:36 +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 q2RIQZhF098378; Tue, 27 Mar 2012 18:26:35 GMT (envelope-from jchandra@svn.freebsd.org) Received: (from jchandra@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q2RIQZhR098376; Tue, 27 Mar 2012 18:26:35 GMT (envelope-from jchandra@svn.freebsd.org) Message-Id: <201203271826.q2RIQZhR098376@svn.freebsd.org> From: "Jayachandran C." Date: Tue, 27 Mar 2012 18:26:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r233570 - head/sys/mips/nlm X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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, 27 Mar 2012 18:26:36 -0000 Author: jchandra Date: Tue Mar 27 18:26:35 2012 New Revision: 233570 URL: http://svn.freebsd.org/changeset/base/233570 Log: Fix size of PCI softc. Modified: head/sys/mips/nlm/xlp_pci.c Modified: head/sys/mips/nlm/xlp_pci.c ============================================================================== --- head/sys/mips/nlm/xlp_pci.c Tue Mar 27 18:22:14 2012 (r233569) +++ head/sys/mips/nlm/xlp_pci.c Tue Mar 27 18:26:35 2012 (r233570) @@ -331,7 +331,8 @@ static device_method_t xlp_pci_methods[] DEVMETHOD_END }; -DEFINE_CLASS_1(pci, xlp_pci_driver, xlp_pci_methods, 0, pci_driver); +DEFINE_CLASS_1(pci, xlp_pci_driver, xlp_pci_methods, sizeof(struct pci_softc), + pci_driver); DRIVER_MODULE(xlp_pci, pcib, xlp_pci_driver, pci_devclass, 0, 0); static devclass_t pcib_devclass;