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