blob: 75262d3ec25d4d5a32767a4c04bfd541965d5ac9 [file] [log] [blame]
#pragma once
#include <kint.h>
#include <dri/pci/vendors.h>
enum
{
PCI_CONFIG_ADDRESS = 0xCF8,
PCI_CONFIG_DATA = 0xCFC,
};
uint pci_config_readd(uchar bus, uchar slot, uchar func, uchar offset);
struct pci_vendor *pci_check_vendor(uchar bus, uchar slot, uchar func, uint *v);