dsa.c (a6a71f19fe5e05a90e0bd2487b87aba60a7bfbe0) | dsa.c (e8fe177a62feaf576cd9869d9bfedf9c9574bb12) |
---|---|
1/* 2 * net/dsa/dsa.c - Hardware switch handling 3 * Copyright (c) 2008-2009 Marvell Semiconductor 4 * Copyright (c) 2013 Florian Fainelli <florian@openwrt.org> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 44 unchanged lines hidden (view full) --- 53 [DSA_TAG_PROTO_BRCM] = &brcm_netdev_ops, 54#endif 55#ifdef CONFIG_NET_DSA_TAG_QCA 56 [DSA_TAG_PROTO_QCA] = &qca_netdev_ops, 57#endif 58#ifdef CONFIG_NET_DSA_TAG_MTK 59 [DSA_TAG_PROTO_MTK] = &mtk_netdev_ops, 60#endif | 1/* 2 * net/dsa/dsa.c - Hardware switch handling 3 * Copyright (c) 2008-2009 Marvell Semiconductor 4 * Copyright (c) 2013 Florian Fainelli <florian@openwrt.org> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 44 unchanged lines hidden (view full) --- 53 [DSA_TAG_PROTO_BRCM] = &brcm_netdev_ops, 54#endif 55#ifdef CONFIG_NET_DSA_TAG_QCA 56 [DSA_TAG_PROTO_QCA] = &qca_netdev_ops, 57#endif 58#ifdef CONFIG_NET_DSA_TAG_MTK 59 [DSA_TAG_PROTO_MTK] = &mtk_netdev_ops, 60#endif |
61#ifdef CONFIG_NET_DSA_TAG_LAN9303 62 [DSA_TAG_PROTO_LAN9303] = &lan9303_netdev_ops, 63#endif |
|
61 [DSA_TAG_PROTO_NONE] = &none_ops, 62}; 63 64int dsa_cpu_dsa_setup(struct dsa_switch *ds, struct device *dev, 65 struct dsa_port *dport, int port) 66{ 67 struct device_node *port_dn = dport->dn; 68 struct phy_device *phydev; --- 189 unchanged lines hidden --- | 64 [DSA_TAG_PROTO_NONE] = &none_ops, 65}; 66 67int dsa_cpu_dsa_setup(struct dsa_switch *ds, struct device *dev, 68 struct dsa_port *dport, int port) 69{ 70 struct device_node *port_dn = dport->dn; 71 struct phy_device *phydev; --- 189 unchanged lines hidden --- |