Luc Verhaegen uploaded patch set #2 to this change.

View Change

add newer pci infrastructure

This code does not negatively affect existing pci support and existing
pci devices, it introduces parallel infrastructure which:
- allows users to define a private which could be device specific.
This avoids doing multiple lookups, which massively helps the ati spi
driver which will support hundreds of devices.
- uses linux sysfs pci infrastructure for enable/disable and mapping
resources. This circumvents the security restrictions surrounding
/dev/mem, but means that support for other operating systems still
needs to be cobbled together.
- looks up device names through libpci, keeping us from maintaining a
separate names list.

Change-Id: I59af37cba5cb78014e0714c654db2501151f605e
Signed-off-by: Luc Verhaegen <libv@skynet.be>
---
M pcidev.c
M programmer.h
2 files changed, 165 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/78/29078/2

To view, visit change 29078. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I59af37cba5cb78014e0714c654db2501151f605e
Gerrit-Change-Number: 29078
Gerrit-PatchSet: 2
Gerrit-Owner: Luc Verhaegen <libv@skynet.be>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>