EM MFC and 6.2 RELEASE

Jack Vogel jfvogel at gmail.com
Thu Oct 11 10:41:41 PDT 2007


On 10/11/07, David Yeske <dyeske at gmail.com> wrote:
> On 10/11/07, Jack Vogel <jfvogel at 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at 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


More information about the freebsd-stable mailing list