Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2007 10:41:38 -0700
From:      "Jack Vogel" <jfvogel@gmail.com>
To:        "David Yeske" <dyeske@gmail.com>
Cc:        FreeBSD Stable List <freebsd-stable@freebsd.org>
Subject:   Re: EM MFC and 6.2 RELEASE
Message-ID:  <2a41acea0710111041l16e83cd3t9de13b84f7ef3e82@mail.gmail.com>
In-Reply-To: <85bdae4e0710111039h23aa2113wefbdcbadeced9700@mail.gmail.com>
References:  <2a41acea0710111020w460125d6sf28563d57266cc3e@mail.gmail.com> <85bdae4e0710111039h23aa2113wefbdcbadeced9700@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/11/07, David Yeske <dyeske@gmail.com> wrote:
> On 10/11/07, Jack Vogel <jfvogel@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2a41acea0710111041l16e83cd3t9de13b84f7ef3e82>