| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* include/bsp.h, include/tm27.h, network/network.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
| |
|
|
|
|
|
| |
* network/network.c: Eliminate patterns that look like CVS conflict
markers.
|
| |
|
|
|
|
|
|
| |
* network/network.c: Remove #define KERNEL.
Include <errno.h>.
* Makefile.am: Add -D_KERNEL to network_CPPFLAGS.
|
|
|
|
|
|
|
| |
* clock/ckinit.c, console/console.c: Added support for
addition of parameter to ISRs.
* network/network.c: Modified parameter list to remove
warnings.
|
|
|
|
| |
* network/network.c: Fix warnings.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* network/network.c: Include <rtems/asm.h> instead of <asm.h>.
* include/bsp.h: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
* include/bsp.h: Include <rtems/console.h> instead of <console.h>.
* include/bsp.h: Include <rtems/iosupp.h> instead of <iosupp.h>.
|
|
|
|
| |
* network/network.c: Removed warnings.
|
|
|
|
| |
* console/console.c, network/network.c: Removed warnings.
|
|
|
|
| |
that shows up if the BSP uses memory near address 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Comments follow:
Please find attached, the updated network driver. I have verified
that it is working as expected, by timestamping the error messages
generated from the ISR.
If you've taken a look inside, the network driver has a reset thread
in addition to the RX and TX threads. It is possible to avoid the
additional reset thread by allowing the TX driver to time out and then
checking status bits set by the ISR. However, this approach demands
that a transmission is necessary for the NIC to be reset.
Due to Eric V's ISR handling, I suppose that the reset routine could
be called from the "ISR" itself, due to the 8259 interrupt mode, and
that the interrupt is acknowledged prior to running the "ISR".
(Providing that no NIC interrupts are generated during reset -- I
worry about re-entrancy. )
This would be a minor improvement, but you know, I don't want to make
this driver my lifes work.
----------------------------------------------------------------------
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| |
Comments follow:
Here is the contents of the network directory of the i386ex BSP. The
reset function has been recently added, and tested through a command
line interface. A reset event to the reset thread to reset the NIC.
This is done when the ISR detects that the NIC is in an invalid state.
It has not been tested "in real life" since the board has not seen an
invalid state since the reset function was implemented.
|
|
|