svn commit: r303963 - head/sys/powerpc/include

John Baldwin jhb at freebsd.org
Thu Aug 11 16:59:57 UTC 2016


On Thursday, August 11, 2016 03:06:13 PM Bjoern A. Zeeb wrote:
> Author: bz
> Date: Thu Aug 11 15:06:12 2016
> New Revision: 303963
> URL: https://svnweb.freebsd.org/changeset/base/303963
> 
> Log:
>   Revert r303890 for now here as camdd fails to build on powerpc*
>   due to device_t only being available under _KERNEL.
>   
>   Reported by:	bde (_KERNEL in general), kib (build failure)
>   MFC after:	1 day
>   X-MFC with:	r303890

I think the real issue though is exposting this function prototype to
userland (I looked at it the other day).  camdd only wants bus_dma_segment_t.
It also explicitly includes <sys/bus_dma.h> which is a no-no.  I think this
should be fixed to either define a suitable bus_dma_segment_t explicitly
in libcam.h or the bus_dma headers have to all be audited to add
appropriate #ifdef _KERNEL guards.

-- 
John Baldwin


More information about the svn-src-head mailing list