summaryrefslogtreecommitdiff
path: root/sys/arch/riscv64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2023-07-08 08:18:31 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2023-07-08 08:18:31 +0000
commit51b5dcfcb1e7afada856b6a06df9262f43c9b7c1 (patch)
tree971db99a853e32735d4a01fa7b7fe28add942bc9 /sys/arch/riscv64
parenta3626dccdd8c8decc93fd50b98915a1740e1070d (diff)
Add support for the Motorcomm YT8521/YT8531 PHYs. Since these PHYs may
need various board-dependent tweaks, pass the device tree node down to the PHY driver such that we can look at various properties to make the necessary tweaks. Enable ytphy(4) on riscv64. ok jsing@, patrick@
Diffstat (limited to 'sys/arch/riscv64')
-rw-r--r--sys/arch/riscv64/conf/GENERIC25
-rw-r--r--sys/arch/riscv64/conf/RAMDISK3
2 files changed, 15 insertions, 13 deletions
diff --git a/sys/arch/riscv64/conf/GENERIC b/sys/arch/riscv64/conf/GENERIC
index acf00b84a25..15a9abfef67 100644
--- a/sys/arch/riscv64/conf/GENERIC
+++ b/sys/arch/riscv64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.43 2023/07/04 13:04:08 kettenis Exp $
+# $OpenBSD: GENERIC,v 1.44 2023/07/08 08:18:30 kettenis Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -256,17 +256,18 @@ udl* at uhub? # DisplayLink USB displays
wsdisplay* at udl?
bwfm* at uhub? # Broadcom FullMAC
-acphy* at mii? # Altima AC101 PHYs
-amphy* at mii? # AMD 79C873 PHYs
-atphy* at mii? # Attansic F1 PHYs
-bmtphy* at mii? # Broadcom 10/100 PHYs
-brgphy* at mii? # Broadcom Gigabit PHYs
-eephy* at mii? # Marvell 88E1000 series PHY
-rgephy* at mii? # Realtek 8169S/8110S PHY
-rlphy* at mii? # Realtek 8139 internal PHYs
-sqphy* at mii? # Seeq 8x220 PHYs
-ukphy* at mii? # "unknown" PHYs
-urlphy* at mii? # Realtek RTL8150L internal PHY
+acphy* at mii? # Altima AC101 PHYs
+amphy* at mii? # AMD 79C873 PHYs
+atphy* at mii? # Attansic F1 PHYs
+bmtphy* at mii? # Broadcom 10/100 PHYs
+brgphy* at mii? # Broadcom Gigabit PHYs
+eephy* at mii? # Marvell 88E1000 series PHY
+rgephy* at mii? # Realtek 8169S/8110S PHY
+rlphy* at mii? # Realtek 8139 internal PHYs
+sqphy* at mii? # Seeq 8x220 PHYs
+ukphy* at mii? # "unknown" PHYs
+urlphy* at mii? # Realtek RTL8150L internal PHY
+ytphy* at mii? # MotorComm YT8511 PHY
# Pseudo-Devices
pseudo-device openprom
diff --git a/sys/arch/riscv64/conf/RAMDISK b/sys/arch/riscv64/conf/RAMDISK
index 45bc8983aa0..955be7f7d7b 100644
--- a/sys/arch/riscv64/conf/RAMDISK
+++ b/sys/arch/riscv64/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.37 2023/07/04 13:04:08 kettenis Exp $
+# $OpenBSD: RAMDISK,v 1.38 2023/07/08 08:18:30 kettenis Exp $
machine riscv64
maxusers 4
@@ -167,6 +167,7 @@ rlphy* at mii? # Realtek 8139 internal PHYs
sqphy* at mii? # Seeq 8x220 PHYs
ukphy* at mii? # "unknown" PHYs
urlphy* at mii? # Realtek RTL8150L internal PHY
+ytphy* at mii? # MotorComm YT8511 PHY
pseudo-device loop 1
pseudo-device vlan