Identify PCI device classes
diff --git a/include/kernel/dri/pci/pci.h b/include/kernel/dri/pci/pci.h
index aa342c8..5791674 100644
--- a/include/kernel/dri/pci/pci.h
+++ b/include/kernel/dri/pci/pci.h
@@ -9,6 +9,15 @@
 	PCI_CONFIG_DATA = 0xCFC,
 };
 
+struct pci_device
+{
+	struct pci_vendor *vendor;
+	uchar class, subclass, prog_if;
+	ushort device_id;
+	bool valid;
+};
+
+// offset is in dwords
 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);
+struct pci_device pci_check_device(uchar bus, uchar slot, uchar func);
 void pci_print_devices();