summaryrefslogtreecommitdiff
path: root/src/common_init.c
Commit message (Collapse)AuthorAgeFilesLines
* Solaris: Add domain support for sparc platformbaserock/morphHenry Zhao2013-01-151-8/+0
| | | | | | | | As a result the code of finding nexus node for a device in sparc is simplified and made the same as x86. Signed-off-by: Henry Zhao <henry.zhao@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libpciaccess: fix memory usage errorsMark Logan2012-10-121-1/+8
| | | | | | | | | | | This patch fixes memory usage errors that only occur on large SPARC machines with more than 256 PCI devices. In this case, memory is being used after it has been freed by calls to both free() and realloc(). This error was introduced by a previous patch: 2011-03-30 Solaris support for multiple PCI segments (domains) Signed-off-by: Mark Logan <mark.logan@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Strip trailing whitespaceAlan Coopersmith2011-09-161-6/+6
| | | | | | | Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libpciaccess x86 backendSamuel Thibault2010-02-101-0/+2
| | | | | | | 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>
* I/O port access routinesAdam Jackson2009-12-091-0/+1
| | | | | | Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> Acked-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
* Add NetBSD supportJuan RP2008-10-111-0/+2
| | | | | | | | It's based in the OpenBSD code, but with differences because on NetBSD, to set MTRRs we have to use i386/x86_64_set_mtrr() and link to libi386 or libx86_64. X.Org bug#17931 <http://bugs.freedesktop.org/show_bug.cgi?id=17931>
* Add support for GNU/kFreeBSDPetr Salinger2008-10-111-1/+1
| | | | | | | We need to initialize the FreeBSD backend on GNU/kFreeBSD and detect whether pci_io.pi_sel.pc_domain member exists. X.Org bug#17882 <http://bugs.freedesktop.org/show_bug.cgi?id=17882>
* Add DragonFly BSD supportHasso Tepper2008-04-071-1/+1
| | | | DragonFly behaves exactly like FreeBSD, so no problem here.
* OpenBSD support for libpciaccess.Mark Kettenis2008-03-121-1/+10
| | | | | | | | xserver and libpciaccess both need to open /dev/xf86, which can only be opened once. I implemented pci_system_init_dev_mem() like Ian suggested. This requires some minor changes to the BSD-specific os-support code. Since pci_system_init_dev_mem() is a no-op on FreeBSD this should be no problem.
* Don't export private symbols.Julien Cristau2008-02-271-1/+1
|
* Libpciaccess on Solaris Initial integrationedward shu2007-06-061-0/+2
| | | | | Libpciaccess on Solaris Initial integration. It depends on devfs to access pci configuration space, also xsvc is used for memory map.
* Fix many warnings and bugs in the freebsd implementation.Eric Anholt2007-01-121-2/+0
| | | | With this, scanpci gives partially-sane results.
* Add the beginnings of a FreeBSD port.Eric Anholt2006-11-141-0/+2
|
* Initial import of libpciaccess.Ian Romanick2006-03-181-0/+111