aboutsummaryrefslogtreecommitdiff
path: root/pci.h
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@linuxmag.com.br>2004-06-14 21:33:25 -0300
committerSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:31 -0500
commit7d65a12d6431f72e601ea1d0c3ef5d09af8bfb96 (patch)
tree7ad1761adce3212a13e5342a54865e31b917f18b /pci.h
parent0864b0a8e6f0b0983c3536931cfbad1414137d6b (diff)
parent8c1612d32c5682a86216adb8c8d11ce715fe5475 (diff)
Import Debian changes 0.3.6-5
hardinfo (0.3.6-5) unstable; urgency=high * Add Amd64 support (closes: #253935). Thanks to Kurt Roeckx <Q@ping.be> * Close duplicate "doesn't work with newer pciutils" bug (closes: #254018). hardinfo (0.3.6-4) unstable; urgency=high * Fixed segfault on startup (closes: #242843). Thanks to Remco van de Meent <remco@debian.org> hardinfo (0.3.6-3) unstable; urgency=high * Added Debian menu entry icon. * Fixed some misc packaging bugs. * Changed package description. hardinfo (0.3.6-2) unstable; urgency=low * Sync with upstream sources. * Disabled "Network" tab. hardinfo (0.3.6-1) unstable; urgency=high * Sync with upstream sources. hardinfo (0.3.5-1) unstable; urgency=high * Sync with upstream sources. hardinfo (0.3.4-1) unstable; urgency=high * Sync with upstream sources. hardinfo (0.3.3-1) unstable; urgency=low * Sync with upstream sources. hardinfo (0.3.2-1) unstable; urgency=low * Sync with upstream sources. hardinfo (0.3.1-1) unstable; urgency=low * Sync with upstream sources. hardinfo (0.3-1) unstable; urgency=low * Initial Release.
Diffstat (limited to 'pci.h')
-rw-r--r--pci.h31
1 files changed, 31 insertions, 0 deletions
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