[src] cvs commit: src/share/man/man9 ifnet.9
src/sys/compat/ndis kern_ndis.c subr_ndis.c
src/sys/contrib/altq/altq altq_rio.c src/sys/contrib/dev/oltr
if_oltr.c if_oltr_pci.c if_oltrvar.h src/sys/contrib/pf/net
if_pflog.c if_pflog.h if_pfsync.c ...
Brooks Davis
brooks at one-eyed-alien.net
Fri Jun 10 17:04:22 GMT 2005
On Fri, Jun 10, 2005 at 04:49:54PM +0000, Brooks Davis wrote:
> brooks 2005-06-10 16:49:24 UTC
>
> FreeBSD src repository
>
> Modified files:
Every network interface and most layer 2 infrastructure!
> Log:
> Stop embedding struct ifnet at the top of driver softcs. Instead the
> struct ifnet or the layer 2 common structure it was embedded in have
> been replaced with a struct ifnet pointer to be filled by a call to the
> new function, if_alloc(). The layer 2 common structure is also allocated
> via if_alloc() based on the interface type. It is hung off the new
> struct ifnet member, if_l2com.
>
> This change removes the size of these structures from the kernel ABI and
> will allow us to better manage them as interfaces come and go.
As previously mentioned on -current and -net, you will need to recompile
all drivers after this change. External drivers will almost certaintly
fail to compile and will certainltly not work. I'll provide the
necessicary patches if you point me to the problem code or you can make
the conversion yourself, it's fairly straight forward.
If you need better cross OS or cross version support in a driver I
modifed, let me know and I'll fix it prior to the RELENG_6 branch.
-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050610/3c0b4d18/attachment.bin
More information about the cvs-src
mailing list