Thanks!

On Wed, Feb 22, 2017 at 12:24 PM, Hans Petter Selasky
<hsela...@freebsd.org> wrote:
> Author: hselasky
> Date: Wed Feb 22 20:24:09 2017
> New Revision: 314109
> URL: https://svnweb.freebsd.org/changeset/base/314109
>
> Log:
>   Convert magic values into macros in the LinuxKPI scatterlist
>   implementation.
>
>   Suggested by:         cem @
>   MFC after:            1 week
>   Sponsored by:         Mellanox Technologies
>
> Modified:
>   head/sys/compat/linuxkpi/common/include/linux/scatterlist.h
>
> Modified: head/sys/compat/linuxkpi/common/include/linux/scatterlist.h
> ==============================================================================
> --- head/sys/compat/linuxkpi/common/include/linux/scatterlist.h Wed Feb 22 
> 20:11:21 2017        (r314108)
> +++ head/sys/compat/linuxkpi/common/include/linux/scatterlist.h Wed Feb 22 
> 20:24:09 2017        (r314109)
> @@ -38,12 +38,15 @@
>
>  struct scatterlist {
>         unsigned long page_link;
> +#define        SG_PAGE_LINK_CHAIN      0x1UL
> +#define        SG_PAGE_LINK_LAST       0x2UL
> +#define        SG_PAGE_LINK_MASK       0x3UL
>         unsigned int offset;
>         unsigned int length;
>         dma_addr_t address;
>  };
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to