From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Tue, 13 Dec 2011 22:35:24 -0500 Subject: [U-Boot] [PATCH] sandbox: Add tap based networking In-Reply-To: References: <1322575743-21760-1-git-send-email-weisserm@arcor.de> <1323021425-7854-1-git-send-email-weisserm@arcor.de> Message-ID: <201112132235.25518.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday 13 December 2011 18:54:59 Simon Glass wrote: > On Sun, Dec 4, 2011 at 9:57 AM, Matthias Weisser wrote: > > --- a/arch/sandbox/cpu/os.c > > +++ b/arch/sandbox/cpu/os.c > > @@ -19,6 +19,7 @@ > > * MA 02111-1307 USA > > */ > > > > +#include > > #include > > #include > > #include > > @@ -30,6 +31,19 @@ > > #include > > #include > > > > +#ifdef CONFIG_NET_TAP > > I don't think we need this #ifdef i think it's fine. the current code isn't too tied to Linux, but adding NET_TAP unconditionally would make it completely Linux specific ... -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: