From de2d2ad594ee08ea84bf772255792c07ca097578 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 15 Aug 2020 13:21:03 +0000 Subject: Print ddr52 and hs200 indicators if those modes are supported. ok stsp@ --- sys/dev/sdmmc/sdmmc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/dev/sdmmc/sdmmc.c b/sys/dev/sdmmc/sdmmc.c index 2e6d7d93854..ac111711396 100644 --- a/sys/dev/sdmmc/sdmmc.c +++ b/sys/dev/sdmmc/sdmmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdmmc.c,v 1.56 2020/07/24 12:43:32 krw Exp $ */ +/* $OpenBSD: sdmmc.c,v 1.57 2020/08/15 13:21:02 kettenis Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler @@ -113,6 +113,10 @@ sdmmc_attach(struct device *parent, struct device *self, void *aux) printf(", sd high-speed"); if (ISSET(saa->caps, SMC_CAPS_MMC_HIGHSPEED)) printf(", mmc high-speed"); + if (ISSET(saa->caps, SMC_CAPS_MMC_DDR52)) + printf(", ddr52"); + if (ISSET(saa->caps, SMC_CAPS_MMC_HS200)) + printf(", hs200"); if (ISSET(saa->caps, SMC_CAPS_DMA)) printf(", dma"); printf("\n"); -- cgit v1.2.3