Colonel Debian,

compiling Realtek driver for PCIe GBE Family (Network-)Controller
        
        r8168-8.044.02

was no problem with previous kernels.

Kernel 4.12.0.1 leads to:

        /home/administrator/Downloads/r8168-8.044.02/src/r8168_n.c: In
function 'rtl8168_rx_interrupt':
        /home/administrator/Downloads/r8168-8.044.02/src/r8168_n.c:25735:28:
error: 'struct net_device' has no member named 'last_rx'
                                 dev->last_rx = jiffies;
                                    ^~

My question now is:
        What happened to 

                        dev->last_rx

        and how could I have known.


Btw : commenting out 

                /home/administrator/Downloads/r8168-8.044.02/src/r8168_n.c
                :
                                        if (rtl8168_rx_vlan_skb(tp, desc,
skb) < 0)
                                                rtl8168_rx_skb(tp, skb);
                
                //                        dev->last_rx = jiffies;
// noGo 4.12.0.1 
                                        RTLDEV->stats.rx_bytes += pkt_size;
                                        RTLDEV->stats.rx_packets++;
                                }
                :

        works  fine - fluently and  without errors ...


Thank you for your work and your attention.

lll


Reply via email to