platform/upstream/libpciaccess.git
17 years agoEnable more warnings when the compiler is GCC.
Eric Anholt [Fri, 12 Jan 2007 21:11:21 +0000 (13:11 -0800)]
Enable more warnings when the compiler is GCC.

17 years agoAdd pciaccess_private.h to _SOURCES so it gets included in the dist.
Eric Anholt [Fri, 12 Jan 2007 21:06:50 +0000 (13:06 -0800)]
Add pciaccess_private.h to _SOURCES so it gets included in the dist.

17 years agoAdd interfaces to map / unmap specific memory ranges, bump lib version to 0.7.0.
Ian Romanick [Fri, 12 Jan 2007 05:40:57 +0000 (21:40 -0800)]
Add interfaces to map / unmap specific memory ranges, bump lib version to 0.7.0.

Add pci_device_map_memory_range and pci_device_unmap_memory_range to
map and unmap specific memory ranges.  The unmap bit is still a bit
hinkey (unmaps the whole BAR).  Works so far for initial conversion of
VESA driver.  Will need to be revisited.

17 years agoFix bad cast that caused bit truncation.
Ian Romanick [Fri, 12 Jan 2007 05:39:15 +0000 (21:39 -0800)]
Fix bad cast that caused bit truncation.

17 years agoUpdate .gitignores.
Eric Anholt [Tue, 14 Nov 2006 22:38:48 +0000 (14:38 -0800)]
Update .gitignores.

17 years agoAdd missing newline at the end of the file.
Eric Anholt [Tue, 14 Nov 2006 22:37:53 +0000 (14:37 -0800)]
Add missing newline at the end of the file.

17 years agoMerge branch 'origin'
Eric Anholt [Tue, 14 Nov 2006 22:37:46 +0000 (14:37 -0800)]
Merge branch 'origin'

Conflicts:

src/Makefile.am

17 years agoAdd the beginnings of a FreeBSD port.
Eric Anholt [Sun, 30 Jul 2006 23:19:50 +0000 (16:19 -0700)]
Add the beginnings of a FreeBSD port.

17 years agoFix a segfault in populate_vendor that was triggered when the pci.ids file
Ian Romanick [Thu, 10 Aug 2006 16:46:07 +0000 (09:46 -0700)]
Fix a segfault in populate_vendor that was triggered when the pci.ids file
could not be opened.  Thanks to Aaron Plattner for reporting this.  Fix a
couple possible memory leaks in the same function.

17 years agoAdded some function preamble comments.
Ian Romanick [Sun, 30 Jul 2006 22:35:41 +0000 (15:35 -0700)]
Added some function preamble comments.

17 years agoAdd endian macros for BSD.
Eric Anholt [Sun, 30 Jul 2006 21:29:58 +0000 (14:29 -0700)]
Add endian macros for BSD.

17 years agoUse ENXIO instead of ENODATA for pci reads returning less than desired.
Eric Anholt [Sun, 30 Jul 2006 21:26:38 +0000 (14:26 -0700)]
Use ENXIO instead of ENODATA for pci reads returning less than desired.

17 years agoAdd pci_device_get_bridge_buses, bump API version to 0.5.0.
Ian Romanick [Tue, 25 Jul 2006 22:36:52 +0000 (15:36 -0700)]
Add pci_device_get_bridge_buses, bump API version to 0.5.0.

18 years agoFiles missed (for reasons I still don't understand) on the previous
Ian Romanick [Fri, 7 Jul 2006 00:18:14 +0000 (17:18 -0700)]
Files missed (for reasons I still don't understand) on the previous
commit.  REALLY add support for querying bridge information.  Bump to
version 0.5.0.

18 years agoAdd support for querying bridge information. Bump to version 0.5.0.
Ian Romanick [Fri, 7 Jul 2006 00:09:47 +0000 (17:09 -0700)]
Add support for querying bridge information.  Bump to version 0.5.0.

18 years agoFix byte ordering of the PCI class.
Ian Romanick [Fri, 7 Jul 2006 00:07:18 +0000 (17:07 -0700)]
Fix byte ordering of the PCI class.

18 years agoFix foolish endianess bug. Bump to version 0.4.1.
Ian Romanick [Mon, 22 May 2006 16:10:37 +0000 (16:10 +0000)]
Fix foolish endianess bug. Bump to version 0.4.1.

18 years agoBump to version 0.4.0.
Ian Romanick [Wed, 12 Apr 2006 22:56:50 +0000 (22:56 +0000)]
Bump to version 0.4.0.
Add multiple-inclusion protection.
Add new function to write masked bits to PCI config space. This mirrors
    functionality currently available in X.org that is slated to be
    removed.
Gut old regex based search mechanism with a new mechanism that is modeled
    after the Linux kernel. In addition to searching for devices by device
    / vendor ID, it is possible to search for devices by their domain / bus
    / slot / function.
Fix serious bus in the reading of ROMs and in the unmapping of regions. The
    main point is that the map routine depens on the pci_mem_region::memory
    pointer being non-NULL only when the region is mapped. Therefore, the
    unmap routine should set it to NULL after unmapping.
Update to use new search API.

18 years agoRemove src/pcils.c and src/Makefile.foo. Add src/scanpci.c. XORG-7_0_99_901
Ian Romanick [Mon, 27 Mar 2006 18:08:42 +0000 (18:08 +0000)]
Remove src/pcils.c and src/Makefile.foo. Add src/scanpci.c.
Bump version to 0.3.0.
Replace pci_get_name with pci_get_strings. This function matches the
    functionality provided by the Xorg scanpci module almost identically.

18 years agoRemove src/Makefile.foo from CVS since the generated Makefile can do
Ian Romanick [Fri, 24 Mar 2006 16:57:17 +0000 (16:57 +0000)]
Remove src/Makefile.foo from CVS since the generated Makefile can do
    everything now.

18 years agoAdd scanpci as a noinst target.
Kristian Høgsberg [Mon, 20 Mar 2006 20:13:34 +0000 (20:13 +0000)]
Add scanpci as a noinst target.
Drop from CVS.

18 years agoInitial import of libpciaccess.
Ian Romanick [Sat, 18 Mar 2006 00:12:48 +0000 (00:12 +0000)]
Initial import of libpciaccess.