Modify

Opened 3 years ago

Last modified 3 years ago

#18358 new defect

HG255D Wired port can not be used

Reported by: fclql Owned by: developers
Priority: highest Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: Cc:

Description

After the upgrade r43276 LAN can not get ip
Wireless can be used

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by fclql

Problems locked in r13237
ralink_soc_eth.c
soc_rt305x.c

comment:2 Changed 3 years ago 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);

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.