diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2008-06-28 12:21:41 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-07-15 08:14:44 -0400 |
commit | 93fc48c785f6266e67663b3cbbf24579b53fe5cf (patch) | |
tree | 871bb09951a640946da527afe73e9253732e177b /drivers/mmc | |
parent | 0121a9829bf28c65e1a05cc881899c10d82b8de2 (diff) |
sdhci-pci: don't penalize newer jmicron chips
The upcoming JMicron chips will have solved all the currently known
bugs, so don't penalize them for older problems.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-pci.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index c0fbf48d9b45..0716dcffd511 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c | |||
@@ -139,6 +139,12 @@ static int jmicron_probe(struct sdhci_pci_chip *chip) | |||
139 | { | 139 | { |
140 | int ret; | 140 | int ret; |
141 | 141 | ||
142 | if (chip->pdev->revision == 0) { | ||
143 | chip->quirks |= SDHCI_QUIRK_32BIT_DMA_ADDR | | ||
144 | SDHCI_QUIRK_32BIT_DMA_SIZE | | ||
145 | SDHCI_QUIRK_RESET_AFTER_REQUEST; | ||
146 | } | ||
147 | |||
142 | /* | 148 | /* |
143 | * JMicron chips can have two interfaces to the same hardware | 149 | * JMicron chips can have two interfaces to the same hardware |
144 | * in order to work around limitations in Microsoft's driver. | 150 | * in order to work around limitations in Microsoft's driver. |
@@ -250,10 +256,6 @@ static int jmicron_resume(struct sdhci_pci_chip *chip) | |||
250 | } | 256 | } |
251 | 257 | ||
252 | static const struct sdhci_pci_fixes sdhci_jmicron = { | 258 | static const struct sdhci_pci_fixes sdhci_jmicron = { |
253 | .quirks = SDHCI_QUIRK_32BIT_DMA_ADDR | | ||
254 | SDHCI_QUIRK_32BIT_DMA_SIZE | | ||
255 | SDHCI_QUIRK_RESET_AFTER_REQUEST, | ||
256 | |||
257 | .probe = jmicron_probe, | 259 | .probe = jmicron_probe, |
258 | 260 | ||
259 | .probe_slot = jmicron_probe_slot, | 261 | .probe_slot = jmicron_probe_slot, |