...
 
Commits (5)
[submodule "zio"]
path = zio
url = git://ohwr.org/misc/zio.git
url = https://ohwr.org/project/zio.git
[submodule "fmc-bus"]
path = fmc-bus
url = git://ohwr.org/fmc-projects/fmc-bus.git
url = https://ohwr.org/project/fmc-bus.git
This diff is collapsed.
This diff is collapsed.
CONFIG_FMC_ADC_SVEC ?= CONFIG_VME
SVEC_SW_EXTRA_SYMBOLS-$(CONFIG_FMC_ADC_SVEC) := $(VMEBUS_ABS)/driver/Module.symvers
VMEBUS_EXTRA_SYMBOLS-$(CONFIG_FMC_ADC_SVEC) := $(VMEBUS_ABS)/driver/Module.symvers
KBUILD_EXTRA_SYMBOLS := \
$(ZIO_ABS)/Module.symvers \
$(FMC_BUS_ABS)/kernel/Module.symvers \
$(SVEC_SW_EXTRA_SYMBOLS-y)
$(VMEBUS_EXTRA_SYMBOLS-y)
# add versions of supermodule. It is useful when fine-delay-sw is included as sub-module
# of a bigger project that we want to track
......
......@@ -5,7 +5,8 @@ CURDIR:=$(shell /bin/pwd)
REPO_PARENT ?= $(CURDIR)/../..
-include $(REPO_PARENT)/parent_common.mk
LINUX ?= /lib/modules/$(shell uname -r)/build
KVERSION ?= $(shell uname -r)
LINUX ?= /lib/modules/$(KVERSION)/build
FMC_BUS ?= ../fmc-bus
ZIO ?= ../zio
SVEC_SW ?= ../svec-sw
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* EEPROM calibration block retreival code for fa-dev
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*/
#include "fmc-adc-100m14b4cha.h"
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* core fmc-adc-100m14b driver
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Copyright (C) 2012-2019 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@gmail.com>
* Copied from fine-delay fd-core.c
*
*/
#include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright CERN 2018
* Copyright CERN 2018-2019
* Author: Federico Vaga <federico.vaga@cern.ch>
*/
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright CERN 2012
* Copyright CERN 2012-2019
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* IRQ-related code
*/
#include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright CERN 2012
* Copyright CERN 2012-2019
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* Table of register masks, used by driver functions
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* core-spec fmc-adc-100m14b driver
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Copyright (C) 2012-2019 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@gmail.com>
* Copied from fine-delay
*
*/
#include <linux/time.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright CERN 2012
* Copyright CERN 2012-2019
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* handle DMA mapping
*/
#include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright CERN 2012
* Copyright CERN 2012-2019
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* IRQ function handler
*/
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright CERN 2012
*
* Header for the fmc-adc-100m14b spec driver
*
* Copyright CERN 2012-2019
*/
#ifndef __FA_SPEC_CORE_H__
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* core-spec fmc-adc-100m14b driver
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Copyright (C) 2012-2019 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@gmail.com>
* Copied from fine-delay
*
*/
#include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2012-2019 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@gmail.com>
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <asm/byteorder.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright CERN 2012
* Copyright CERN 2012-2019
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* Table of register masks, used by driver functions
*/
#include "fa-svec.h"
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright CERN 2012
*
* Header for the fmc-adc-100m14b spec driver
*
* Copyright CERN 2012-2019
*/
#ifndef __FA_SVEC_CORE_H__
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright CERN 2012
* Copyright CERN 2012-2019
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* Driver for the mezzanine ADC for the SPEC
*/
#include <linux/kernel.h>
#include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright CERN 2012, author Federico Vaga
*
* Trigger for the driver of the mezzanine ADC
* Copyright CERN 2012-2019
* Author: Federico Vaga
*/
#include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright 2012 Federico Vaga
*
* GNU GPLv2 or later
* Copyright 2012-2019 Federico Vaga
*/
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright CERN 2012
* Copyright CERN 2012-2019
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* Header for the mezzanine ADC for the SPEC
*/
#ifndef FMC_ADC_100M14B4C_H_
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Some utility functions not supported in the current version of fmc-bus.
*
* Copyright (C) 2012-2013 CERN (www.cern.ch)
* Copyright (C) 2012-2019 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
* Author: Alessandro Rubini <rubini@gnudd.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*/
#include <linux/fmc.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Access to 1w thermometer
*
......@@ -6,11 +7,6 @@
* Author: Alessandro Rubini <rubini@gnudd.com>
*
* Copied from the fine-delay driver and updated with fmc-adc variable
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*/
#include <linux/jiffies.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* SPI access to fine-delay internals
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*/
#include <linux/jiffies.h>
......
// SPDX-License-Identifier: GPL-3.0-or-later
/*
* Copyright 2012 CERN
* Author: Federico Vaga <federico.vaga@gmail.comZ
* License: GPLv2
* Copyright 2012-2019 CERN
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* This is a simple program which calculate the acquisition time.
*/
......
// SPDX-License-Identifier: GPL-3.0-or-later
/*
* Copyright 2012 CERN
* Author: Federico Vaga <federico.vaga@gmail.comZ
* License: GPLv2
* Copyright 2012-2019 CERN
* Author: Federico Vaga <federico.vaga@gmail.com>
*
* This is a simple program to configure the FMC ADC trigger. It is not bug
* aware because it is only a demo program to show you how you can handle the
......
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* a simple output tool to make a burst on a parallel port
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Alessandro Rubini <rubini@gnudd.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2 as published by the Free Software Foundation or, at your
* option, any later version.
*/
#include <stdio.h>
#include <stdint.h>
......
Subproject commit 0765fa5d25466524889e9f5fb8976fbf429fabb3
Subproject commit d8bef4d89361194c2e5644e751add9bd9ffa106d