summaryrefslogtreecommitdiffstats
path: root/sys/mips/cavium/octe/ethernet.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/cavium/octe/ethernet.c')
-rw-r--r--sys/mips/cavium/octe/ethernet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/mips/cavium/octe/ethernet.c b/sys/mips/cavium/octe/ethernet.c
index 65bff67..290cc9f 100644
--- a/sys/mips/cavium/octe/ethernet.c
+++ b/sys/mips/cavium/octe/ethernet.c
@@ -234,8 +234,8 @@ static void cvm_oct_configure_common_hw(device_t bus)
/* Register an IRQ hander for to receive POW interrupts */
rid = 0;
sc->sc_rx_irq = bus_alloc_resource(bus, SYS_RES_IRQ, &rid,
- CVMX_IRQ_WORKQ0 + pow_receive_group,
- CVMX_IRQ_WORKQ0 + pow_receive_group,
+ OCTEON_IRQ_WORKQ0 + pow_receive_group,
+ OCTEON_IRQ_WORKQ0 + pow_receive_group,
1, RF_ACTIVE);
if (sc->sc_rx_irq == NULL) {
device_printf(bus, "could not allocate workq irq");
OpenPOWER on IntegriCloud