diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2016-08-04 23:32:06 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2016-09-20 22:45:16 +0200 |
commit | 8c83cbcc969576edb3f526fea6443b9d9ec2a8c4 (patch) | |
tree | 03f826cb1debacc59153c17bf1e688885966f206 /c/src/libchip/network/if_fxp.c | |
parent | termios: Add IO control handler (diff) | |
download | rtems-8c83cbcc969576edb3f526fea6443b9d9ec2a8c4.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | c/src/libchip/network/if_fxp.c | 7 |
1 files changed, 1 insertions, 6 deletions
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", |