diff --git a/sys/dev/sdhci/sdhci.c b/sys/dev/sdhci/sdhci.c --- a/sys/dev/sdhci/sdhci.c +++ b/sys/dev/sdhci/sdhci.c @@ -1141,6 +1141,11 @@ SDHCI_CARD_PRESENT_TICKS, sdhci_card_poll, slot); } + SYSCTL_ADD_UINT(device_get_sysctl_ctx(slot->bus), + SYSCTL_CHILDREN(device_get_sysctl_tree(slot->bus)), OID_AUTO, + "quirks", CTLFLAG_RD, &slot->quirks, 0, + "Slot quirks"); + sdhci_init(slot); snprintf(node_name, sizeof(node_name), "slot%d", slot->num);