|
@@ -610,6 +610,18 @@ static const struct sdhci_pci_fixes sdhci_via = {
|
|
|
.probe = via_probe,
|
|
|
};
|
|
|
|
|
|
+static int rtsx_probe_slot(struct sdhci_pci_slot *slot)
|
|
|
+{
|
|
|
+ slot->host->mmc->caps2 |= MMC_CAP2_HS200;
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+
|
|
|
+static const struct sdhci_pci_fixes sdhci_rtsx = {
|
|
|
+ .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
|
|
|
+ SDHCI_QUIRK2_BROKEN_DDR50,
|
|
|
+ .probe_slot = rtsx_probe_slot,
|
|
|
+};
|
|
|
+
|
|
|
static const struct pci_device_id pci_ids[] = {
|
|
|
{
|
|
|
.vendor = PCI_VENDOR_ID_RICOH,
|
|
@@ -731,6 +743,14 @@ static const struct pci_device_id pci_ids[] = {
|
|
|
.driver_data = (kernel_ulong_t)&sdhci_via,
|
|
|
},
|
|
|
|
|
|
+ {
|
|
|
+ .vendor = PCI_VENDOR_ID_REALTEK,
|
|
|
+ .device = 0x5250,
|
|
|
+ .subvendor = PCI_ANY_ID,
|
|
|
+ .subdevice = PCI_ANY_ID,
|
|
|
+ .driver_data = (kernel_ulong_t)&sdhci_rtsx,
|
|
|
+ },
|
|
|
+
|
|
|
{
|
|
|
.vendor = PCI_VENDOR_ID_INTEL,
|
|
|
.device = PCI_DEVICE_ID_INTEL_MRST_SD0,
|