freebsd-nq/sys/dev/ed
Robert Watson 2a8c860fe3 In order to reduce use of M_EXT outside of the mbuf allocator and
socket-buffer implementations, introduce a return value for MCLGET()
(and m_cljget() that underlies it) to allow the caller to avoid testing
M_EXT itself.  Update all callers to use the return value.

With this change, very few network device drivers remain aware of
M_EXT; the primary exceptions lie in mbuf-chain pretty printers for
debugging, and in a few cases, custom mbuf and cluster allocation
implementations.

NB: This is a difficult-to-test change as it touches many drivers for
which I don't have physical devices.  Instead we've gone for intensive
review, but further post-commit review would definitely be appreciated
to spot errors where changes could not easily be made mechanically,
but were largely mechanical in nature.

Differential Revision:	https://reviews.freebsd.org/D1440
Reviewed by:	adrian, bz, gnn
Sponsored by:	EMC / Isilon Storage Division
2015-01-06 12:59:37 +00:00
..
ax88x90reg.h
dl100xxreg.h
if_ed98.h
if_ed_3c503.c - Switch to using the common MII bitbang'ing code instead of duplicating it. 2013-12-29 19:21:59 +00:00
if_ed_cbus.c
if_ed_hpp.c Add bus space barriers for page switches missed in r260050. 2014-02-05 22:21:08 +00:00
if_ed_isa.c
if_ed_novell.c
if_ed_pccard.c - Switch to using the common MII bitbang'ing code instead of duplicating it. 2013-12-29 19:21:59 +00:00
if_ed_pci.c
if_ed_rtl80x9.c - Switch to using the common MII bitbang'ing code instead of duplicating it. 2013-12-29 19:21:59 +00:00
if_ed_sic.c
if_ed_wd80x3.c
if_ed.c In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
if_edreg.h - Switch to using the common MII bitbang'ing code instead of duplicating it. 2013-12-29 19:21:59 +00:00
if_edvar.h - Switch to using the common MII bitbang'ing code instead of duplicating it. 2013-12-29 19:21:59 +00:00
rtl80x9reg.h
tc5299jreg.h - Switch to using the common MII bitbang'ing code instead of duplicating it. 2013-12-29 19:21:59 +00:00