xref: /OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/qca_debug.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  *   Copyright (c) 2011, 2012, Qualcomm Atheros Communications Inc.
3*4882a593Smuzhiyun  *   Copyright (c) 2014, I2SE GmbH
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  *   Permission to use, copy, modify, and/or distribute this software
6*4882a593Smuzhiyun  *   for any purpose with or without fee is hereby granted, provided
7*4882a593Smuzhiyun  *   that the above copyright notice and this permission notice appear
8*4882a593Smuzhiyun  *   in all copies.
9*4882a593Smuzhiyun  *
10*4882a593Smuzhiyun  *   THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11*4882a593Smuzhiyun  *   WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12*4882a593Smuzhiyun  *   WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
13*4882a593Smuzhiyun  *   THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
14*4882a593Smuzhiyun  *   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15*4882a593Smuzhiyun  *   LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
16*4882a593Smuzhiyun  *   NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
17*4882a593Smuzhiyun  *   CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18*4882a593Smuzhiyun  */
19*4882a593Smuzhiyun 
20*4882a593Smuzhiyun /*   This file contains debugging routines for use in the QCA7K driver.
21*4882a593Smuzhiyun  */
22*4882a593Smuzhiyun 
23*4882a593Smuzhiyun #ifndef _QCA_DEBUG_H
24*4882a593Smuzhiyun #define _QCA_DEBUG_H
25*4882a593Smuzhiyun 
26*4882a593Smuzhiyun #include "qca_spi.h"
27*4882a593Smuzhiyun 
28*4882a593Smuzhiyun void qcaspi_init_device_debugfs(struct qcaspi *qca);
29*4882a593Smuzhiyun 
30*4882a593Smuzhiyun void qcaspi_remove_device_debugfs(struct qcaspi *qca);
31*4882a593Smuzhiyun 
32*4882a593Smuzhiyun void qcaspi_set_ethtool_ops(struct net_device *dev);
33*4882a593Smuzhiyun 
34*4882a593Smuzhiyun #endif /* _QCA_DEBUG_H */
35