summaryrefslogtreecommitdiff
path: root/src/common_init.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-01-19 18:37:43 +0100
committerJulien Cristau <jcristau@debian.org>2010-02-10 00:49:38 +0100
commitaf2be74979aeab9a2fc4c933462e97ce70f816b6 (patch)
tree5d1e3fd215e783fbaba73817f5a505c8e4f00d85 /src/common_init.c
parentebb3c6b69f4e8a844ff95d4e880dde9ede3de347 (diff)
downloadlibpciaccess-af2be74979aeab9a2fc4c933462e97ce70f816b6.tar.gz
libpciaccess-af2be74979aeab9a2fc4c933462e97ce70f816b6.tar.bz2
libpciaccess-af2be74979aeab9a2fc4c933462e97ce70f816b6.zip
libpciaccess x86 backend
This adds support on x86 for OSes that do not have a PCI interface, tinkering with I/O ports, and makes use of it on GNU/Hurd. Signed-off-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'src/common_init.c')
-rw-r--r--src/common_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common_init.c b/src/common_init.c
index 6b9b936..89c56ad 100644
--- a/src/common_init.c
+++ b/src/common_init.c
@@ -62,6 +62,8 @@ pci_system_init( void )
err = pci_system_openbsd_create();
#elif defined(__sun)
err = pci_system_solx_devfs_create();
+#elif defined(__GNU__)
+ err = pci_system_x86_create();
#endif
return err;