From: Sepherosa Ziehau Date: Wed, 23 Jan 2013 09:34:33 +0000 (+0800) Subject: if: Update comment about polling cpuid ioctl variables, which is deprecated X-Git-Tag: v3.4.0rc~456 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/0eb27f319979ee6189f8ef83e8ea9ea8004fbaa4 if: Update comment about polling cpuid ioctl variables, which is deprecated --- diff --git a/sys/net/if.h b/sys/net/if.h index 2864a68086..35f6bb6231 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -272,7 +272,7 @@ struct ifreq { #define ifr_reqcap ifr_ifru.ifru_cap[0] /* requested capabilities */ #define ifr_curcap ifr_ifru.ifru_cap[1] /* current capabilities */ #define ifr_index ifr_ifru.ifru_index /* interface index */ -#define ifr_pollcpu ifr_ifru.ifru_pollcpu /* polling(4) cpu */ +#define ifr_pollcpu ifr_ifru.ifru_pollcpu /* deprecated */ #define ifr_tsolen ifr_ifru.ifru_tsolen /* max TSO length */ }; diff --git a/sys/sys/sockio.h b/sys/sys/sockio.h index 9e197a37c3..a43d314788 100644 --- a/sys/sys/sockio.h +++ b/sys/sys/sockio.h @@ -126,8 +126,8 @@ #define SIOCGIFGMEMB _IOWR('i', 138, struct ifgroupreq) /* get members */ -#define SIOCSIFPOLLCPU _IOW('i', 125, struct ifreq) /* set polling(4) cpu */ -#define SIOCGIFPOLLCPU _IOWR('i', 126, struct ifreq) /* set polling(4) cpu */ +#define SIOCSIFPOLLCPU _IOW('i', 125, struct ifreq) /* deprecated */ +#define SIOCGIFPOLLCPU _IOWR('i', 126, struct ifreq) /* deprecated */ #define SIOCSIFTSOLEN _IOW('i', 127, struct ifreq) /* set max TSO len */ #define SIOCGIFTSOLEN _IOWR('i', 128, struct ifreq) /* get max TSO len */