Commit 95676a77 authored by Sujatha Banoth's avatar Sujatha Banoth

Updated the license header for QDMA Linux Driver application include files

Updated the license header for QDMA Linux Driver application include files
parent e5dfada9
/* /*
* This file is part of the Xilinx DMA IP Core driver for Linux * This file is part of the Xilinx DMA IP Core driver for Linux
* *
* Copyright (c) 2017-2020, Xilinx, Inc. * Copyright (c) 2018-2020, Xilinx, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is free software; you can redistribute it and/or modify it * This source code is licensed under both the BSD-style license (found in the
* under the terms and conditions of the GNU General Public License, * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* version 2, as published by the Free Software Foundation. * in the COPYING file in the root directory of this source tree).
* * You may select, at your option, one of the above-listed licenses.
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* The full GNU General Public License is included in this distribution in
* the file called "COPYING".
*/ */
#ifndef QDMA_NL_H__ #ifndef QDMA_NL_H__
#define QDMA_NL_H__ #define QDMA_NL_H__
/** /**
* @file * @file
* @brief This file contains the declarations for qdma netlink interfaces * @brief This file contains the declarations for qdma netlink interfaces
* *
*/ ** physical function name (no more than 15 characters) */
/** physical function name (no more than 15 characters) */
#define XNL_NAME_PF "xnl_pf" #define XNL_NAME_PF "xnl_pf"
/** virtual function name */ /** virtual function name */
#define XNL_NAME_VF "xnl_vf" #define XNL_NAME_VF "xnl_vf"
......
...@@ -4,19 +4,12 @@ ...@@ -4,19 +4,12 @@
* Copyright (c) 2018-2020, Xilinx, Inc. * Copyright (c) 2018-2020, Xilinx, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is free software; you can redistribute it and/or modify it * This source code is licensed under both the BSD-style license (found in the
* under the terms and conditions of the GNU General Public License, * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* version 2, as published by the Free Software Foundation. * in the COPYING file in the root directory of this source tree).
* * You may select, at your option, one of the above-listed licenses.
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* The full GNU General Public License is included in this distribution in
* the file called "COPYING".
*/ */
#include "qdma_reg_dump.h" #include "qdma_reg_dump.h"
#ifndef __QDMA_USER_REG_DUMP_H__ #ifndef __QDMA_USER_REG_DUMP_H__
......
...@@ -4,19 +4,12 @@ ...@@ -4,19 +4,12 @@
* Copyright (c) 2018-2020, Xilinx, Inc. * Copyright (c) 2018-2020, Xilinx, Inc.
* All rights reserved. * All rights reserved.
* *
* This source code is free software; you can redistribute it and/or modify it * This source code is licensed under both the BSD-style license (found in the
* under the terms and conditions of the GNU General Public License, * LICENSE file in the root directory of this source tree) and the GPLv2 (found
* version 2, as published by the Free Software Foundation. * in the COPYING file in the root directory of this source tree).
* * You may select, at your option, one of the above-listed licenses.
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* The full GNU General Public License is included in this distribution in
* the file called "COPYING".
*/ */
#ifndef __XDEV_REGS_H__ #ifndef __XDEV_REGS_H__
#define __XDEV_REGS_H__ #define __XDEV_REGS_H__
...@@ -83,8 +76,7 @@ static struct xreg_info qdma_config_regs[] = { ...@@ -83,8 +76,7 @@ static struct xreg_info qdma_config_regs[] = {
{"GLBL_DSC_ERR_LOG2", 0x27C, 0, 0, 0, 0,}, {"GLBL_DSC_ERR_LOG2", 0x27C, 0, 0, 0, 0,},
{"GLBL_INTERRUPT_CFG", 0x288, 0, 0, 0, 0,}, {"GLBL_INTERRUPT_CFG", 0x288, 0, 0, 0, 0,},
/* QDMA_TRQ_SEL_FMAP (0x00400 - 0x7FC) */ /* QDMA_TRQ_SEL_FMAP (0x00400 - 0x7FC) * TODO: max 256, display 4 for now */
/* TODO: max 256, display 4 for now */
{"TRQ_SEL_FMAP", 0x400, 4, 0, 0, 0,}, {"TRQ_SEL_FMAP", 0x400, 4, 0, 0, 0,},
/* QDMA_TRQ_SEL_IND (0x00800) */ /* QDMA_TRQ_SEL_IND (0x00800) */
......
...@@ -3994,7 +3994,7 @@ int qdma_hw_error_process(void *dev_hndl) ...@@ -3994,7 +3994,7 @@ int qdma_hw_error_process(void *dev_hndl)
* *
* Return: 0 - success and < 0 - failure * Return: 0 - success and < 0 - failure
*****************************************************************************/ *****************************************************************************/
int qdma_hw_error_enable(void *dev_hndl, enum qdma_error_idx err_idx) int qdma_hw_error_enable(void *dev_hndl, uint32_t err_idx)
{ {
uint32_t idx = 0, i = 0; uint32_t idx = 0, i = 0;
uint32_t reg_val = 0; uint32_t reg_val = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment