Date: Tue, 10 May 2011 18:43:19 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r221748 - stable/8/sys/dev/mii Message-ID: <201105101843.p4AIhJfp055884@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105101843.p4AIhJfp055884>