Messages in this thread | | | Subject | Re: [PATCH] ipmi:pci: Blacklist a Realtek "IPMI" device | From | Corey Minyard <> | Date | Mon, 26 Feb 2018 08:48:07 -0600 |
| |
On 02/26/2018 08:34 AM, Andy Shevchenko wrote: > On Mon, Feb 26, 2018 at 4:50 AM, <minyard@acm.org> wrote: > >> Realtek has some sort of "Virtual" IPMI device on the PCI bus as a >> KCS controller, but whatever it is, it's not one. Ignore it if seen. >> +static struct 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_DEVICE(PCI_VENDOR_ID_REALTEK, 0x816c) }, >> + { 0, } > { PCI_VDEVICE(REALTEK, 0x816c) }, > { } > > ?
That's better, thanks.
-corey
> >> +}; >> + if (pci_match_id(ipmi_pci_blacklist, pdev)) >> + return -ENODEV; >
| |