blob: aa342c8081d9d4992f53b7f99f55de209d4c923c [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, ushort *v, ushort *d);
void pci_print_devices();