From 685d7427a0543775cb0b92729b6c1da24ce03436 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Thu, 6 May 2021 04:09:42 +0000 Subject: enable dwmmc(4) --- sys/arch/riscv64/conf/GENERIC | 3 +++ sys/arch/riscv64/conf/RAMDISK | 5 ++++- sys/arch/riscv64/conf/files.riscv64 | 3 +-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/sys/arch/riscv64/conf/GENERIC b/sys/arch/riscv64/conf/GENERIC index 1aac99a6de9..bacf03af089 100644 --- a/sys/arch/riscv64/conf/GENERIC +++ b/sys/arch/riscv64/conf/GENERIC @@ -51,6 +51,9 @@ sfcc* at fdt? early 1 syscon* at fdt? early 1 gfrtc* at fdt? +dwmmc* at fdt? +sdmmc* at dwmmc? + scsibus* at scsi? sd* at scsibus? cd* at scsibus? diff --git a/sys/arch/riscv64/conf/RAMDISK b/sys/arch/riscv64/conf/RAMDISK index 6c9f1a2e7fb..b8b94ff2900 100644 --- a/sys/arch/riscv64/conf/RAMDISK +++ b/sys/arch/riscv64/conf/RAMDISK @@ -1,4 +1,4 @@ -# $OpenBSD: RAMDISK,v 1.7 2021/05/05 19:26:51 kettenis Exp $ +# $OpenBSD: RAMDISK,v 1.8 2021/05/06 04:09:41 jsg Exp $ # # GENERIC machine description file # @@ -70,6 +70,9 @@ sfcc* at fdt? early 1 syscon* at fdt? early 1 gfrtc* at fdt? +dwmmc* at fdt? +sdmmc* at dwmmc? + scsibus* at scsi? sd* at scsibus? cd* at scsibus? diff --git a/sys/arch/riscv64/conf/files.riscv64 b/sys/arch/riscv64/conf/files.riscv64 index f137da9c369..b2988a3534a 100644 --- a/sys/arch/riscv64/conf/files.riscv64 +++ b/sys/arch/riscv64/conf/files.riscv64 @@ -102,6 +102,7 @@ include "dev/i2c/files.i2c" # FDT now requires drm (which is part of pci) include "dev/mii/files.mii" include "dev/pci/files.pci" +include "dev/sdmmc/files.sdmmc" # FDT support include "dev/ofw/files.ofw" @@ -111,5 +112,3 @@ include "dev/fdt/files.fdt" # Machine-independent SCSI drivers include "scsi/files.scsi" - -# XXX ofwbus -- cgit v1.2.3