From owner-freebsd-stable@FreeBSD.ORG Thu Oct 11 17:46:26 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EDA716A473 for ; Thu, 11 Oct 2007 17:46:26 +0000 (UTC) (envelope-from dyeske@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 2B02B13C48E for ; Thu, 11 Oct 2007 17:46:25 +0000 (UTC) (envelope-from dyeske@gmail.com) Received: by ug-out-1314.google.com with SMTP id a2so590039ugf for ; Thu, 11 Oct 2007 10:46:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=BOCwX3MC63tFlVw9LtXVhdvww2RHVdVf06vUb1sQ41I=; b=fWnCRwgGUhXWhnmF5TlhzyFlvbdwljgBydDSEi1RMeJBe2Rz5gSCwY30rS6vRIW2/yuW535Vl2R1vdlLBZP7iYKvsrWozUhgTG78TkTKbWGjD0wWrJDB/aUetX4Ja+MB5Ck50Q2oxMavdrs1NdxM+ceQcfN1vxZbPvyQtRfv7m0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Zu16Q9eYcmI8tFIyGUSfhKROWtMR/+UW8J8g2xr5q/87esubPMbgvBOQoExtiJSXRpO9XsHzDxGhXowf11IwC3JUY1jGX258QI3uxAjh24tz7ZPUse9IDG0T/ZG6aH0FueglF+rz/VE1a5vZ/jSow4kAfEdhtLMBVSVyC8fDYyw= Received: by 10.66.224.19 with SMTP id w19mr3409273ugg.1192124784764; Thu, 11 Oct 2007 10:46:24 -0700 (PDT) Received: by 10.66.218.20 with HTTP; Thu, 11 Oct 2007 10:46:24 -0700 (PDT) Message-ID: <85bdae4e0710111046t503139a8iaf7fb568f08c1afb@mail.gmail.com> Date: Thu, 11 Oct 2007 13:46:24 -0400 From: "David Yeske" To: "Jack Vogel" In-Reply-To: <2a41acea0710111041l16e83cd3t9de13b84f7ef3e82@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0710111020w460125d6sf28563d57266cc3e@mail.gmail.com> <85bdae4e0710111039h23aa2113wefbdcbadeced9700@mail.gmail.com> <2a41acea0710111041l16e83cd3t9de13b84f7ef3e82@mail.gmail.com> Cc: FreeBSD Stable List Subject: Re: EM MFC and 6.2 RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2007 17:46:26 -0000 On 10/11/07, Jack Vogel wrote: > On 10/11/07, David Yeske wrote: > > On 10/11/07, Jack Vogel wrote: > > > I have had a couple questions about using the driver that I just put > > > into STABLE on 6.2 RELEASE. > > > > > > Right now it won't compile, this is because I put the MSI/X support > > > in the clear, figuring 'well, this is STABLE so why should I #ifdef :)'. > > > > > > I should have known better, and of course the driver code that will > > > be in the Intel-published form DOES have the stuff #ifdef EM_MSI, > > > so it will compile on 6.2... > > > > > > I am considering a compromise but I don't know exactly how you > > > do it, what I will do is put in a #if __FreeBSD_version around the > > > couple of places that matter... so here is the question: what is > > > the numeric way of designating RELEASE vs STABLE?? > > > > > > I could also just do this as EM_MSI_SUPPORT and then define > > > that in the Makefiles, but this seemed like the simplest way. > > > > > > If someone can tell me how to do it I will check that change in > > > today... > > > > > > Cheers, > > > > > > Jack > > > _______________________________________________ > > > freebsd-stable@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > > > > > It looks like 6.2-R is > > > > #define __FreeBSD_version 602000 > > > > and RELENG_6 as of today is > > > > #define __FreeBSD_version 602112 > > > > Thanks David, I just figured out how this works, to be the most > precise I go to the date the MSI got MFC'd and then to the > sys/param.h change closest to that, right? > > Learn something new every day :) > > Jack > Yes that sounds correct.