diff options
author | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:30 -0500 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:30 -0500 |
commit | 8c1612d32c5682a86216adb8c8d11ce715fe5475 (patch) | |
tree | 2a51954d577955c8ad19e517e4c7b6b8972982e4 /pci.h | |
parent | 0864b0a8e6f0b0983c3536931cfbad1414137d6b (diff) |
Import Upstream version 0.3.6
Diffstat (limited to 'pci.h')
-rw-r--r-- | pci.h | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -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 |