Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/net



> On Nov 26, 2014, at 11:26 PM, Masao Uebayashi <uebayasi%gmail.com@localhost> wrote:
> 
> On Thu, Nov 27, 2014 at 4:20 PM, Matt Thomas <matt%3am-software.com@localhost> 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.  


Home | Main Index | Thread Index | Old Index