Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2014 06:48:17 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        Rui Paulo <rpaulo@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r268543 - in head/sys: dev/drm2 dev/drm2/i915 dev/drm2/radeon dev/etherswitch/arswitch dev/etherswitch/rtl8366 dev/iicbus sys
Message-ID:  <1405169297.91430.10.camel@revolution.hippie.lan>
In-Reply-To: <CC28F544-D0EB-4DFD-BDCD-AD2DBF4BD30D@FreeBSD.org>
References:  <201407120104.s6C14BYo080629@svn.freebsd.org> <1405129355.91430.4.camel@revolution.hippie.lan> <CC28F544-D0EB-4DFD-BDCD-AD2DBF4BD30D@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2014-07-11 at 18:48 -0700, Rui Paulo wrote:
> On Jul 11, 2014, at 18:42, Ian Lepore <ian@FreeBSD.org> wrote:
> 
> > On Sat, 2014-07-12 at 01:04 +0000, Rui Paulo wrote:
> >> Author: rpaulo
> >> Date: Sat Jul 12 01:04:10 2014
> >> New Revision: 268543
> >> URL: http://svnweb.freebsd.org/changeset/base/268543
> >> 
> >> Log:
> >>  Move iic.h to sys/ so that it's automatically installed in /usr/include/sys.
> >> 
> >>  This lets us call iic(4) ioctls without needing the kernel source code
> >>  and follows the same model of GPIO.
> >> 
> >>  MFC after:	3 weeks
> > 
> > It was already available in /usr/include/dev/iicbus, and now it's not
> > going to be, potentially breaking out-of-tree stuff.  Hrm... in fact
> > definitely breaking it, we have references to dev/iicbus/iic.h in our
> > apps at $work.
> 
> Hmm.  In that case, which one is correct?  Should sys/gpio.h exist?
> 
> --
> Rui Paulo
> 

sys/gpio.h feels out of place to me -- it's device stuff, it should live
in include/dev/gpio.  Moving it now might create the same sort of
trouble for out-of-tree code, unless we also put a symlink in the old
location.

-- Ian




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