forked from Imagelibrary/rtems
2001-08-31 Eric Valette <valette@crf.canon.fr>
* network/network.c: Fix to account for return value when installing interrupts handler.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2001-08-31 Eric Valette <valette@crf.canon.fr>
|
||||||
|
|
||||||
|
* network/network.c: Fix to account for return value when
|
||||||
|
installing interrupts handler.
|
||||||
|
|
||||||
2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* configure.in: Add bspopts.h.
|
* configure.in: Add bspopts.h.
|
||||||
|
|||||||
@@ -360,10 +360,8 @@ m860_scc_initialize_hardware (struct m860_enet_struct *sc)
|
|||||||
/*
|
/*
|
||||||
* Set up interrupts
|
* Set up interrupts
|
||||||
*/
|
*/
|
||||||
status = BSP_install_rtems_irq_handler (ðernetSCC1IrqData);
|
if (!BSP_install_rtems_irq_handler (ðernetSCC1IrqData)) {
|
||||||
if (status != RTEMS_SUCCESSFUL) {
|
rtems_panic ("Can't attach M8xx SCC1 interrupt handler\n");
|
||||||
rtems_panic ("Can't attach M8xx SCC1 interrupt handler: %s\n",
|
|
||||||
rtems_status_text (status));
|
|
||||||
}
|
}
|
||||||
m8xx.scc1.sccm = 0; /* No interrupts unmasked till necessary */
|
m8xx.scc1.sccm = 0; /* No interrupts unmasked till necessary */
|
||||||
|
|
||||||
@@ -572,10 +570,8 @@ m860_fec_initialize_hardware (struct m860_enet_struct *sc)
|
|||||||
/*
|
/*
|
||||||
* Set up interrupts
|
* Set up interrupts
|
||||||
*/
|
*/
|
||||||
status = BSP_install_rtems_irq_handler (ðernetFECIrqData);
|
if (!BSP_install_rtems_irq_handler (ðernetFECIrqData))
|
||||||
if (status != RTEMS_SUCCESSFUL)
|
rtems_panic ("Can't attach M860 FEC interrupt handler\n");
|
||||||
rtems_panic ("Can't attach M860 FEC interrupt handler: %s\n",
|
|
||||||
rtems_status_text (status));
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
2001-08-31 Eric Valette <valette@crf.canon.fr>
|
||||||
|
|
||||||
|
* network/network.c: Fix to account for return value when
|
||||||
|
installing interrupts handler.
|
||||||
|
|
||||||
2001-06-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2001-06-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* configure.in: Add bspopts.h.
|
* configure.in: Add bspopts.h.
|
||||||
|
|||||||
@@ -367,10 +367,8 @@ m8xx_enet_initialize (struct m8xx_enet_struct *sc)
|
|||||||
/*
|
/*
|
||||||
* Set up interrupts
|
* Set up interrupts
|
||||||
*/
|
*/
|
||||||
status = BSP_install_rtems_irq_handler (ðernetSCC1IrqData);
|
if (!BSP_install_rtems_irq_handler (ðernetSCC1IrqData)) {
|
||||||
if (status != RTEMS_SUCCESSFUL) {
|
rtems_panic ("Can't attach M8xx SCC1 interrupt handler\n");
|
||||||
rtems_panic ("Can't attach M8xx SCC1 interrupt handler: %s\n",
|
|
||||||
rtems_status_text (status));
|
|
||||||
}
|
}
|
||||||
m8xx.scc1.sccm = 0; /* No interrupts unmasked till necessary */
|
m8xx.scc1.sccm = 0; /* No interrupts unmasked till necessary */
|
||||||
|
|
||||||
@@ -586,10 +584,8 @@ m860_fec_initialize_hardware (struct m860_enet_struct *sc)
|
|||||||
/*
|
/*
|
||||||
* Set up interrupts
|
* Set up interrupts
|
||||||
*/
|
*/
|
||||||
status = BSP_install_rtems_irq_handler (ðernetFECIrqData);
|
if (!BSP_install_rtems_irq_handler (ðernetFECIrqData))
|
||||||
if (status != RTEMS_SUCCESSFUL)
|
rtems_panic ("Can't attach M860 FEC interrupt handler\n");
|
||||||
rtems_panic ("Can't attach M860 FEC interrupt handler: %s\n",
|
|
||||||
rtems_status_text (status));
|
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user