- Mechanically convert to if_inc_counter() the rest of counters.
- Do not set if_collisions on interrupt, read them in ti_get_counter().
- Add missing bus_dmamap_sync(BUS_DMASYNC_PREREAD) in ti_ioctl2(). [1]

Submitted by:	mav [1]
- Provide lagg_proto_attach(), lagg_proto_detach().
- Make detach a protocol method in lagg_protos.
- Simplify code to lookup protocols.

Sponsored by:	Netflix
Sponsored by:	Nginx, Inc.
Add smsc(4) to the list of drivers use the miibus interface.

X-MFC with:	r272165
Sponsored by:	Nginx, Inc.
Add smsc(4) to the hardware notes.
Add a line to the post-installation configuration dialog to enable the
local_unbound service.

MFC after:	3 days
Replace the macros used in the previous man(1) commit with literal text,
because the macros seem to be specific to groff, and do not render in
mandoc

Approved by:	bcr (mentor)
Sponsored by:	ScaleEngine Inc.
- Whitespace.
- Remove caddr_t.
Keep list of lagg ports sorted by if_index.

Obtained from:	Yandex LLC
MFC after:	1 week
Sponsored by:	Yandex LLC
drop unnecessary ifdef IPSEC's.  This file is only compiled when IPSEC
is defined...

Differential Revision:	D839
Reviewed by:	bz, glebius, gnn
Sponsered by:	EuroBSDCon DevSummit
Make all lagg protocol methods live in lagg_protos, not in softc. All
interfaces of a same protocol, use the same methods.

Sponsored by:	Netflix
Sponsored by:	Nginx, Inc.
Remove macros that hide access to struct ifnet fields.
Add ipheth(4) to the hardware notes.

MFC after:	6 days
Fix a paste-o commited in r272109: we need to get the interrupts for the
child node, not the parent node.

Pointed out by:	jhibbits@
Don't panic if a resource is allocated twice.  Instead, print a warning and
fail the allocation request.  Allocations of "reserved" resources such as
PCI BARs already fail the request instead of panic'ing in this case.

MFC after:	1 week
Make sure the adapter's management queue and the event queue are
available before any uppper layer driver (TOE, iWARP, or iSCSI)
registers with the base cxgbe(4) driver.

Submitted by:	Hariprasad at chelsio dot com
Reviewed by:	np@
Make do_dup() static and move relevant macros to kern_descrip.c

No functional changes.
Add libuutil to dependency list.

Noticed by:	sef
MFC after:	3 days
cxgbe(4): explicitly set various if_hw_tso* values.

MFC after:	3 days
Allow the PIC's IMR register to be read before ICW initialisation.

As of git submit e179f6914152eca9, the Linux kernel does a simple
probe of the PIC by writing a pattern to the IMR and then reading it
back, prior to the init sequence of ICW words.

The bhyve PIC emulation wasn't allowing the IMR to be read until
the ICW sequence was complete. This limitation isn't required so
relax the test.

With this change, Linux kernels 3.15-rc2 and later won't hang
on boot when calibrating the local APIC.

Reviewed by:	tychon
MFC after:	3 days
Remove a bogus AIC.

Reviewed by:	imp