#18358: HG255D Wired port can not be used
----------------------+----------------------------------
  Reporter:  fclql    |      Owner:  developers
      Type:  defect   |     Status:  new
  Priority:  highest  |  Milestone:  Chaos Calmer (trunk)
 Component:  kernel   |    Version:  Trunk
Resolution:           |   Keywords:
----------------------+----------------------------------

Comment (by fclql@…):

 Problems locked in r43237
 ralink_soc_eth.c

 {{{
                 if (IS_ENABLED(CONFIG_SOC_MT7621)) {
                                 storage->rx_packets =
 dev->stats.rx_packets;
                                 storage->tx_packets =
 dev->stats.tx_packets;
                                 storage->rx_bytes = dev->stats.rx_bytes;
                                 storage->tx_bytes = dev->stats.tx_bytes;
                         } else {
                                 storage->rx_packets = hwstats->rx_packets;
                                 storage->tx_packets = hwstats->tx_packets;
                                 storage->rx_bytes = hwstats->rx_bytes;
                                 storage->tx_bytes = hwstats->tx_bytes;
                         }
 ......

                 if (IS_ENABLED(CONFIG_SOC_MT7620))
                                 txd->txd4 |= TX_DMA_INS_VLAN_MT7621 |
 vlan_tx_tag_get(skb);

                         else
                                 txd->txd4 |= TX_DMA_INS_VLAN |
                                         ((vlan_tx_tag_get(skb) >>
 VLAN_PRIO_SHIFT) << 4) |
                                         (vlan_tx_tag_get(skb) & 0xF);
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/18358#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to