cvs commit: src/sys/dev/mii mii.c

Brooks Davis brooks at FreeBSD.org
Sat Jun 11 00:20:39 GMT 2005


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


More information about the cvs-src mailing list