Date: Sat, 11 Jun 2005 00:20:38 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/mii mii.c Message-ID: <200506110020.j5B0KcAD011255@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
brooks 2005-06-11 00:20:38 UTC
FreeBSD src repository
Modified files:
sys/dev/mii mii.c
Log:
Add an evil hack to work around a cast from the softc to the ifnet that
I missed. Since I did no rearrange any softcs, casting the result of
device_get_softc() to (struct ifnet **) and derefrencing it yeilds a
pointer to the ifp. This makes at least vr(4) nics work.
Revision Changes Path
1.26 +6 -4 src/sys/dev/mii/mii.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506110020.j5B0KcAD011255>
