blob: fe766db504e37e20ade27c7744e4a3b932110742 [file] [log] [blame]
// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
/* Copyright 2016-2017 IBM Corp. */
#ifndef __PCI_QUIRK_H
#define __PCI_QUIRK_H
#include <pci.h>
#define PCI_ANY_ID 0xFFFF
struct pci_quirk {
uint16_t vendor_id;
uint16_t device_id;
void (*fixup)(struct phb *, struct pci_device *);
};
void pci_handle_quirk(struct phb *phb, struct pci_device *pd);
#endif /* __PCI_QUIRK_H */