xref: /linux/drivers/net/ethernet/aquantia/atlantic/aq_ethtool.h (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * aQuantia Corporation Network Driver
4  * Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
5  */
6 
7 /* File aq_ethtool.h: Declaration of ethertool related functions. */
8 
9 #ifndef AQ_ETHTOOL_H
10 #define AQ_ETHTOOL_H
11 
12 #include "aq_common.h"
13 
14 extern const struct ethtool_ops aq_ethtool_ops;
15 #define AQ_PRIV_FLAGS_MASK   (AQ_HW_LOOPBACK_MASK)
16 
17 #define SFF_8472_ID_ADDR 0x50
18 #define SFF_8472_DIAGNOSTICS_ADDR 0x51
19 
20 #define SFF_8472_COMP_ADDR	0x5e
21 #define SFF_8472_DOM_TYPE_ADDR	0x5c
22 
23 #define SFF_8472_ADDRESS_CHANGE_REQ_MASK 0x4
24 
25 #endif /* AQ_ETHTOOL_H */
26