opnsense-src/sys
Ed Maste 9130e0ace0 mgb: sync with version in main
This is a combination of 7 commits.

mgb: update Microchip URLs

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 6b25b4a73f)

mgb: enable multicast in mgb_init

Receive Filtering Engine (RFE) configuration is not yet implemented,
and mgb intended to enable all broadcast, multicast, and unicast.
However, MGB_RFE_ALLOW_MULTICAST was missed (MGB_RFE_ALLOW_UNICAST was
included twice).

MFC after:	1 week
Fixes:		8890ab7758 ("Introduce if_mgb driver...")
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit ecac5c2928)

mgb: Do not KASSERT on error in mgb_init

There's not much we can do if mii_mediachg() fails, but KASSERT is not
appropriate.

MFC after:	1 week
Fixes:		8890ab7758 ("Introduce if_mgb driver...")
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 8b889b8953)

mgb: Staticize devclass and iflib structs (as is typical)

MFC after:	1 week
Fixes:		8890ab7758 ("Introduce if_mgb driver...")
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit c83ae596f3)

mgb: Apply some style(9)

Add parens around return values, rewrap lines

MFC after:	1 week
Fixes:		8890ab7758 ("Introduce if_mgb driver...")
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 820da5820e)

mgb: Fix DEBUG (and LINT) build

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 5f07d7fe40)

mgb: Fix nop admin interrupt handling

Previously mgb_admin_intr printed a diagnostic message if no interrupt
status bits were set, but it's not valid to call device_printf() from a
filter.  Just drop the message as it has no user-facing value.

Also return FILTER_STRAY in this case - there is nothing further for
the driver to do.

Reviewed by:	kbowling
MFC after:	1 week
Fixes:		8890ab7758 ("Introduce if_mgb driver...")
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D32231

(cherry picked from commit 1ad2d87778)
2021-10-05 14:57:21 -04:00
..
amd64 amd64 wakeup: rework trampoline page allocation 2021-09-20 03:47:21 +03:00
arm bcm2835_sdhci: don't use DMA for kernel dumps 2021-09-28 11:21:38 -03:00
arm64 Restrict spsr updated in the arm64 set_regs* 2021-09-27 10:55:27 +01:00
bsm
cam cam: Avoiding waking up doneq threads if we're dumping 2021-10-02 11:28:07 -04:00
cddl kern: drop remaining references to removed makesyscalls.sh 2021-09-14 20:53:03 -05:00
compat freebsd32: Fix a double copyin in sendmsg() and recvmsg() 2021-09-26 11:55:05 -04:00
conf e1000: remove duplicated phy codes 2021-09-23 18:21:34 -07:00
contrib ipfilter: Print the correct TCP sequence index number 2021-10-03 20:56:58 -07:00
crypto crypto(4): Fix a few typos in camellia.c 2021-09-07 09:23:33 +02:00
ddb ddb: reliably fail with ambiguous commands 2021-07-02 14:13:24 -07:00
dev mgb: sync with version in main 2021-10-05 14:57:21 -04:00
dts arm: allwinner: dtb: Add overlays to disable SD/MMC node 2021-07-22 19:29:21 +02:00
fs nfscl: Add vfs.nfs.maxalloclen to limit Allocate RPC RTT 2021-10-03 15:58:59 -07:00
gdb
geom g_label: Handle small sector sizes when tasting 2021-09-14 08:50:09 -04:00
gnu
i386 x86: duplicate acpi_wakeup.c per i386 and amd64 2021-09-20 03:47:21 +03:00
isa
kern sched_ule(4): Fix interactive threads stealing. 2021-10-04 22:28:33 -04:00
kgssapi
libkern Switch to an ifunc in the kernel for crc32c 2021-08-30 12:22:21 +01:00
mips Fix a common typo in source code comments 2021-09-07 09:24:05 +02:00
modules e1000: remove duplicated phy codes 2021-09-23 18:21:34 -07:00
net netmap: monitor: add a flag to distinguish packet direction 2021-09-26 14:00:04 +00:00
net80211 net80211/LinuxKPI: add more radiotap definitions 2021-07-18 00:35:03 +00:00
netgraph ng_ether: Create netgraph nodes for bridge interfaces. 2021-10-02 20:51:14 +09:00
netinet [fib_algo][dxr] Split unused range chunk list in multiple buckets 2021-09-29 22:40:56 +02:00
netinet6 nd6: Make the DAD callout MPSAFE 2021-09-21 09:37:52 -04:00
netipsec netipsec/key.c: Use ANSI C definition for key_random() 2021-08-13 12:34:42 +03:00
netpfil pf: fix pagefault in pf_getstatus() 2021-09-30 13:51:32 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed socket: De-duplicate SBLOCKWAIT() definitions 2021-09-21 09:37:21 -04:00
opencrypto opencrypto: Disallow requests which pass VERIFY_DIGEST without a MAC 2021-10-01 10:08:30 -04:00
powerpc Add pmap_vm_page_alloc_check() 2021-08-24 02:21:13 +03:00
riscv sifive_spi: Add missing case for SPIBUS_MODE_NONE 2021-09-07 13:08:20 +01:00
rpc rpc: Convert an SOLISTENING check to an assertion 2021-09-24 09:01:07 -04:00
security mac: cheaper check for ifnet_create_mbuf and ifnet_check_transmit 2021-07-05 11:32:14 +00:00
sys Re-implement virtual console (constty). 2021-10-03 21:15:02 -04:00
teken
tests routing: add IPv6 fib validation procedure. 2021-09-07 21:02:58 +00:00
tools makesyscalls: sprinkle some assert() on standard function calls 2021-10-03 00:14:56 -05:00
ufs Eliminate snaplk / bufwait LOR when creating UFS snapshots 2021-09-27 20:13:38 -07:00
vm uma: Show the count of free slabs in each per-domain keg's sysctl tree 2021-09-24 09:01:22 -04:00
x86 x86 bounce_bus_dmamem_alloc(): use malloc_aligned() only when possible 2021-10-01 03:32:24 +03:00
xdr
xen
Makefile