tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: should gpio be moved to sys/dev from sys/sys?



matthew green wrote:
>    
>    Having said that, given <sys/gpio.h> is already in netbsd 5, it's too  
>    late to move.
>    
> 
> this hasn't prevented us from fixing other prior mistakes.
> 
> i recommend that we move it to the right place, fix the docs,
> but leave a backwards compat header that generates a warning
> for a couple of releases, and then remove it.
> 
In that case maybe it should be done with a bunch of misplaced headers
in sys?  midiio.h, videoio.h, joystick.h, mtio.h, ...?

...and update hier(7) about where stuff shall be located, that's the only
docs about it I know about.

-- Ragge



Home | Main Index | Thread Index | Old Index