mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
1ccea77e2a
Based on 2 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version 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 you should have received a copy of the gnu general public license along with this program if not see http www gnu org licenses this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version 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 [based] [from] [clk] [highbank] [c] you should have received a copy of the gnu general public license along with this program if not see http www gnu org licenses extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 355 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Jilayne Lovejoy <opensource@jilayne.com> Reviewed-by: Steve Winslow <swinslow@gmail.com> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190519154041.837383322@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
67 lines
1.4 KiB
C
67 lines
1.4 KiB
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Applied Micro X-Gene SoC Ethernet v2 Driver
|
|
*
|
|
* Copyright (c) 2017, Applied Micro Circuits Corporation
|
|
* Author(s): Iyappan Subramanian <isubramanian@apm.com>
|
|
*/
|
|
|
|
#ifndef __XGENE_ENET_V2_ETHTOOL_H__
|
|
#define __XGENE_ENET_V2_ETHTOOL_H__
|
|
|
|
struct xge_gstrings_stats {
|
|
char name[ETH_GSTRING_LEN];
|
|
int offset;
|
|
};
|
|
|
|
struct xge_gstrings_extd_stats {
|
|
char name[ETH_GSTRING_LEN];
|
|
u32 addr;
|
|
u32 value;
|
|
};
|
|
|
|
#define TR64 0xa080
|
|
#define TR127 0xa084
|
|
#define TR255 0xa088
|
|
#define TR511 0xa08c
|
|
#define TR1K 0xa090
|
|
#define TRMAX 0xa094
|
|
#define TRMGV 0xa098
|
|
#define RFCS 0xa0a4
|
|
#define RMCA 0xa0a8
|
|
#define RBCA 0xa0ac
|
|
#define RXCF 0xa0b0
|
|
#define RXPF 0xa0b4
|
|
#define RXUO 0xa0b8
|
|
#define RALN 0xa0bc
|
|
#define RFLR 0xa0c0
|
|
#define RCDE 0xa0c4
|
|
#define RCSE 0xa0c8
|
|
#define RUND 0xa0cc
|
|
#define ROVR 0xa0d0
|
|
#define RFRG 0xa0d4
|
|
#define RJBR 0xa0d8
|
|
#define RDRP 0xa0dc
|
|
#define TMCA 0xa0e8
|
|
#define TBCA 0xa0ec
|
|
#define TXPF 0xa0f0
|
|
#define TDFR 0xa0f4
|
|
#define TEDF 0xa0f8
|
|
#define TSCL 0xa0fc
|
|
#define TMCL 0xa100
|
|
#define TLCL 0xa104
|
|
#define TXCL 0xa108
|
|
#define TNCL 0xa10c
|
|
#define TPFH 0xa110
|
|
#define TDRP 0xa114
|
|
#define TJBR 0xa118
|
|
#define TFCS 0xa11c
|
|
#define TXCF 0xa120
|
|
#define TOVR 0xa124
|
|
#define TUND 0xa128
|
|
#define TFRG 0xa12c
|
|
|
|
void xge_set_ethtool_ops(struct net_device *ndev);
|
|
|
|
#endif /* __XGENE_ENET_V2_ETHTOOL_H__ */
|