Advice on supporting 9.x / 10.x CAM driver

Sean Bruno sean_bruno at yahoo.com
Wed Nov 6 16:12:32 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20131106/342be5a3/attachment.sig>


More information about the freebsd-scsi mailing list