CVS Update: lib (branch: trunk)
Ian Romanick
xorg-commit at cvs.freedesktop.org
Thu Apr 13 01:56:50 EEST 2006
CVSROOT: /cvs/xorg
Module name: lib
Changes by: idr at kemper.freedesktop.org 06/04/12 22:56:50
Log message:
* configure.ac:
* src/Makefile.am:
Bump to version 0.4.0.
* include/pciaccess.h:
Add multiple-inclusion protection.
* src/common_interface.c: (pci_device_cfg_write_bits):
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.
* src/common_iterator.c: (pci_slot_match_iterator_create),
(pci_id_match_iterator_create), (pci_iterator_destroy),
(pci_device_next), (pci_device_find_by_slot):
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.
* src/linux_sysfs.c: (pci_device_linux_sysfs_read_rom),
(pci_device_linux_sysfs_map_region),
(pci_device_linux_sysfs_unmap_region):
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.
* src/scanpci.c: (main):
Update to use new search API.
Modified files:
lib/pciaccess/:
ChangeLog configure.ac
lib/pciaccess/include/:
pciaccess.h
lib/pciaccess/src/:
Makefile.am common_interface.c common_iterator.c
linux_sysfs.c scanpci.c
Revision Changes Path
1.5 +34 -0 lib/pciaccess/ChangeLog
http://webcvs.freedesktop.org/xorg/lib/pciaccess/ChangeLog
1.3 +1 -1 lib/pciaccess/configure.ac
http://webcvs.freedesktop.org/xorg/lib/pciaccess/configure.ac
1.3 +48 -5 lib/pciaccess/include/pciaccess.h
http://webcvs.freedesktop.org/xorg/lib/pciaccess/include/pciaccess.h
1.4 +1 -1 lib/pciaccess/src/Makefile.am
http://webcvs.freedesktop.org/xorg/lib/pciaccess/src/Makefile.am
1.2 +19 -0 lib/pciaccess/src/common_interface.c
http://webcvs.freedesktop.org/xorg/lib/pciaccess/src/common_interface.c
1.2 +103 -85 lib/pciaccess/src/common_iterator.c
http://webcvs.freedesktop.org/xorg/lib/pciaccess/src/common_iterator.c
1.2 +25 -5 lib/pciaccess/src/linux_sysfs.c
http://webcvs.freedesktop.org/xorg/lib/pciaccess/src/linux_sysfs.c
1.2 +1 -1 lib/pciaccess/src/scanpci.c
http://webcvs.freedesktop.org/xorg/lib/pciaccess/src/scanpci.c
More information about the xorg-commit
mailing list