Skip to content

Instantly share code, notes, and snippets.

Created August 7, 2012 13:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3285238 to your computer and use it in GitHub Desktop.
Save anonymous/3285238 to your computer and use it in GitHub Desktop.
sdhc(4): disable dma transfer for RICOH 5C822
diff --git a/sys/dev/pci/sdhc_pci.c b/sys/dev/pci/sdhc_pci.c
index 747e636..e5e86e9 100644
--- a/sys/dev/pci/sdhc_pci.c
+++ b/sys/dev/pci/sdhc_pci.c
@@ -119,7 +119,7 @@ static const struct sdhc_pci_quirk {
0,
SDHC_PCI_QUIRK_RICOH_LOWER_FREQ_HACK
},
-
+/*
{
PCI_VENDOR_RICOH,
PCI_PRODUCT_RICOH_Rx5C822,
@@ -128,7 +128,7 @@ static const struct sdhc_pci_quirk {
~0,
SDHC_PCI_QUIRK_FORCE_DMA
},
-
+*/
{
PCI_VENDOR_RICOH,
PCI_PRODUCT_RICOH_Rx5U822,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment