diff options
| author | jakllsch <jakllsch@NetBSD.org> | 2012-07-12 17:37:24 +0000 |
|---|---|---|
| committer | jakllsch <jakllsch@NetBSD.org> | 2012-07-12 17:37:24 +0000 |
| commit | 02c8395da66ed486b6ecc72eebd835e69ac04122 (patch) | |
| tree | 8411511ceafa64fff7a2d537267baaad58bab49a /sys/dev | |
| parent | 7fa4f4c534bbda21ba0187e8a75adfbcce2a07e2 (diff) | |
Ricoh R5C822 has working DMA, but does not advertise support for it, use force.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/sdhc_pci.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/dev/pci/sdhc_pci.c b/sys/dev/pci/sdhc_pci.c index 9629fe27435..53b94415044 100644 --- a/sys/dev/pci/sdhc_pci.c +++ b/sys/dev/pci/sdhc_pci.c @@ -1,4 +1,4 @@ -/* $NetBSD: sdhc_pci.c,v 1.7 2012/03/02 18:20:33 nonaka Exp $ */ +/* $NetBSD: sdhc_pci.c,v 1.8 2012/07/12 17:37:24 jakllsch Exp $ */ /* $OpenBSD: sdhc_pci.c,v 1.7 2007/10/30 18:13:45 chl Exp $ */ /* @@ -18,7 +18,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sdhc_pci.c,v 1.7 2012/03/02 18:20:33 nonaka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sdhc_pci.c,v 1.8 2012/07/12 17:37:24 jakllsch Exp $"); #ifdef _KERNEL_OPT #include "opt_sdmmc.h" @@ -119,6 +119,15 @@ static const struct sdhc_pci_quirk { 0, SDHC_PCI_QUIRK_RICOH_LOWER_FREQ_HACK }, + + { + PCI_VENDOR_RICOH, + PCI_PRODUCT_RICOH_Rx5C822, + 0xffff, + 0xffff, + ~0, + SDHC_PCI_QUIRK_FORCE_DMA + }, }; static void sdhc_pci_quirk_ti_hack(struct pci_attach_args *); |
