summaryrefslogtreecommitdiffstats
path: root/c/src/libchip (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libchip hcms29xx - Remove odd $Id$ and clean up file headerJoel Sherrill2012-05-025-17/+1
|
* libchip z85c30 - Remove bad $Id$ and clean up file headerJoel Sherrill2012-05-021-4/+6
|
* lm32: replace lm32_isr with rtems_isrGedare Bloom2012-04-161-4/+0
|
* m68k: replace m68k_isr with rtems_isrGedare Bloom2012-04-162-7/+1
|
* GRETH: use shared-irq service instead of BSP specific set_vec()Daniel Hellstrom2012-04-062-23/+15
| | | | | | | | | | 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>
* SMC91111: updated to use shared IRQ serviceDaniel Hellstrom2012-04-062-12/+9
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* SMC91111: remove old unused LEON2/LEON3 intialization codeDaniel Hellstrom2012-03-291-36/+0
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* GRETH: removed the use of rtems_set_clock() in auto-nego timeoutDaniel Hellstrom2012-03-291-29/+18
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* GRETH: added support for non-snooping GRETH 10/100 systemsDaniel Hellstrom2012-03-271-7/+61
| | | | | | | | | | | | | | | | | | 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>
* SMC91111: ERC32 was never supported by driverDaniel Hellstrom2012-03-211-2/+2
| | | | | | | | | 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>
* Avoid NULL dereference in printk() before libchip console initializedJennifer Averett2012-02-233-63/+119
| | | | | | | | 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.
* PR 2011/networking - GRETH: performance improvements and one bugfixJoel Sherrill2012-02-021-179/+316
| | | | | | | | | | | | 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>
* PR 2011/networking GRETH: Moved print to remove potential deadlockJoel Sherrill2012-02-021-2/+11
| | | | | | | | | 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>
* Remove all .cvsignore files.Joel Sherrill2012-02-011-14/+0
|
* Fixed race condition during startup.Sebastian Huber2012-01-311-12/+14
|
* 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-132-4/+4
| | | | | | | * 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.
* 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-091-2/+1
| | | | * libchip/network/sonic.c: Activate SONIC_STATIC.
* 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-091-1/+1
| | | | * libchip/network/if_fxp.c: Add missing initializer.
* 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-081-4/+4
| | | | | | * libchip/network/sonic.c: Make sonic_enable_interrupts, sonic_disable_interrupts, sonic_clear_interrupts, sonic_command static.
* 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-061-3/+3
| | | | | * libchip/ide/ata.c: Make ata_interrupt_on, ata_interrupt_off, ata_interrupt_isOn static.
* 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-061-1/+1
| | | | | * libchip/serial/mc68681.c (mc68681_open): Var "status" needs to be signed.
* 2011-12-05 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-052-2/+20
| | | | | PR 1975/misc * libchip/ide/ata.c, libchip/ide/ata_util.c: Fixed warnings.
* 2011-12-03 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-032-3/+3
| | | | | * libchip/ide/ata.c: Make ata_interrupt_handler static. * libchip/ide/ide_controller.c: Include libchip/ide_ctrl.h.
* 2011-12-03 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-031-0/+9
| | | | * libchip/display/disp_hcms29xx.c: Add missing initializer.
* 2011-11-09 Jennifer Averett <jennifer.averett@oarcorp.com>Joel Sherrill2011-11-091-1/+1
| | | | | PR 1934/bsps * libchip/serial/ns16550.c: Change to unsigned variable.
* 2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-11-071-2/+4
| | | | * libchip/serial/serial.h: Declare Console_Port_Minor.
* 2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-11-061-2/+2
| | | | | PR 1945/cpukit * libchip/i2c/spi-memdrv.c: Replace rtems_off64_t with off_t.
* 2011-10-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-10-281-3/+0
| | | | | PR 1944/misc * libchip/serial/mc68681.c: Remove #if 0.
* 2011-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-261-3/+2
| | | | | * libchip/serial/ns16550.c (ns16550_init): Remove unused var "ucTrash".
* 2011-10-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-231-2/+4
| | | | | * libchip/network/smc91111.c (lan91cxx_recv): Define var "lp" conditionally (Avoid warning).
* 2011-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-221-2/+0
| | | | | * libchip/network/dec21140.c (dec21140_rxDaemon): Remove unused var "tbase".
* 2011-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-221-4/+0
| | | | | | | * libchip/rtc/mc146818a.c (mc146818a_initialize): Remove unused var "getReg". * libchip/rtc/mc146818a.c (mc146818a_set_time): Remove unused var "getReg".
* 2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-201-4/+0
| | | | * libchip/display/disp_hcms29xx.c: Remove ARRAY_COUNT (unused).
* 2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-201-4/+4
| | | | | PR 1940/misc: * libchip/serial/ns16550.c: Reflect changes to console-driver.
* 2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-191-4/+4
| | | | * libchip/network/smc91111.c: Use PRIxPTR to print pointers.
* 2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-10-184-176/+244
| | | | | | | 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.
* 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-171-4/+0
| | | | | * libchip/rtc/icm7170.c (icm7170_get_time): Remove unused var setReg. * libchip/rtc/icm7170.c (icm7170_set_time): Remove unused var getReg.
* 2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-111-2/+0
| | | | * libchip/network/smc91111.c: Eliminate unused var "success".
* 2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-111-2/+0
| | | | * libchip/serial/mc68681.c: Eliminate unused var "success".
* 2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-101-3/+2
| | | | * libchip/serial/z85c30.c: Eliminate unused var "dummy".
* 2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-101-2/+2
| | | | * libchip/network/sonic.c: Don't cast pointers to uint32_t.
* 2011-10-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-096-6/+6
| | | | | | | * 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.
* 2011-08-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-302-23/+27
| | | | | * libchip/network/smc91111exp.h, libchip/network/smc91111.c: Use BSP_FEATURE_IRQ_EXTENSION define.
* 2011-08-30 Peter Dufault <dufault@hda.com>Sebastian Huber2011-08-303-39/+78
| | | | | | | | | | | | | * 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.
* 2011-07-11 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-07-112-1/+41
| | | | | * libchip/serial/ns16550_p.h, libchip/serial/ns16550.c: Remove interrupt handler during last close.
* 2011-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-07-078-104/+104
| | | | | | | | * 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.
* 2011-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-07-071-1/+1
| | | | * libchip/i2c/spi-memdrv.h: Add missing semi-colon.
* 2011-02-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-161-27/+10
| | | | | * libchip/serial/ns16550.c: Revert previous commit and extend existing mechanic.
* 2011-02-15 Jennifer AverettJoel Sherrill2011-02-152-8/+25
| | | | | * libchip/serial/ns16550.c, libchip/serial/ns16550_p.h: Support i386 style IRQs.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-111-1/+1
| | | | | * libchip/network/smc91111config.h: Use "__asm__" instead of "asm" for improved c99-compliance.