opnsense-src/sys/arm
Mitchell Horne 1da82ebe49 if_dwc: recognize additional rgmii phy-modes
Per the reports, some Allwinner device trees now list the desired
phy-mode as "rgmii-id". The manual string comparison fails to detect
this, and we end up falling back to MII mode. Instead, select the clock
name using the sc->phy_mode variable, which is set in the main attach
function.

The logic to actually handle rgmii-id mode delays will be added to the
relevant PHY driver.

PR:		261355, 264673
Reported by:	Maren <marentoy@protonmail.com>
Reported by:	Arie Bikker <src-2016@bikker.homeunix.net>
Reviewed by:	manu
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D35500

(cherry picked from commit 3428997cb3)
2022-07-04 13:34:56 -03:00
..
allwinner if_dwc: recognize additional rgmii phy-modes 2022-07-04 13:34:56 -03:00
altera/socfpga arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
annapurna/alpine Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
arm liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code 2022-07-04 13:17:24 +03:00
broadcom/bcm2835 Fix an indentation bug in the bcm pci driver 2022-06-07 15:20:19 +01:00
cloudabi32 Add infrastructure required for Linux coredump support 2022-05-12 15:12:59 -07:00
conf Add the extres pseudo devices to some kernels. 2022-05-17 14:15:44 -07:00
freescale vf_i2c: Make ext_resources non-optional 2022-05-16 13:45:38 +02:00
include Create sys/reg.h for the common code previously in machine/reg.h 2022-05-12 15:12:59 -07:00
linux linux(4): Regen for clone syscall. 2022-06-17 22:33:29 +03:00
mv mvebu_gpio: Fix settings of gpio pin direction. 2022-01-20 11:22:30 +01:00
nvidia tegra: Fix a typo in a source code comment 2022-06-10 14:30:59 +02:00
qemu arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00
rockchip Add support for RK3288 SoC. 2020-12-04 16:24:44 +00:00
ti am335x: Fix a typo in a source code comment 2022-06-10 14:26:26 +02:00
versatile Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
xilinx arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00