Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2013 21:40:14 +0400
From:      Sergey Kandaurov <pluknet@freebsd.org>
To:        Andre Oppermann <andre@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r257391 - in head/sys: dev/snc mips/nlm/dev/net
Message-ID:  <CAE-mSOKP-abGDovVTScz7X2ZQBLA_aOORRecyrA7zM5wPfOZ2Q@mail.gmail.com>
In-Reply-To: <201310301656.r9UGul3V061251@svn.freebsd.org>
References:  <201310301656.r9UGul3V061251@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 October 2013 20:56, Andre Oppermann <andre@freebsd.org> wrote:
> Author: andre
> Date: Wed Oct 30 16:56:46 2013
> New Revision: 257391
> URL: http://svnweb.freebsd.org/changeset/base/257391
>
> Log:
>   nclude missing net/if_var.h.
>
>   Due to header pollution it wasn't noticed before.
>
> Modified:
>   head/sys/dev/snc/dp83932.c
>   head/sys/mips/nlm/dev/net/xlpge.c
>
> Modified: head/sys/dev/snc/dp83932.c
> ==============================================================================
> --- head/sys/dev/snc/dp83932.c  Wed Oct 30 16:34:26 2013        (r257390)
> +++ head/sys/dev/snc/dp83932.c  Wed Oct 30 16:56:46 2013        (r257391)
> @@ -74,6 +74,7 @@
>
>  #include <net/ethernet.h>
>  #include <net/if.h>
> +#include <net/if_var.h>
>  #include <net/if_arp.h>
>  #include <net/if_dl.h>
>  #include <net/if_media.h>
>
> Modified: head/sys/mips/nlm/dev/net/xlpge.c
> ==============================================================================
> --- head/sys/mips/nlm/dev/net/xlpge.c   Wed Oct 30 16:34:26 2013        (r257390)
> +++ head/sys/mips/nlm/dev/net/xlpge.c   Wed Oct 30 16:56:46 2013        (r257391)
> @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$");
>  #include <sys/taskqueue.h>
>
>  #include <net/if.h>
> +#include <net/if_var.h>
>  #include <net/if_arp.h>
>  #include <net/ethernet.h>
>  #include <net/if_dl.h>

To complete TARGET=pc98 KERNCONF=GENERIC crossbuild,
I had to apply also this change:

Index: sys/dev/snc/if_snc.c
===================================================================
--- sys/dev/snc/if_snc.c    (revision 257391)
+++ sys/dev/snc/if_snc.c    (working copy)
@@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$");
 #include <net/if.h>
 #include <net/if_arp.h>
 #include <net/if_media.h>
+#include <net/if_var.h>

 #include <dev/snc/dp83932reg.h>
 #include <dev/snc/dp83932var.h>
Index: sys/dev/snc/if_snc_pccard.c
===================================================================
--- sys/dev/snc/if_snc_pccard.c    (revision 257391)
+++ sys/dev/snc/if_snc_pccard.c    (working copy)
@@ -41,6 +41,8 @@ __FBSDID("$FreeBSD$");
 #include <sys/systm.h>
 #include <sys/socket.h>
 #include <sys/kernel.h>
+#include <sys/lock.h>
+#include <sys/mutex.h>

 #include <sys/module.h>
 #include <sys/bus.h>

-- 
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOKP-abGDovVTScz7X2ZQBLA_aOORRecyrA7zM5wPfOZ2Q>