summaryrefslogtreecommitdiff
path: root/src/linux_sysfs.c
AgeCommit message (Collapse)Author
2008-06-23Support write combine resource files in Linux sysfsJesse Barnes
Starting with version 2.6.26, Linux will support resourceN_wc files which export write combining mappings of PCI resource ranges, so support them if present in libpciaccess.
2008-06-23Fixed typo in output ("performace" --> "performance").Stefan Dirsch
2008-06-05Catch and recover from yet another linux kernel bug in mprotect.Eric Anholt
2008-05-21Linux: Fail gracefully on machines without PCI.Adam Jackson
2008-05-21linux: add pci_device_enable entrypoint and sysfs support for itDave Airlie
2008-04-16Kludge around linux bug and turn off write-through and cache-disable bitsKeith Packard
When mmaping the PCI device, the kernel turns on the write-through and cache-disable bits in the allocated PTEs. This disables write-combining mode and dramatically reduces write bandwidth to the frame buffer. While that should be fixed in the kernel, we'll kludge around it here by using mprotect to rewrite the PTEs and get those bits turned off.
2008-03-14Bug #13988: Fix reads from "0"-sized ROMs.Stuart Bennett
2008-02-27Don't export private symbols.Julien Cristau
2007-08-31Don't add MTRR for uncached regions. Remove MTRR on unmap.Keith Packard
MTRR regions aren't needed for uncached mappings, so don't add them. Also, when unmapping memory, remove the MTRR entry.
2007-08-30New interfaces to map memory with MTRR (or similar) support.Ian Romanick
Added new functions pci_device_map_range and pci_device_unmap_range to handle mapping of PCI device BARs. These new interfaces allow the possiblity of MTRRs on platforms that support them. These additional APIs necessitated changing some internal interfaces. The code for FreeBSD and Solaris has been updated but has not been compiled or tested. Old interfaces are marked deprecated and will eventually be removed.
2007-06-18Initial support for reading expansion ROM via VGA BIOS address.Ian Romanick
2007-03-27Populate device and vendor ID fields at device list creation.Ian Romanick
2007-01-11Fix bad cast that caused bit truncation.Ian Romanick
2006-07-06Files missed (for reasons I still don't understand) on the previousIan Romanick
commit. REALLY add support for querying bridge information. Bump to version 0.5.0.
2006-07-06Fix byte ordering of the PCI class.Ian Romanick
2006-05-22Fix foolish endianess bug. Bump to version 0.4.1.Ian Romanick
2006-04-12Bump to version 0.4.0.Ian Romanick
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.
2006-03-18Initial import of libpciaccess.Ian Romanick