From 8c1612d32c5682a86216adb8c8d11ce715fe5475 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Mon, 19 Jun 2017 14:38:30 -0500 Subject: Import Upstream version 0.3.6 --- pci.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pci.h (limited to 'pci.h') diff --git a/pci.h b/pci.h new file mode 100644 index 00000000..635443ff --- /dev/null +++ b/pci.h @@ -0,0 +1,31 @@ +#ifndef __PCI_H__ +#define __PCI_H__ + +typedef struct _PCIDevice PCIDevice; + +struct _PCIDevice { + gchar *name; + gchar *category; + + gint irq; + guint io_addr; + guint io_addr_end; + + gulong memory; + + gint bus; + gint device; + gint function; + + gint latency; + gint freq; + + gboolean bus_master; + + PCIDevice *next; +}; + +void hi_show_pci_info(MainWindow *mainwindow, PCIDevice *device); +PCIDevice *hi_scan_pci(void); + +#endif -- cgit v1.2.3