From owner-freebsd-stable@FreeBSD.ORG Thu Oct 11 17:20:42 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 9758216A419 for ; Thu, 11 Oct 2007 17:20:42 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id 3B34213C447 for ; Thu, 11 Oct 2007 17:20:41 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so530235nfb for ; Thu, 11 Oct 2007 10:20:40 -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:mime-version:content-type:content-transfer-encoding:content-disposition; bh=B5ay+hJmM4ameg6+cv3mkR17S46XCAeVZRfuQ8fKX5s=; b=M1ZDSugLiVW1Z4M1iPC0YOGK9CqPuhCXF2UunuddOsyycsuVDWvfkSdJHRmi9q+lRy0GeRkG1k2c/5IdQ4w8TMkAdMkSEd0TW8/RCv1QqO/JBb4UYNrKn0prahhBcqv3unFAt9Iyce8bzOEsAfkPiZ8Smt/7Fo3uZuffVFMHxhw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=jOIG7eYwM6QI94K875IrG8ynzcQmvUUll1zdc6R5oflKkAZXKdOk+qMS4YQ4gjD7BxSJfhnfpRs6iSWQujlVdNQc7pia8wFBdxUign3QouUW+K5XWFR+eRyDzGhP1GQFrMmHiTTO7GvJXIPqS7rI6jyfLW7mqyQn8J9mxu8evZ4= Received: by 10.86.99.9 with SMTP id w9mr1617373fgb.1192123240555; Thu, 11 Oct 2007 10:20:40 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Thu, 11 Oct 2007 10:20:40 -0700 (PDT) Message-ID: <2a41acea0710111020w460125d6sf28563d57266cc3e@mail.gmail.com> Date: Thu, 11 Oct 2007 10:20:40 -0700 From: "Jack Vogel" To: "FreeBSD Stable List" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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:20:42 -0000 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