diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-08-15 13:21:03 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-08-15 13:21:03 +0000 |
commit | de2d2ad594ee08ea84bf772255792c07ca097578 (patch) | |
tree | 9925ba771bcdf7381a6431d79ed33d7fa321e1dd /sys | |
parent | 4c54178100e84e4ac91a2f7e327274a1606443d4 (diff) |
Print ddr52 and hs200 indicators if those modes are supported.
ok stsp@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sdmmc/sdmmc.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <uwe@openbsd.org> @@ -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"); |