mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
marvell:Add compilation support to driver
- Renamed the directory to oak - Updated the make files to compile the source - Removed unused script ESDP-16549 Bug 3882239 Bug 3824037 Change-Id: I1dee5def85b6e25f88dff999f1051bfe62d5613b Signed-off-by: Sheetal Tigadoli <stigadoli@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2856988 Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
afd05b80bd
commit
748fa9c699
39
drivers/net/ethernet/marvell/oak/oak_ioc_lgen.h
Normal file
39
drivers/net/ethernet/marvell/oak/oak_ioc_lgen.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
*
|
||||
* If you received this File from Marvell, you may opt to use, redistribute and/or
|
||||
* modify this File in accordance with the terms and conditions of the General
|
||||
* Public License Version 2, June 1991 (the "GPL License"), a copy of which is
|
||||
* available along with the File in the license.txt file or by writing to the Free
|
||||
* Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 or
|
||||
* on the worldwide web at http://www.gnu.org/licenses/gpl.txt.
|
||||
* THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY
|
||||
* DISCLAIMED. The GPL License provides additional details about this warranty
|
||||
* disclaimer.
|
||||
*
|
||||
*/
|
||||
#ifndef H_OAK_IOC_LGEN
|
||||
#define H_OAK_IOC_LGEN
|
||||
|
||||
typedef struct oak_ioc_lgenstruct {
|
||||
#define OAK_IOCTL_LGEN (SIOCDEVPRIVATE + 3)
|
||||
#define OAK_IOCTL_LGEN_INIT BIT(0)
|
||||
#define OAK_IOCTL_LGEN_TX_DATA BIT(1)
|
||||
#define OAK_IOCTL_LGEN_TX_START BIT(2)
|
||||
#define OAK_IOCTL_LGEN_TX_STOP BIT(3)
|
||||
#define OAK_IOCTL_LGEN_RX_START BIT(4)
|
||||
#define OAK_IOCTL_LGEN_RX_STOP BIT(5)
|
||||
#define OAK_IOCTL_LGEN_RX_DATA BIT(6)
|
||||
#define OAK_IOCTL_LGEN_RELEASE BIT(7)
|
||||
#define OAK_IOCTL_LGEN_TX_RESET BIT(8)
|
||||
#define OAK_IOCTL_LGEN_RX_RESET BIT(9)
|
||||
__u32 cmd;
|
||||
__u32 offs;
|
||||
__u32 len;
|
||||
__u32 channel;
|
||||
__u32 count;
|
||||
char data[32];
|
||||
int error;
|
||||
} oak_ioc_lgen;
|
||||
|
||||
#endif /* #ifndef H_OAK_IOC_LGEN */
|
||||
Reference in New Issue
Block a user