Author: marius
Date: Tue May 10 18:44:40 2011
New Revision: 221749
URL: http://svn.freebsd.org/changeset/base/221749

Log:
  Supply the correct size of the softc. This is a direct commit to stable/7
  as in head the problem is no longer present as of r221407 but that revision
  can't be MFC'ed.

Modified:
  stable/7/sys/dev/mii/ip1000phy.c

Modified: stable/7/sys/dev/mii/ip1000phy.c
==============================================================================
--- stable/7/sys/dev/mii/ip1000phy.c    Tue May 10 18:43:18 2011        
(r221748)
+++ stable/7/sys/dev/mii/ip1000phy.c    Tue May 10 18:44:40 2011        
(r221749)
@@ -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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to