diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 744f90a..714af89 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -8181,6 +8181,9 @@ static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) else tp->rx_buf_sz = 16383; + tp->event_slow = cfg->event_slow; + + rtl_init_rxcfg(tp); rtl_irq_disable(tp); @@ -8189,7 +8192,7 @@ static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) rtl_hw_reset(tp); - rtl_ack_events(tp, 0xffff); + rtl_ack_events(tp, 0xffff & tp->event_slow); pci_set_master(pdev); @@ -8325,7 +8328,7 @@ static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) dev->hw_features |= NETIF_F_RXFCS; tp->hw_start = cfg->hw_start; - tp->event_slow = cfg->event_slow; + //tp->event_slow = cfg->event_slow; tp->opts1_mask = (tp->mac_version != RTL_GIGA_MAC_VER_01) ? ~(RxBOVF | RxFOVF) : ~0;