HomeFreeBSD

Add an evil hack to work around a cast from the softc to the ifnet that
rS147287Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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.

Details

Provenance
brooksAuthored on
Parents
rS147286: MFr5 revision 1.342.2.30:
Branches
Unknown
Tags
Unknown

Event Timeline