xref: /linux/drivers/net/dsa/microchip/ksz8.h (revision 78c1930198fc63f2d4761848cbe148c5b2958b01)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Microchip KSZ8XXX series register access
4  *
5  * Copyright (C) 2020 Pengutronix, Michael Grzeschik <kernel@pengutronix.de>
6  */
7 
8 #ifndef __KSZ8XXX_H
9 #define __KSZ8XXX_H
10 
11 #include <linux/types.h>
12 #include <net/dsa.h>
13 #include "ksz_common.h"
14 
15 extern const struct ksz_dev_ops ksz8463_dev_ops;
16 extern const struct ksz_dev_ops ksz87xx_dev_ops;
17 extern const struct ksz_dev_ops ksz88xx_dev_ops;
18 extern const struct phylink_mac_ops ksz88x3_phylink_mac_ops;
19 extern const struct phylink_mac_ops ksz8_phylink_mac_ops;
20 extern const struct dsa_switch_ops ksz8463_switch_ops;
21 extern const struct dsa_switch_ops ksz87xx_switch_ops;
22 extern const struct dsa_switch_ops ksz88xx_switch_ops;
23 
24 #endif
25