From 8c83cbcc969576edb3f526fea6443b9d9ec2a8c4 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 4 Aug 2016 23:32:06 +0200 Subject: classic networking: do not reference BSP_irq_enabled_at_i8259s which is no more available on i386. This change is required to build RTEMS with classic "--enable-networking" and link applications/tests which reference RTEMS_BSP_NETWORK_DRIVER_ATTACH. --- c/src/libchip/network/if_fxp.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'c/src/libchip/network/if_fxp.c') diff --git a/c/src/libchip/network/if_fxp.c b/c/src/libchip/network/if_fxp.c index ce59db1599..35d7c072a4 100644 --- a/c/src/libchip/network/if_fxp.c +++ b/c/src/libchip/network/if_fxp.c @@ -431,11 +431,6 @@ static void nopOn(const rtems_irq_connect_data* notUsed) */ } -static int fxpIsOn(const rtems_irq_connect_data* irq) -{ - return BSP_irq_enabled_at_i8259s (irq->name); -} - int rtems_fxp_attach(struct rtems_bsdnet_ifconfig *config, int attaching) { @@ -1933,7 +1928,7 @@ rtems_task_wake_after(100); sc->irqInfo.hdl = (rtems_irq_hdl)fxp_intr; sc->irqInfo.on = nopOn; sc->irqInfo.off = nopOn; - sc->irqInfo.isOn = fxpIsOn; + sc->irqInfo.isOn = NULL; rv = BSP_install_rtems_irq_handler (&sc->irqInfo); if (rv != 1) { rtems_panic ("Can't attach fxp interrupt handler for irq %d\n", -- cgit v1.2.3