| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
With the addition of dynamically registered libchip serial devices,
there is the need to be able to use printk() before the console driver
has initialized the indirect pointer table. This lets printk() support
routines call pass a control structure directly without a lookup through
the uninitialized indirect one.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/i2c/spi-memdrv.c: Make
spi_memdrv_minor2param_ptr, spi_memdrv_wait_ms static.
* libchip/i2c/spi-sd-card.c: Make
sd_card_compute_crc7, sd_card_compute_crc16 static.
|
|
|
|
| |
* 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/ide/ata.c: Make ata_interrupt_on, ata_interrupt_off,
ata_interrupt_isOn static.
|
|
|
|
|
| |
* libchip/serial/mc68681.c (mc68681_open):
Var "status" needs to be signed.
|
|
|
|
|
| |
PR 1975/misc
* libchip/ide/ata.c, libchip/ide/ata_util.c: Fixed warnings.
|
|
|
|
|
| |
* libchip/ide/ata.c: Make ata_interrupt_handler static.
* libchip/ide/ide_controller.c: Include libchip/ide_ctrl.h.
|
|
|
|
| |
* libchip/display/disp_hcms29xx.c: Add missing initializer.
|
|
|
|
|
| |
PR 1934/bsps
* libchip/serial/ns16550.c: Change to unsigned variable.
|
|
|
|
| |
* libchip/serial/serial.h: Declare Console_Port_Minor.
|
|
|
|
|
| |
PR 1945/cpukit
* libchip/i2c/spi-memdrv.c: Replace rtems_off64_t with off_t.
|
|
|
|
|
| |
PR 1944/misc
* libchip/serial/mc68681.c: Remove #if 0.
|
|
|
|
|
| |
* libchip/serial/ns16550.c (ns16550_init):
Remove unused var "ucTrash".
|
|
|
|
|
| |
* libchip/network/smc91111.c (lan91cxx_recv):
Define var "lp" conditionally (Avoid warning).
|
|
|
|
|
| |
* libchip/network/dec21140.c (dec21140_rxDaemon):
Remove unused var "tbase".
|
|
|
|
|
|
|
| |
* libchip/rtc/mc146818a.c (mc146818a_initialize):
Remove unused var "getReg".
* libchip/rtc/mc146818a.c (mc146818a_set_time):
Remove unused var "getReg".
|
|
|
|
| |
* libchip/display/disp_hcms29xx.c: Remove ARRAY_COUNT (unused).
|
|
|
|
|
| |
PR 1940/misc:
* libchip/serial/ns16550.c: Reflect changes to console-driver.
|
|
|
|
| |
* libchip/network/smc91111.c: Use PRIxPTR to print pointers.
|
|
|
|
|
|
|
| |
PR 1917/bsps
* libchip/serial/mc68681.c, libchip/serial/ns16550.c,
libchip/serial/serial.h, libchip/serial/z85c30.c: Modifications to
add dynamic tables for libchip serial drivers.
|
|
|
|
|
| |
* libchip/rtc/icm7170.c (icm7170_get_time): Remove unused var setReg.
* libchip/rtc/icm7170.c (icm7170_set_time): Remove unused var getReg.
|
|
|
|
| |
* libchip/network/smc91111.c: Eliminate unused var "success".
|
|
|
|
| |
* libchip/serial/mc68681.c: Eliminate unused var "success".
|
|
|
|
| |
* libchip/serial/z85c30.c: Eliminate unused var "dummy".
|
|
|
|
| |
* 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/serial/ns16550_p.h, libchip/serial/ns16550.c: Remove
interrupt handler during last close.
|
|
|
|
|
|
|
|
| |
* libchip/display/disp_hcms29xx.c, libchip/flash/am29lv160.c,
libchip/i2c/i2c-2b-eeprom.c, libchip/i2c/i2c-ds1621.c,
libchip/i2c/spi-flash-m25p40.c, libchip/i2c/spi-fram-fm25l256.c,
libchip/i2c/spi-memdrv.c, libchip/rtc/ds1375.c: Eliminate use of GNU
old-style field designator extension as recommended by clang.
|
|
|
|
| |
* libchip/i2c/spi-memdrv.h: Add missing semi-colon.
|