summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-08leon, grspw_pkt: fix stscfg cfg TimeCode Int clrrcc-1.2-scheduled-8aprDaniel Hellstrom
Without this patch time code interrupts was never cleared in the STATUS register.
2016-04-07leon, grspw_pkt: split DMA sem into RX and TX semDaniel Hellstrom
By introducing a spearate RX and TX DMA channel semaphore RX operations and TX operations does not block each other. Stopping a DMA channel needs now to take both RX and TX semaphores to block out both RX and TX tasks.
2016-04-07leon, grspw_pkt: coding style fixDaniel Hellstrom
2016-04-04leon, grspw_pkt: allow user controlled DMA intrDaniel Hellstrom
The user has already the power to control which DMA buffer will generate interrupt, but no clean way to enable RX/TX interrupts on DMA channel. Without this patch the user had to init DMA config rx/tx_irq_en_cnt to a very large value.
2016-04-04leon, grspw_pkt: support for reading tx/rx DMA queueDaniel Hellstrom
* Add support for reading the GRSPW TX/RX descriptor counters directly. * Add semaphore lock to counters to avoid couters being out of sync * This makes it possible for the user in polling mode to check the amount of work before entering RX/TX descriptor table processing.
2016-03-29leon, grspw_pkt: fixed device/dma closingDaniel Hellstrom
The user is now responsible to stop and close the DMA channels before closing the device. To prevent complicated situations and blocking the caller of grspw_close and grspw_dma_close a return code was added to indicate to the user that the DMA may not have been stopped or that blocked tasks are still active within the driver for the specified device.
2016-03-29leon, grspw_pkt: coding style fixupsDaniel Hellstrom
2016-03-29leon, grspw_pkt: fixed and improved RX/TX waitDaniel Hellstrom
2016-03-29leon, grspw_pkt: fixed error return path in dma_openDaniel Hellstrom
2016-03-22leon, grspw_pkt: Manual handling of link status eventsDaniel Hellstrom
Added functionality for manual handling of link status events, configurable via grspw_link_ctrl. Added statistics counter for disconnect error.
2016-03-22leon, grspw_pkt: added link_ctrl optionsDaniel Hellstrom
Improved the link error handling options. Its now possible to disable the link on individual link errors/warnings instead of always on all or none. Changed name of LINKOPTS_IRQ to LINKOPTS_EIRQ to match Linux and VxWorks SpW driver.
2016-03-22leon, grspw_pkt: added grspw_link_status_clr() to APIDaniel Hellstrom
2016-03-22leon, grspw_pkt: code style clean-upsDaniel Hellstrom
2016-03-21leon: GPTIMER start/reset must take RS and IP into accountDaniel Hellstrom
2016-03-21leon: RMAP tid_msb must be used as unsignedDaniel Hellstrom
2016-03-21leon: Fix ambapp_bus OCCAN device registeration orderDaniel Hellstrom
NOTE that this will change the association of /dev/occanN with OCCAN[N] device to the same order as in hardware. This means that if you have been useing /dev/occan0 before you have to use /dev/occan1 on a dual OCCAN device system (this affects GR712RC).
2015-10-27GRSPW_PKT: Preserve DMA address enable at start.Martin Aberg
The EN bit (enable separate node address for this channel) is preserved when grspw_dma_start is called. This preserves any previous address configuration.
2015-10-20GRSPW_PKT: Fixed txpkt flag for link errorMartin Aberg
There was a mixup between the transmit descriptor Link error (LE) bit and Interrupt enable (IE) bit. TXPKT_FLAG_LINKERR now correctly indicates the link error condition.
2015-08-03RMAP: Correct allocation of rmap_async_priv.Martin Aberg
2015-06-30GRSPW_PKT: Fixed parameter check in grspw_dma_open()Martin Aberg
2015-04-13GR1553B: RT status words register declarations fixDaniel Hellstrom
The fix does not affect the driver since the bit definitions were never used by the GR5133B drivers. However it could affect and application using the definitions.
2015-03-23GR1553B: comment cleanuprcc-v1.2.18Daniel Hellstrom
2015-03-23LIBPCI: cleanupDaniel Hellstrom
2015-03-23grspw: rxPktSize must set DMA RX max lengthDaniel Hellstrom
2015-01-26SPWTDP: External datation registersMartin Aberg
Added External datation registers to the GRSPWTDP register description.
2014-11-04GRTM: fixed descriptor TS bit declarationrcc-v1.2.17Daniel Hellstrom
2014-11-04GRSPW_PKT: grspw_status renamed in headerDaniel Hellstrom
2014-08-08GR-RASTA-TMTC,rev1: add GRGPIO[0] register initDaniel Hellstrom
2014-08-08B1553BRM: change the init of the RT legalization registersDaniel Hellstrom
2014-05-02GRSPW: added clock cycles after GRSPW resetrcc-v1.2.16Daniel Hellstrom
added clock cycles after GRSPW reset to make sure CTRL.START bit write actually have an effect. Wait until reset is completed.
2014-03-07SPWTDP: clear interrupt status on interruptrcc-v1.2.15Daniel Hellstrom
2014-03-07GRSPW_PKT: Add support for Interrupt-codesAndreas Larsson
Update: Daniel Hellstrom updated SpW-IRQ implementation accoring to changes in hardware register layout and features.
2014-03-07LEON PCI: fix for PCI host bridge driver CFG space accessDaniel Hellstrom
2014-03-07SPWTDP: add driver registration to drvmgrDaniel Hellstrom
2014-03-07LIBPCI: make pci_print print slot0 on bus0Daniel Hellstrom
2014-03-07RMAP: added new asynchonous interfaceDaniel Hellstrom
2014-03-07SPWTDP: updated driver against updated HW specDaniel Hellstrom
2014-01-27GRSPW: Fix incorrect register defines - presently functionally inconsequentialAndreas Larsson
2014-01-10LIBPCI: removed unused codeDaniel Hellstrom
2013-12-22SPWTDP: added SpW Time Distribution Protocol driverrcc-v1.2.14Daniel Hellstrom
This driver supports mainly device discovery and interrupt handling.
2013-12-22GR-RASTA-IO: updated for new versionDaniel Hellstrom
From this driver's point of view the major new thing is that the GRPCI peripheral PCI bridge has been updated to GRPCI2, the second version. This means that both Big and Little Endian systems are now supported and autodetected on runtime.
2013-12-22GR-RASTA-TMTC: updated for new versionDaniel Hellstrom
From this driver's point of view the major new thing is that the GRPCI peripheral PCI bridge has been updated to GRPCI2, the second version. This means that both Big and Little Endian systems are now supported and autodetected on runtime. The PCI frequency is used as AMBA frequency of the GR-RASTA-TMTC.
2013-12-20AMBAPP: updated PnP IDs database with SPWTDPDaniel Hellstrom
2013-12-18AT697PCI: fix PCI cfg writesDaniel Hellstrom
2013-11-29GRTIMER: added to GPTIMER driverrcc-v1.2.13Daniel Hellstrom
GRTIMER is compatible with GPTIMER, however the GPTIMER driver does not support the extended features of GRTIMER.
2013-11-22DRVMGR: added return error descriptionsDaniel Hellstrom
2013-11-22AT697 PCI: abort whhen a peripheral PCI system detectedDaniel Hellstrom
2013-10-22GRETH: avoid hw generated UDP/TCP cksum generationrcc-v1.2.12Daniel Hellstrom
Hardware generated checksum UDP packets does not work for IP fragmented UDP packets. It seems as if the BSD stack never signals to the GRETH driver to generate or not to generate TCP/UDP checksum for different cases. The GRETH driver never tells the BSD stack about it capabilities either so there is no point generating the cksums in HW when its done in SW any way. This patch disables hardware generated UDP and TCP checksums.
2013-10-22GRETH: avoid hw generated UDP/TCP cksum generationDaniel Hellstrom
Hardware generated checksum UDP packets does not work for IP fragmented UDP packets. It seems as if the BSD stack never signals to the GRETH driver to generate or not to generate TCP/UDP checksum for different cases. The GRETH driver never tells the BSD stack about it capabilities either so there is no point generating the cksums in HW when its done in SW any way. This patch disables hardware generated UDP and TCP checksums.
2013-09-18DEVFS mknod stored path pointer, now path is copied insteadDaniel Hellstrom