Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144631906
D49400.1775896723.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
778 B
Referenced Files
None
Subscribers
None
D49400.1775896723.diff
View Options
diff --git a/sys/dev/mmc/host/dwmmc_rockchip.c b/sys/dev/mmc/host/dwmmc_rockchip.c
--- a/sys/dev/mmc/host/dwmmc_rockchip.c
+++ b/sys/dev/mmc/host/dwmmc_rockchip.c
@@ -78,6 +78,7 @@
{
struct dwmmc_softc *sc;
int type;
+ int rc;
sc = device_get_softc(dev);
sc->hwtype = HWTYPE_ROCKCHIP;
@@ -90,8 +91,17 @@
}
sc->update_ios = &dwmmc_rockchip_update_ios;
+ rc = dwmmc_attach(dev);
- return (dwmmc_attach(dev));
+ /*
+ * Note: It's not that the controller doesn't support HS200,
+ * it's that FreeBSD doesn't support tuning.
+ * If someone implemented tuning, this could work.
+ */
+ device_printf(dev, "Disabling HS200+ (tuning code not written)\n");
+ sc->host.caps &= ~(MMC_CAP_MMC_HS200 | MMC_CAP_MMC_HS400);
+
+ return (rc);
}
static int
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 11, 8:38 AM (12 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28322716
Default Alt Text
D49400.1775896723.diff (778 B)
Attached To
Mode
D49400: Disable HS200 in attach
Attached
Detach File
Event Timeline
Log In to Comment