| Commit message (Collapse) | Author | Files | Lines |
|
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver
source files to avoid some build system magic.
|
|
|
|
Update #2833.
|
|
Also signal to compiler that the start variable in lan91cxx_recv is only used when debugging.
|
|
Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and
RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP.
Add and use rtems_bsdnet_event_send().
|
|
- A typo prevents if_smc.c from being built when configured;
- The argument passed to the interrupt handler was incorrect and the
addition of support for RTEMS_INTERRUPT_SHARED exposed it;
- A "#ifdef DEBUG" is supposed to be "#if DEBUG" since 0 is supposed to
make it quiet.
|
|
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
|
|
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
|
|
Moved the intelligence whether the driver is supported or not
completely to the BSP, now that bsp.h is included (even though it
is a driver... hmm). The ERC32 was never supported, so HAS_SMC91111
is not added to erc32/include/bsp.h.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
|
|
* libchip/network/smc91111.c (lan91cxx_recv):
Define var "lp" conditionally (Avoid warning).
|
|
* libchip/network/smc91111.c: Use PRIxPTR to print pointers.
|
|
* libchip/network/smc91111.c: Eliminate unused var "success".
|
|
* libchip/network/smc91111exp.h, libchip/network/smc91111.c: Use
BSP_FEATURE_IRQ_EXTENSION define.
|
|
* libchip/network/smc91111.c: Modify to support the MPC5554 using new
exceptions. Fix where the networking status is being dumped to a
single thousand-character line. Add support for when the chip loaded
it's MAC address from a serial chip at reset (the
SMC91111_ENADDR_IS_SETUP option). Call lan91cxx_start() every time
the the device is initialized. Without this change the chip can not
be "upped" once it has been downed.
* c/src/libchip/network/smc91111.h: Change the "#ifdef expression" to
"#if expression".
* c/src/libchip/network/smc91111exp.h: Add support for new exceptions.
|
|
|
|
* libchip/network/smc91111.c: Formatting.
|
|
* libchip/network/smc91111.c: Eliminate a stray DEBUG_puts().
|
|
* libchip/network/smc91111.c, libchip/network/smc91111.h: Multiple fixes.
- Odd bit bug in some chips taken care of.
- Buggy ASSERT removed, it seem to be inserted to detect if MBUF data
alignment but failing to do so must have made the driver writer to make
some incorrect assumptions about MBUFs.
- Fixed MBUF handling to handle mbuf chains better. The Data length of
MBUFs in middle of the mbuf chain are now checked for odd number of bytes.
- Made while loop responsible for copying data to fifo port copy 16 shorts
per loop instead of 1 short, increasing the copying process.
|
|
|
|
* libchip/network/greth.c, libchip/network/open_eth.c,
libchip/network/smc91111.c, libchip/network/sonic.c: Fix error
introduced by warning removal.
|
|
* libchip/network/greth.c, libchip/network/open_eth.c,
libchip/network/smc91111.c: Remove warnings and correct prototype
added earlier today.
|
|
|
|
* libchip/Makefile.am: Build libchip/network/smc91111.
* libchip/network/smc91111.c, libchip/network/smc91111config.h:
Eliminate cyg_int* crap.
|
|
* libchip/network/smc91111.c
libchip/network/smc91111config.h
libchip/network/smc91111exp.h
libchip/network/smc91111.h: New. Merger from rtems-4-6-branch.
* libchip/Makefile.am: Reflect adding smc91111*.
|