module_param_named(trypci, si_trypci, bool, 0);
MODULE_PARM_DESC(trypci, "Setting this to zero will disable the default scan of the interfaces identified via pci");
#define PCI_DEVICE_ID_HP_MMC 0x121A
staticint ipmi_pci_probe_regspacing(struct si_sm_io *io)
{ unsignedchar status; int regspacing;
if (io->si_info->type != SI_KCS) return DEFAULT_REGSPACING;
io->regsize = DEFAULT_REGSIZE;
io->regshift = 0;
/* detect 1, 4, 16byte spacing */ for (regspacing = DEFAULT_REGSPACING; regspacing <= 16;) {
io->regspacing = regspacing; if (io->io_setup(io)) {
dev_err(io->dev, "Could not setup I/O space\n"); return DEFAULT_REGSPACING;
} /* write invalid cmd */
io->outputb(io, 1, 0x10); /* read status back */
status = io->inputb(io, 1);
io->io_cleanup(io); if (status) return regspacing;
regspacing *= 4;
}
return DEFAULT_REGSPACING;
}
staticstruct pci_device_id ipmi_pci_blacklist[] = { /* * This is a "Virtual IPMI device", whatever that is. It appears * as a KCS device by the class, but it is not one.
*/
{ PCI_VDEVICE(REALTEK, 0x816c) },
{ 0, }
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.