|
@@ -8797,7 +8797,9 @@ static void tg3_periodic_fetch_stats(struct tg3 *tp)
|
|
TG3_STAT_ADD32(&sp->rx_undersize_packets, MAC_RX_STATS_UNDERSIZE);
|
|
TG3_STAT_ADD32(&sp->rx_undersize_packets, MAC_RX_STATS_UNDERSIZE);
|
|
|
|
|
|
TG3_STAT_ADD32(&sp->rxbds_empty, RCVLPC_NO_RCV_BD_CNT);
|
|
TG3_STAT_ADD32(&sp->rxbds_empty, RCVLPC_NO_RCV_BD_CNT);
|
|
- if (GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5717) {
|
|
|
|
|
|
+ if (GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5717 &&
|
|
|
|
+ tp->pci_chip_rev_id != CHIPREV_ID_5719_A0 &&
|
|
|
|
+ tp->pci_chip_rev_id != CHIPREV_ID_5720_A0) {
|
|
TG3_STAT_ADD32(&sp->rx_discards, RCVLPC_IN_DISCARDS_CNT);
|
|
TG3_STAT_ADD32(&sp->rx_discards, RCVLPC_IN_DISCARDS_CNT);
|
|
} else {
|
|
} else {
|
|
u32 val = tr32(HOSTCC_FLOW_ATTN);
|
|
u32 val = tr32(HOSTCC_FLOW_ATTN);
|