···2627static unsigned int debug_quirks = 0;2800000029#define SDHCI_QUIRK_CLOCK_BEFORE_RESET (1<<0)030#define SDHCI_QUIRK_FORCE_DMA (1<<1)31/* Controller doesn't like some resets when there is no card inserted. */32#define SDHCI_QUIRK_NO_CARD_NO_RESET (1<<2)033#define SDHCI_QUIRK_SINGLE_POWER_WRITE (1<<3)034#define SDHCI_QUIRK_RESET_CMD_DATA_ON_IOS (1<<4)035#define SDHCI_QUIRK_BROKEN_DMA (1<<5)3637static const struct pci_device_id pci_ids[] __devinitdata = {
···2627static unsigned int debug_quirks = 0;2829+/*30+ * Different quirks to handle when the hardware deviates from a strict31+ * interpretation of the SDHCI specification.32+ */33+34+/* Controller doesn't honor resets unless we touch the clock register */35#define SDHCI_QUIRK_CLOCK_BEFORE_RESET (1<<0)36+/* Controller has bad caps bits, but really supports DMA */37#define SDHCI_QUIRK_FORCE_DMA (1<<1)38/* Controller doesn't like some resets when there is no card inserted. */39#define SDHCI_QUIRK_NO_CARD_NO_RESET (1<<2)40+/* Controller doesn't like clearing the power reg before a change */41#define SDHCI_QUIRK_SINGLE_POWER_WRITE (1<<3)42+/* Controller has flaky internal state so reset it on each ios change */43#define SDHCI_QUIRK_RESET_CMD_DATA_ON_IOS (1<<4)44+/* Controller has an unusable DMA engine */45#define SDHCI_QUIRK_BROKEN_DMA (1<<5)4647static const struct pci_device_id pci_ids[] __devinitdata = {