freebsd-nq/sys/mips/adm5120
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
..
adm5120_machdep.c Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
adm5120reg.h
admpci.c
console.c
files.adm5120
if_admsw.c In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
if_admswreg.h
if_admswvar.h
obio.c Devices that rely on hints or identify routines for discovery need to 2013-10-29 14:07:31 +00:00
obiovar.h
std.adm5120
uart_bus_adm5120.c
uart_cpu_adm5120.c
uart_dev_adm5120.c Introduce grab and ungrab upcalls. When the kernel desires to grab the 2014-01-19 19:36:11 +00:00
uart_dev_adm5120.h