Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 10:04:20 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: [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 ...
Message-ID:  <20050610170420.GB17120@odin.ac.hmc.edu>
In-Reply-To: <20050610164954.5461216A41F@hub.freebsd.org>
References:  <200506101649.j5AGnOPu077043@repoman.freebsd.org> <20050610164954.5461216A41F@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--xgyAXRrhYN0wYx8y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 10, 2005 at 04:49:54PM +0000, Brooks Davis wrote:
> brooks      2005-06-10 16:49:24 UTC
>=20
>   FreeBSD src repository
>=20
>   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.
>  =20
>   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

--xgyAXRrhYN0wYx8y
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCqcgUXY6L6fI4GtQRAhF3AKCE//PD9/SGKpSTbYMS7KxA7icibgCfeTCw
ToZE8bTa4YMer39dBG23NFY=
=OIy1
-----END PGP SIGNATURE-----

--xgyAXRrhYN0wYx8y--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050610170420.GB17120>