| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ libbsp/sparc/shared/include/pci.h was largely a copy of
an older version of the cpukit pci.h. Removed much of the
contents and included <rtems/pci.h>.
+ sparc/*/pci*.c - Move to <rtems/pci.h> required updating
to use uint32_t for dword accesses.
+ Rename PCI_MULTI_FUNCTION to PCI_HEADER_TYPE_MULTI_FUNCTION
+ Define PCI_HEADER_TYPE_MULTI_FUNCTION in cpukit pci.h and remove
PCI_MULTI_FUNCTION definitions in C files.
+ Move PCI_INVALID_VENDORDEVICEID definitions from various C files
to cpukit pci.h
|
|
|
|
|
|
| |
These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The ISR code is updated to use argument instead of global greth
structure, now that the greth private is available in the ISR.
The shared-irq routines will unmask the IRQ, so the forced LEON3
BSP unmask/clear IRQ is removed.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
|
|
|
|
| |
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
|
|
|
|
| |
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
|
|
|
|
| |
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When data cache snooping is not present the cache needs
flushing, the SPARC LEON CPUs does not have to ability
to flush individual cache rows and flushing all cache is
expensive. Instead the LDA instruction is used to force
cache miss on individual loads during the IP-align copy
operation required anyway.
GRETH GBIT non-snooping systems are still unsupported,
since it use zero-copy (can deal with unaligned DMA).
Let the bsp.h select if the GRETH driver is supported.
Currently only the LEON2/LEON3 platforms BSPs builds the
driver.
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
GRETH driver updated, 10-15% performance improvements for GBIT MAC,
unnecessary RX interrupts not taken which under heavy load saves approx.
1500 interrupts/s, one task removed saving about 5kb memory and 1 bug
solved.
BUG: RX interrupt was enabled before the RX-daemon was created which could
result in a faulty call to rtems_event_send.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
|
|
|
|
|
|
|
|
|
| |
Deadlock may arise when the EDCL bug link is used to tunnel
console output over Ethernet, when Ethernet is down one should
avoid using console (only during debugging of LEON targets)
Author: Marko Isomaki <marko@gaisler.com>
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
|
| |
|
|
|
|
| |
* libchip/network/sonic.c: Activate SONIC_STATIC.
|
|
|
|
| |
* libchip/network/if_fxp.c: Add missing initializer.
|
|
|
|
|
|
| |
* libchip/network/sonic.c: Make sonic_enable_interrupts,
sonic_disable_interrupts, sonic_clear_interrupts,
sonic_command static.
|
|
|
|
|
| |
* libchip/network/smc91111.c (lan91cxx_recv):
Define var "lp" conditionally (Avoid warning).
|
|
|
|
|
| |
* libchip/network/dec21140.c (dec21140_rxDaemon):
Remove unused var "tbase".
|
|
|
|
| |
* libchip/network/smc91111.c: Use PRIxPTR to print pointers.
|
|
|
|
| |
* libchip/network/smc91111.c: Eliminate unused var "success".
|
|
|
|
| |
* libchip/network/sonic.c: Don't cast pointers to uint32_t.
|
|
|
|
|
|
|
| |
* libchip/network/greth.c, libchip/network/open_eth.c
libchip/network/sonic.c: Eliminate evil typecasts.
* libchip/network/greth.h, libchip/network/open_eth.h,
libchip/network/sonic.h: Use void* for addresses.
|
|
|
|
|
| |
* 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/smc91111config.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
|
|
| |
* src/libchip/network/dec21140.c, src/libchip/network/elnk.c,
src/libchip/network/greth.c, src/libchip/network/greth.h,
src/libchip/network/open_eth.c: Fix typo where license said
found in found in.
|
|
|
|
|
| |
* libchip/network/greth.c, libchip/network/open_eth.c: Add constants
for buffer modes.
|
|
|
|
| |
* libchip/network/if_dc.c: Fix warning.
|
|
|
|
|
| |
* libchip/network/greth.c: Misc. hacks to allow compilation on
16bit targets.
|
|
|
|
|
|
| |
PR 1531/newlib
* libchip/network/i82586.c:
Add local copy of ALIGN().
|
|
|
|
|
| |
* libchip/network/cs8900.c:
Misc. changes to make code 16bit-target compliant.
|
|
|
|
|
| |
* libchip/network/i82586.c:
Use int32_t instead of int for 16bit-target compliance.
|
|
|
|
|
| |
* libchip/network/open_eth.c:
Misc. changes to make code 16bit-target compliant.
|
|
|
|
| |
* libchip/network/if_dc.c: Remove warnings.
|
|
|
|
|
|
| |
* libchip/network/i82586.c: Readdress use of ctype methods per
recommendation from D.J. Delorie on the newlib mailing list. We
should pass an unsigned char into these methods.
|
|
|
|
| |
* libchip/network/i82586.c: Fix warnings for ctype methods.
|
|
|
|
|
| |
* libchip/network/greth.c: Eliminate unused type
rtems_clock_time_value.
|
|
|
|
|
| |
* libchip/network/dec21140.c: Warning elimination
(dec21140_softc->base now is an uint32_t).
|
| |
|
|
|
|
|
|
|
| |
* libchip/network/dec21140.c, libchip/network/elnk.c,
libchip/network/if_dc.c: Ensure PCI drivers are built on all
supported configurations. PowerPC conditionals were not current and
code was not being built on supported BSPs.
|
| |
|
|
|
|
| |
* libchip/network/smc91111.c: Formatting.
|
|
|
|
| |
* libchip/network/elnk.c: Use PRI*32 to print u_int32_t's.
|
|
|
|
| |
* libchip/network/if_dc.c: Fix type mismatch.
|
|
|
|
|
| |
* libchip/network/elnk.c: Convert calls to legacy routine
rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
|
|
|
|
|
|
| |
* libchip/network/i82586.c: Fix warning in manner suggested by
Arnout Vandecappelle <arnout@mind.be> in
http://www.rtems.org/pipermail/rtems-users/2009-May/005460.html.
|
|
|
|
| |
* libchip/network/if_dc.c: Fixed warnings.
|