diff options
author | dfr <dfr@FreeBSD.org> | 1998-07-22 08:40:46 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-07-22 08:40:46 +0000 |
commit | 8414aaec0d0ad28a0f55f69f744c41176f577bdc (patch) | |
tree | 57b424eb3b090d3b0489a778df3eefbdf2661280 | |
parent | 02ecd6d02943e4159b16d04aef5382782cd3fe0d (diff) | |
download | FreeBSD-src-8414aaec0d0ad28a0f55f69f744c41176f577bdc.zip FreeBSD-src-8414aaec0d0ad28a0f55f69f744c41176f577bdc.tar.gz |
Add a call to a platform-specific irq remapping function for alpha platforms
which don't record the correct irqs in PCI config space.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
-rw-r--r-- | sys/dev/pci/pci.c | 5 | ||||
-rw-r--r-- | sys/pci/pci.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index a88ee89..daa235a 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pci.c,v 1.82 1998/04/01 21:07:36 tegge Exp $ + * $Id: pci.c,v 1.83 1998/06/07 17:12:42 dfr Exp $ * */ @@ -335,6 +335,9 @@ pci_readcfg(pcicfgregs *probe) cfg->lattimer = pci_cfgread(cfg, PCIR_LATTIMER, 1); cfg->intpin = pci_cfgread(cfg, PCIR_INTPIN, 1); cfg->intline = pci_cfgread(cfg, PCIR_INTLINE, 1); +#ifdef __alpha__ + alpha_platform_assign_pciintr(cfg); +#endif #ifdef APIC_IO if (cfg->intpin != 0) { diff --git a/sys/pci/pci.c b/sys/pci/pci.c index a88ee89..daa235a 100644 --- a/sys/pci/pci.c +++ b/sys/pci/pci.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pci.c,v 1.82 1998/04/01 21:07:36 tegge Exp $ + * $Id: pci.c,v 1.83 1998/06/07 17:12:42 dfr Exp $ * */ @@ -335,6 +335,9 @@ pci_readcfg(pcicfgregs *probe) cfg->lattimer = pci_cfgread(cfg, PCIR_LATTIMER, 1); cfg->intpin = pci_cfgread(cfg, PCIR_INTPIN, 1); cfg->intline = pci_cfgread(cfg, PCIR_INTLINE, 1); +#ifdef __alpha__ + alpha_platform_assign_pciintr(cfg); +#endif #ifdef APIC_IO if (cfg->intpin != 0) { |