> On Nov 26, 2014, at 11:26 PM, Masao Uebayashi <[email protected]> wrote: > > On Thu, Nov 27, 2014 at 4:20 PM, Matt Thomas <[email protected]> wrote: >>> Or completely hide sizeof(struct ifnet) by forcing use of if_alloc(), >>> as struct device did. >> >> Doesn't work since struct ifnet is embedded in ethercom/fddicom > > Right. I mean, I want to make them alloc'ed to improve modlarity in > the long run.
Eww. Yet more indirection. Most ifnet's live in a ethercom which lives in a softc allocated by autoconf.
