summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/pci/schizo.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64/pci/schizo.c')
-rw-r--r--sys/sparc64/pci/schizo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sparc64/pci/schizo.c b/sys/sparc64/pci/schizo.c
index 9e522c0..e7ebaf1 100644
--- a/sys/sparc64/pci/schizo.c
+++ b/sys/sparc64/pci/schizo.c
@@ -1119,13 +1119,12 @@ schizo_route_interrupt(device_t bridge, device_t dev, int pin)
struct schizo_softc *sc;
struct ofw_pci_register reg;
ofw_pci_intr_t pintr, mintr;
- uint8_t maskbuf[sizeof(reg) + sizeof(pintr)];
sc = device_get_softc(bridge);
pintr = pin;
if (ofw_bus_lookup_imap(ofw_bus_get_node(dev), &sc->sc_pci_iinfo,
&reg, sizeof(reg), &pintr, sizeof(pintr), &mintr, sizeof(mintr),
- NULL, maskbuf))
+ NULL))
return (mintr);
device_printf(bridge, "could not route pin %d for device %d.%d\n",
OpenPOWER on IntegriCloud