slave.c (ce31b31c68e7e39f29b1257581fbd08ce3ca5589) | slave.c (5037d532b83d7325a2743dffe82882a64697a8e8) |
---|---|
1/* 2 * net/dsa/slave.c - Slave device handling 3 * Copyright (c) 2008-2009 Marvell Semiconductor 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 437 unchanged lines hidden (view full) --- 446 ds->dst->ops = &edsa_netdev_ops; 447 break; 448#endif 449#ifdef CONFIG_NET_DSA_TAG_TRAILER 450 case htons(ETH_P_TRAILER): 451 ds->dst->ops = &trailer_netdev_ops; 452 break; 453#endif | 1/* 2 * net/dsa/slave.c - Slave device handling 3 * Copyright (c) 2008-2009 Marvell Semiconductor 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 437 unchanged lines hidden (view full) --- 446 ds->dst->ops = &edsa_netdev_ops; 447 break; 448#endif 449#ifdef CONFIG_NET_DSA_TAG_TRAILER 450 case htons(ETH_P_TRAILER): 451 ds->dst->ops = &trailer_netdev_ops; 452 break; 453#endif |
454#ifdef CONFIG_NET_DSA_TAG_BRCM 455 case htons(ETH_P_BRCMTAG): 456 ds->dst->ops = &brcm_netdev_ops; 457 break; 458#endif |
|
454 default: 455 ds->dst->ops = ¬ag_netdev_ops; 456 break; 457 } 458 459 SET_NETDEV_DEV(slave_dev, parent); 460 slave_dev->dev.of_node = ds->pd->port_dn[port]; 461 slave_dev->vlan_features = master->vlan_features; --- 35 unchanged lines hidden --- | 459 default: 460 ds->dst->ops = ¬ag_netdev_ops; 461 break; 462 } 463 464 SET_NETDEV_DEV(slave_dev, parent); 465 slave_dev->dev.of_node = ds->pd->port_dn[port]; 466 slave_dev->vlan_features = master->vlan_features; --- 35 unchanged lines hidden --- |