summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/spw (follow)
Commit message (Collapse)AuthorAgeFilesLines
* DRVMGR: KEY_TYPE now a enum drvmgr_ktDaniel Hellstrom2015-04-172-11/+11
|
* sparc bsps: updated license to rtems.orgDaniel Hellstrom2015-04-172-2/+2
|
* LEON: move driver headers to bsp/ directoryDaniel Hellstrom2015-04-173-3/+3
|
* GRSPW router: fix build warningsDaniel Hellstrom2015-04-171-13/+25
|
* GRSPW_PKT: fix build warningsDaniel Hellstrom2015-04-171-1/+1
|
* GRSPW: fix build warningsDaniel Hellstrom2015-04-171-4/+1
|
* GRSPW: added clock cycles after GRSPW resetDaniel Hellstrom2015-04-171-0/+13
| | | | | added clock cycles after GRSPW reset to make sure CTRL.START bit write actually have an effect. Wait until reset is completed.
* GRSPW_PKT: Add support for Interrupt-codesAndreas Larsson2015-04-171-17/+292
| | | | | Update: Daniel Hellstrom updated SpW-IRQ implementation accoring to changes in hardware register layout and features.
* GRSPW: Fix incorrect register defines - presently functionally inconsequentialAndreas Larsson2015-04-171-4/+4
|
* LEON GRSPW: updated to new DRVMGR translation interfaceDaniel Hellstrom2015-04-171-61/+110
|
* GRSPW: fixed SET_RMAPEN and SET_RMAPBUFDISDaniel Hellstrom2015-04-171-2/+2
| | | | | Both ioctl commands destroyed the control register by writing the content of the status register into it.
* GRSPW: Make sure buffers are 64-bit alignedArvid Bjorkengren2015-04-171-4/+7
| | | | This is to improve odds of getting a fast memcpy-operation.
* GRSPW: New packet based driver for SPW/SPW2/SPW2_DMADaniel Hellstrom2015-04-171-0/+2642
| | | | | | | | | | | | | | | | This patch adds a new driver for the GRSPW SpaceWire AMBA interface family. The new driver does not implement a standard RTEMS driver, instead it provides only a library interface to the GRSPW devices. This driver can be used to implement a RTEMS I/O driver or used directly. New features compared with old GRSPW driver: * zero-copy packet interface * possibility to send/receive mulitple packets per call * optional interrupt awaken work-task to process TX/RX queues * DMA channels support. Before only first DMA channel supported * Separate DMA and link control * Packet based error flags
* LEON: added new drivers to the LEON2/LEON3 BSPsDaniel Hellstrom2015-04-171-0/+549
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most drivers use the Driver Manager for device probing, they work on AMBA-over-PCI systems if PCI is big-endian. New APIs: * GPIO Library, interfaced to GRGPIO * GENIRQ, Generic interrupt service implementation helper New GRLIB Drivers: * ACTEL 1553 RT, user interface is similar to 1553 BRM driver * GR1553 (1553 BC, RT and BM core) * AHBSTAT (AHB error status core) * GRADCDAC (Core interfacing to ADC/DAC hardware) * GRGPIO (GPIO port accessed from GPIO Library) * MCTRL (Memory controller settings configuration) * GRETH (10/100/1000 Ethernet driver using Driver manager) * GRPWM (Pulse Width Modulation core) * SPICTRL (SPI master interface) * GRSPW_ROUTER (SpaceWire Router AMBA configuration interface) * GRCTM (SpaceCraft on-board Time Management core) * SPWCUC (Time distribution over SpaceWire) * GRTC (SpaceCraft up-link Tele core) * GRTM (SpaceCraft down-link Tele Metry core) GR712RC ASIC specific interfaces: * GRASCS * CANMUX (select between OCCAN and SATCAN) * SATCAN * SLINK
* LEON: updated shared drivers to Driver Manger frameworkDaniel Hellstrom2015-04-171-1298/+1540
| | | | | | | Some bugfixes at the same time. After this patch the drivers may be used on RASTA systems having a big-endian PCI layout. Removed not up to date changelogs, rely on git log instead.
* LEON: updated and added PCI peripherals for LEON BSPsDaniel Hellstrom2015-04-172-290/+0
| | | | | | | | | | | | | | | | | | | | The CCHIP driver is replaced with the GR_701 driver. The RASTA driver is replaced by the GR-RASTA-IO driver. All drivers are now compatible with both LEON2 and LEON3, drivers were initialized directly by the PCI-board drivers are now initialized by the driver manager and therefore does not require the double code created by including for example grcan.c into grcan_rasta.c. The other drivers needs to be updated to the driver manager framework however. Added support for: * GR-701 (only LEON2 before) * GR-RASTA-IO (only LEON2 before) * GR-RASTA-ADCDAC * GR-RASTA-TMTC * GR-RASTA-SPW-ROUTER * GR-TMTC-1553
* grspw: Fix typosDaniel Cederman2015-02-111-3/+3
|
* grspw: descriptor tables no longer statically allocatedjavamonn2015-01-221-7/+7
|
* sparc/leon2: Fix warningsJoel Sherrill2014-10-131-2/+5
|
* bsps/sparc: Make local functions static.Daniel Cederman2014-03-212-0/+10
| | | | | | | The PCI and RASTA versions of the uart, spacewire and 1553 drivers directly includes the c-file of the standard versions of the drivers, but uses a macro to change the name of the driver register function. When the standard version is used this function should be global, when it is included as part of the PCI and RASTA versions it should be local and static.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* LEON: moved register definitions into grlib header fileDaniel Hellstrom2012-05-161-2/+3
| | | | | | | | | | | | Some register layout definitions for LEON3 reside in ambapp.h which does not really has anything to do with device registers. The register structures has been incorrectly named LEON3_*, the cores are not only used on LEON3 but on LEON4 and perhaps on LEON5 when that day comes. Some structures has been renamed according to the GRLIB core name instead, which CPU that actually use it is not relevant. Drivers has been updated with the new names. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON: updated drivers to use new AMBAPP LayerDaniel Hellstrom2012-04-173-22/+17
| | | | | | | The drivers are updated to use the new AMBA layer, however the backwards-compatibility interface (ambapp_old) is used. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-111-2/+2
| | | | | | * shared/1553/b1553brm.c, shared/can/grcan.c, shared/can/occan.c, shared/spw/grspw.c, shared/uart/apbuart.c: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2010-04-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-071-0/+2
| | | | | | * shared/spw/grspw_rasta.c: Guard prototype of grspw_rasta_calc_memoffs in #ifdef GRSPW_STATIC_MEM to avoid warning.
* Whitespace removal.Ralf Corsepius2009-11-293-208/+208
|
* 2007-11-30 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-11-301-51/+131
| | | | | | * shared/include/grspw.h, shared/spw/grspw.c: GRSPW SpaceWire Driver. Fixes typecast to volatile integer instead of to integer. Added scanning for GRSPW2 Core, The GRSPW2 core is run in legacy mode.
* 2007-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-131-1/+0
| | | | | * shared/spw/grspw.c: Remove include of sched.h. It does not appear to be needed and is unavailable when POSIX is disabled.
* 2007-09-12 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-09-121-1/+0
| | | | | * shared/can/grcan.c, shared/include/debug_defs.h, shared/spw/grspw.c: Remove use of DEBUG_printf.
* 2007-09-07 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-09-072-4/+9
| | | | | | * shared/1553/b1553brm.c, shared/can/grcan.c, shared/can/grcan_rasta.c, shared/can/occan.c, shared/spw/grspw.c, shared/spw/grspw_pci.c, shared/uart/apbuart.c: Remove warnings.
* 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-09-063-0/+1925
New drivers: PCI, b1553BRM, SpaceWire(GRSPW), CAN (GRCAN,OC_CAN), Raw UART. * shared/1553/b1553brm.c, shared/1553/b1553brm_pci.c, shared/1553/b1553brm_rasta.c, shared/can/grcan.c, shared/can/grcan_rasta.c, shared/can/occan.c, shared/can/occan_pci.c, shared/spw/grspw.c, shared/spw/grspw_pci.c, shared/spw/grspw_rasta.c, shared/uart/apbuart.c, shared/uart/apbuart_pci.c, shared/uart/apbuart_rasta.c: New files missed in previous commit.