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