From owner-freebsd-stable@FreeBSD.ORG Thu Oct 11 17:41:41 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 02BCA16A419 for ; Thu, 11 Oct 2007 17:41:41 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 906EC13C474 for ; Thu, 11 Oct 2007 17:41:40 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so535649nfb for ; Thu, 11 Oct 2007 10:41:39 -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=SNZd/CjhE7ueTMuM5MLLaN/M1/c5Uo0I/AY6hPZ/0Fs=; b=q6qOJgATI29wC5K2DTj/oROxpOsid1l0YGRjCp1z2qIqYP4nsikwsgIb+DrHjXzP54tvsWS+3FeMSAIr5aK4FFFtAH3bIIFJGmDKgjRu0X6nIr1fc+s4EdMgfgCFaQ4cCNfTiNe+JAOjYNOM2ADipj1sAKLmJNQok/Zk7gJ9H8U= 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=keMtFLCBcgbWaaQ/K8Nbn1ftCBtzTYBQvEmKRxi4/COv+IBsCZtJRXzsaWzriPyIoC8NeeV+uQHDAOfZPWmnjAj2Ld1h2EJS6OXPtHyiuzueBxT39n2JbRS2hoe9Ebcf3evnQXMxMSEAuvl8XuiAQFO3nKpV5ZLG9lU5a+44CEs= Received: by 10.86.99.9 with SMTP id w9mr1556272fgb.1192124498827; Thu, 11 Oct 2007 10:41:38 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Thu, 11 Oct 2007 10:41:38 -0700 (PDT) Message-ID: <2a41acea0710111041l16e83cd3t9de13b84f7ef3e82@mail.gmail.com> Date: Thu, 11 Oct 2007 10:41:38 -0700 From: "Jack Vogel" To: "David Yeske" In-Reply-To: <85bdae4e0710111039h23aa2113wefbdcbadeced9700@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> 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:41:41 -0000 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