freebsd-dev/sys
Kornel Duleba b38de28a77 mii_physubr: Add support for limiting PHY max speed
In some cases we might want to limit the max speed advertised below of what
the PHY is capable of.
This is usually the case when we connect 1G capable PHY to 100M MAC, or when
some exotic physical connection is used.
Add a new mii_maxspeed field to mii_softc and parse it in mii_phy_dev_attach.
Speed limit is normally located in DT.
The property is already parsed in mii_fdt.c, but its value still has to be
passed by the PHY driver.

Obtained from: Semihalf
Sponsored by: Alstom Group
Differential revision: https://reviews.freebsd.org/D32727
2021-11-24 07:40:35 +01:00
..
amd64 syscalls: regen 2021-11-22 22:36:57 +00:00
arm arm: Make machine/reg.h self-contained 2021-11-23 21:21:17 -07:00
arm64 arm64: Make machine/reg.h self contained 2021-11-23 21:21:17 -07:00
bsm
cam cam: Remove all the write-only variables 2021-11-23 21:21:18 -07:00
cddl Allow ddb and dtrace use the DMAP region on arm64 2021-10-01 11:27:33 +01:00
compat freebsd32: regen 2021-11-22 22:36:58 +00:00
conf ifnet: append if_debug.c to if.c 2021-11-22 19:49:57 -08:00
contrib zfs: Fix a deadlock between page busy and the teardown lock 2021-11-20 11:21:25 -05:00
crypto Add assembly optimized code for OpenSSL on powerpc, powerpc64 and powerpc64le 2021-11-23 23:26:53 +01:00
ddb Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
dev mii_physubr: Add support for limiting PHY max speed 2021-11-24 07:40:35 +01:00
dts add rk3328 overlay for enabling analog sound 2021-11-13 11:09:23 +02:00
fs ext2fs: check for eh_depth in ext4_ext_check_header() 2021-11-18 09:54:42 -08:00
gdb
geom GEOM: Switch g_io_deliver() locking from cp to pp. 2021-11-21 18:50:59 -05:00
gnu
i386 syscalls: regen 2021-11-22 22:36:57 +00:00
isa
kern freebsd32: generate from sys/kern/syscalls.master 2021-11-22 22:36:58 +00:00
kgssapi
libkern libkern: remove bcopy 2021-08-24 11:24:07 +00:00
mips Allow minidumps to be performed on the live system 2021-11-19 15:05:53 -04:00
modules Fix some modules to export more used symbols 2021-11-18 15:56:23 +02:00
net if_free: add a comment explaining why ifindex_free() is performed here 2021-11-22 19:59:27 -08:00
net80211 net80211: radiotap add another define 2021-11-18 14:59:04 +00:00
netgraph ng_bridge: count item allocation failures as memory failures 2021-11-23 10:05:36 -08:00
netinet cc_newreno(4): Fix a typo in a source code comment 2021-11-19 19:16:02 +01:00
netinet6 if_stf: add 6rd support 2021-11-20 19:29:01 +01:00
netipsec sctp: Remove now-unneeded mb_unmapped_to_ext() calls 2021-11-16 13:38:09 -05:00
netpfil pf: fix netpfil.common.dummynet:pf_nat test 2021-11-23 16:46:35 +01:00
netsmb
nfs kernel: partially revert e9efb1125a15, default inet mask 2021-11-14 14:12:25 -06:00
nfsclient
nfsserver
nlm
ofed socket: De-duplicate SBLOCKWAIT() definitions 2021-09-14 09:01:32 -04:00
opencrypto ktls: Split encrypt vs decrypt OCF counters. 2021-11-16 09:58:52 -08:00
powerpc powerpc: Make machine/reg.h self-contained 2021-11-23 21:21:18 -07:00
riscv riscv: Make machine/regs.h self-contained 2021-11-23 21:21:17 -07:00
rpc mbuf: Only allow extpg mbufs if the system has a direct map 2021-11-16 13:31:04 -05:00
security
sys sys/devctl.h: Only declare kernel functions in kernel. 2021-11-23 21:21:18 -07:00
teken
tests routing: add IPv6 fib validation procedure. 2021-08-16 23:04:01 +00:00
tools makesyscalls: strip _Contains_ argument annotations 2021-11-22 22:36:58 +00:00
ufs ffs_softdep: Fix a typo in a source code comment 2021-11-19 19:17:41 +01:00
vm minidump: Use the provided dump bitset 2021-11-19 15:05:52 -04:00
x86 minidump: Parameterize minidumpsys() 2021-11-19 15:05:52 -04:00
xdr
xen xen/privcmd: fix MMAP_RESOURCE ioctl to copy out results 2021-11-18 09:46:44 +01:00
Makefile