commit | 68feac87de15edfc2c700d2d81b814288c93d003 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Tue Dec 16 21:36:55 2008 -0700 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Wed Jan 07 11:13:12 2009 -0800 |
tree | 97ee9f0dc3ee3728aca7d5a252eda6a1cb633430 | |
parent | e8c331e963c58b83db24b7d0e39e8c07f687dbc6 [diff] |
PCI: add pci_common_swizzle() for INTx swizzling This patch adds pci_common_swizzle(), which swizzles INTx values all the way up to a root bridge. This common implementation can replace several architecture-specific ones. This should someday be combined with pci_get_interrupt_pin(), but I left it separate for now to make reviewing easier. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>