From owner-freebsd-embedded@FreeBSD.ORG Thu Dec 15 23:49:41 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09F55106566B; Thu, 15 Dec 2011 23:49:41 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id C4C4C8FC0C; Thu, 15 Dec 2011 23:49:40 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 287318B4C9; Fri, 16 Dec 2011 00:49:40 +0100 (CET) References: <0F6CC18F-6973-42A2-AC03-F01BF59458AE@lassitu.de> In-Reply-To: Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <1100F70E-9DA9-4163-AC9A-423ECE5AA9A3@lassitu.de> X-Mailer: iPad Mail (9A405) From: Stefan Bethke Date: Fri, 16 Dec 2011 00:49:39 +0100 To: Adrian Chadd Cc: "freebsd-embedded@freebsd.org" Subject: Re: Updated switch/glue patch? X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2011 23:49:41 -0000 So I could call the generic if media ioctl. I'll update the patch at around= 8 UTC.=20 --=20 Stefan Bethke Fon +49 151 14070811 Am 16.12.2011 um 00:20 schrieb Adrian Chadd : > On 15 December 2011 15:04, Stefan Bethke wrote: >> Will do tomorrow morning. >=20 > I can't seem to build this under -HEAD. The embedded ifreq structs in > etherswitch.h are causing an issue when compiling etherswitch_if.c > (from etherswitch_if.m.) net/if.h isn't included, and if I include > that, all kinds of other crap spews out. >=20 > I can't find any other examples of the ifreq / ifmediareq structs > being embedded inside the object state. Why'd you do that? :) >=20 >=20 > Adrian