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?




After so many people got upset about me initially putting the keylock kernel service in sys/kern and the header in sys/sys, I wonder if sys/gpio.h should be moved to sys/dev as well? or should sys/dev/keylock.h go to sys/sys since it contains stuff accessed from kernel and userland? the distinction seem not to be crytal clear.

opinions?


here's a first opinion:

- device specific C header files should go to /usr/include/dev (thus sys/dev in the src tree) - system C header files (kernel data structures) should go to /usr/ include/sys (thus sys/sys in the src tree)

Home | Main Index | Thread Index | Old Index