summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-07-22 08:40:46 +0000
committerdfr <dfr@FreeBSD.org>1998-07-22 08:40:46 +0000
commit8414aaec0d0ad28a0f55f69f744c41176f577bdc (patch)
tree57b424eb3b090d3b0489a778df3eefbdf2661280 /sys/pci
parent02ecd6d02943e4159b16d04aef5382782cd3fe0d (diff)
downloadFreeBSD-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>
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/pci.c5
1 files changed, 4 insertions, 1 deletions
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) {
OpenPOWER on IntegriCloud