Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Nov 2013 08:12:20 -0800
From:      Sean Bruno <sean_bruno@yahoo.com>
To:        Chuck Tuffli <chuck@tuffli.net>
Cc:        freebsd-scsi <freebsd-scsi@freebsd.org>
Subject:   Re: Advice on supporting 9.x / 10.x CAM driver
Message-ID:  <1383754340.52387.9.camel@localhost>
In-Reply-To: <CAM0tzX2UkPY2F5pMT=53XQ8xtbAkzzMMVqZ-U_%2BbM3UfhejgMQ@mail.gmail.com>
References:  <CAM0tzX2UkPY2F5pMT=53XQ8xtbAkzzMMVqZ-U_%2BbM3UfhejgMQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, 2013-11-04 at 09:51 -0800, Chuck Tuffli wrote:
> 
> There was a small-ish change in CCB flags and buffer mapping that
> occurred between 9-stable and 10 that at first glance prevents a 9.x
> driver from compiling on a 10.x system. All of which is fine as this
> is a major release.
> 
> What I'm curious about is have others come up with a strategy to
> support their drivers on both 9.x and 10.x? If so, how are you
> managing this? Different branches under a VCS? #ifdef macros? Some
> sort of compatibility shim? TIA! 

Mostly, what I've seen is checks for the FreeBSD Version to determine
what code is executed.  

Sean

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (FreeBSD)

iQEcBAABAgAGBQJSempkAAoJEBkJRdwI6BaHj4UIAJAYaxV4OeP8hZY0YSiAZSWO
F6E2ffoeqxvLf6zk7VakzNZcPSDHMLW+WrvGCfjVyLFespuK8izxjP7N9rUMAwJJ
4Ys9u6Z9Qs3MgAGgMQPQ5sp/US5bOUtaVkPqK6glEYkBjKfW4K0eqXYqhZmYomtD
2fGrf41dwV5z4ZmIuXaU68hTG1byzZhFQSCu287UROsrqMSvd7qtuHb2z7JOTZWo
WCwp4HLHRD6wSag7T2memRAbNapY97boT34z8JV3dYh7iIllw2I7y8bMH1t0NMlK
e7AEVH4jPDzmn0sG7ndMhprkGBnbGMXsBQQnqEyKtela88RkUnmvaXpwYn8Tlik=
=aJFE
-----END PGP SIGNATURE-----

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