static unsigned int debug_nodma = 0;
static unsigned int debug_forcedma = 0;
+static unsigned int debug_quirks = 0;
static const struct pci_device_id pci_ids[] __devinitdata = {
/* handle any SD host controller */
}
chip->pdev = pdev;
+ chip->quirks = ent->driver_data;
+
+ if (debug_quirks)
+ chip->quirks = debug_quirks;
chip->num_slots = slots;
pci_set_drvdata(pdev, chip);
module_param(debug_nodma, uint, 0444);
module_param(debug_forcedma, uint, 0444);
+module_param(debug_quirks, uint, 0444);
MODULE_AUTHOR("Pierre Ossman <drzeus@drzeus.cx>");
MODULE_DESCRIPTION("Secure Digital Host Controller Interface driver");
MODULE_PARM_DESC(debug_nodma, "Forcefully disable DMA transfers. (default 0)");
MODULE_PARM_DESC(debug_forcedma, "Forcefully enable DMA transfers. (default 0)");
+MODULE_PARM_DESC(debug_quirks, "Force certain quirks.");