From owner-svn-src-stable@FreeBSD.ORG Tue May 10 18:43:19 2011 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 426921065673; Tue, 10 May 2011 18:43:19 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 31EDC8FC13; Tue, 10 May 2011 18:43:19 +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 p4AIhJfE055886; Tue, 10 May 2011 18:43:19 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p4AIhJfp055884; Tue, 10 May 2011 18:43:19 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201105101843.p4AIhJfp055884@svn.freebsd.org> From: Marius Strobl Date: Tue, 10 May 2011 18:43:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r221748 - stable/8/sys/dev/mii X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2011 18:43:19 -0000 Author: marius Date: Tue May 10 18:43:18 2011 New Revision: 221748 URL: http://svn.freebsd.org/changeset/base/221748 Log: Supply the correct size of the softc. This is a direct commit to stable/8 as in head the problem is no longer present as of r221407 but that revision can't be MFC'ed. Modified: stable/8/sys/dev/mii/ip1000phy.c Modified: stable/8/sys/dev/mii/ip1000phy.c ============================================================================== --- stable/8/sys/dev/mii/ip1000phy.c Tue May 10 18:41:46 2011 (r221747) +++ stable/8/sys/dev/mii/ip1000phy.c Tue May 10 18:43:18 2011 (r221748) @@ -76,7 +76,7 @@ static devclass_t ip1000phy_devclass; static driver_t ip1000phy_driver = { "ip1000phy", ip1000phy_methods, - sizeof (struct mii_softc) + sizeof(struct ip1000phy_softc) }; DRIVER_MODULE(ip1000phy, miibus, ip1000phy_driver, ip1000phy_devclass, 0, 0);