summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/alpha/pci/apecs_pci.c2
-rw-r--r--sys/alpha/pci/cia_pci.c2
-rw-r--r--sys/alpha/pci/lca_pci.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/sys/alpha/pci/apecs_pci.c b/sys/alpha/pci/apecs_pci.c
index b3c428f..fffb759 100644
--- a/sys/alpha/pci/apecs_pci.c
+++ b/sys/alpha/pci/apecs_pci.c
@@ -176,6 +176,8 @@ apecs_pcib_read_config(device_t dev, u_int b, u_int s, u_int f,
cfg.slot = s;
cfg.func = f;
cfg.intline = 255;
+ cfg.intpin =
+ apecs_pcib_read_config(dev, b, s, f, PCIR_INTPIN, 1);
platform.pci_intr_map((void *)&cfg);
if (cfg.intline != 255)
return cfg.intline;
diff --git a/sys/alpha/pci/cia_pci.c b/sys/alpha/pci/cia_pci.c
index 499ce88..9fafbf4 100644
--- a/sys/alpha/pci/cia_pci.c
+++ b/sys/alpha/pci/cia_pci.c
@@ -384,6 +384,8 @@ cia_pcib_read_config(device_t dev, int b, int s, int f,
cfg.slot = s;
cfg.func = f;
cfg.intline = 255;
+ cfg.intpin =
+ cia_pcib_read_config(dev, b, s, f, PCIR_INTPIN, 1);
platform.pci_intr_map((void *)&cfg);
if (cfg.intline != 255)
return cfg.intline;
diff --git a/sys/alpha/pci/lca_pci.c b/sys/alpha/pci/lca_pci.c
index a0c383f..02f186e 100644
--- a/sys/alpha/pci/lca_pci.c
+++ b/sys/alpha/pci/lca_pci.c
@@ -169,6 +169,8 @@ lca_pcib_read_config(device_t dev, u_int b, u_int s, u_int f,
cfg.slot = s;
cfg.func = f;
cfg.intline = 255;
+ cfg.intpin =
+ lca_pcib_read_config(dev, b, s, f, PCIR_INTPIN, 1);
platform.pci_intr_map((void *)&cfg);
if (cfg.intline != 255)
return cfg.intline;
OpenPOWER on IntegriCloud