diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-23 20:19:00 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-23 20:19:00 -0700 |
commit | 0efd5aab41e18a1175f72641696cfda154ba6c87 (patch) | |
tree | 2480b5ade8937d18104c5ecc1423ca1eac1b154e /crypto/shash.c | |
parent | 5a21d70dbd33d20713fb735ad9381711b0ae2c9b (diff) | |
download | lwn-0efd5aab41e18a1175f72641696cfda154ba6c87.tar.gz lwn-0efd5aab41e18a1175f72641696cfda154ba6c87.zip |
PCI: add struct pci_host_bridge_window with CPU/bus address offset
Some PCI host bridges apply an address offset, so bus addresses on PCI are
different from CPU addresses. This patch adds a way for architectures to
tell the PCI core about this offset. For example:
LIST_HEAD(resources);
pci_add_resource_offset(&resources, host->io_space, host->io_offset);
pci_add_resource_offset(&resources, host->mem_space, host->mem_offset);
pci_scan_root_bus(parent, bus, ops, sysdata, &resources);
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'crypto/shash.c')
0 files changed, 0 insertions, 0 deletions