Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ifstats changes not yet applied to plip(4)?



Following this commit:

  http://mail-index.netbsd.org/source-changes/2020/02/04/msg113679.html

kernels with ppbus(4) and plip(4) still fail, but there are fewer complaints
about missing "struct ifnet" members:

[...]
/x/current/src/sys/dev/ppbus/if_plip.c: In function 'lp_intr':
/x/current/src/sys/dev/ppbus/if_plip.c:639:8: error: 'struct ifnet' has no member named 'if_iqdrops'; did you mean 'if_addrlist'?
   ifp->if_iqdrops++;
        ^~~~~~~~~~
        if_addrlist
/x/current/src/sys/dev/ppbus/if_plip.c:646:8: error: 'struct ifnet' has no member named 'if_iqdrops'; did you mean 'if_addrlist'?
   ifp->if_iqdrops++;
        ^~~~~~~~~~
        if_addrlist
/x/current/src/sys/dev/ppbus/if_plip.c:650:7: error: 'struct ifnet' has no member named 'if_ipackets'; did you mean 'if_stats'?
  ifp->if_ipackets++;
       ^~~~~~~~~~~
       if_stats
/x/current/src/sys/dev/ppbus/if_plip.c:651:7: error: 'struct ifnet' has no member named 'if_ibytes'; did you mean 'if_index'?
  ifp->if_ibytes += len;
       ^~~~~~~~~
       if_index
/x/current/src/sys/dev/ppbus/if_plip.c: In function 'lpoutput':
/x/current/src/sys/dev/ppbus/if_plip.c:727:8: error: 'struct ifnet' has no member named 'if_noproto'; did you mean 'if_softc'?
   ifp->if_noproto++;
        ^~~~~~~~~~
        if_softc
*** [if_plip.o] Error code 1


Thanks.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index