···26262727static unsigned int debug_quirks = 0;28282929+/*3030+ * Different quirks to handle when the hardware deviates from a strict3131+ * interpretation of the SDHCI specification.3232+ */3333+3434+/* Controller doesn't honor resets unless we touch the clock register */2935#define SDHCI_QUIRK_CLOCK_BEFORE_RESET (1<<0)3636+/* Controller has bad caps bits, but really supports DMA */3037#define SDHCI_QUIRK_FORCE_DMA (1<<1)3138/* Controller doesn't like some resets when there is no card inserted. */3239#define SDHCI_QUIRK_NO_CARD_NO_RESET (1<<2)4040+/* Controller doesn't like clearing the power reg before a change */3341#define SDHCI_QUIRK_SINGLE_POWER_WRITE (1<<3)4242+/* Controller has flaky internal state so reset it on each ios change */3443#define SDHCI_QUIRK_RESET_CMD_DATA_ON_IOS (1<<4)4444+/* Controller has an unusable DMA engine */3545#define SDHCI_QUIRK_BROKEN_DMA (1<<5)36463747static const struct pci_device_id pci_ids[] __devinitdata = {