mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Move/rename the sys/pwm.h header file to dev/pwm/pwmc.h. The file contains
ioctl definitions and related datatypes that allow userland control of pwm hardware via the pwmc device. The new name and location better reflects its assocation with a single device driver.
This commit is contained in:
parent
f9d8090ea8
commit
71fb373934
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349074
|
@ -38,6 +38,8 @@
|
||||||
# xargs -n1 | sort | uniq -d;
|
# xargs -n1 | sort | uniq -d;
|
||||||
# done
|
# done
|
||||||
|
|
||||||
|
# 20190615: sys/pwm.h renamed to dev/pwmc.h
|
||||||
|
OLD_FILES+=usr/include/sys/pwm.h
|
||||||
# 20190612: new clang import which bumps version from 8.0.0 to 8.0.1.
|
# 20190612: new clang import which bumps version from 8.0.0 to 8.0.1.
|
||||||
OLD_FILES+=usr/lib/clang/8.0.0/include/sanitizer/allocator_interface.h
|
OLD_FILES+=usr/lib/clang/8.0.0/include/sanitizer/allocator_interface.h
|
||||||
OLD_FILES+=usr/lib/clang/8.0.0/include/sanitizer/asan_interface.h
|
OLD_FILES+=usr/lib/clang/8.0.0/include/sanitizer/asan_interface.h
|
||||||
|
|
|
@ -152,6 +152,8 @@
|
||||||
..
|
..
|
||||||
ppbus
|
ppbus
|
||||||
..
|
..
|
||||||
|
pwm
|
||||||
|
..
|
||||||
smbus
|
smbus
|
||||||
..
|
..
|
||||||
speaker
|
speaker
|
||||||
|
|
|
@ -46,8 +46,8 @@ LSUBDIRS= cam/ata cam/mmc cam/nvme cam/scsi \
|
||||||
dev/acpica dev/agp dev/an dev/bktr dev/ciss dev/filemon dev/firewire \
|
dev/acpica dev/agp dev/an dev/bktr dev/ciss dev/filemon dev/firewire \
|
||||||
dev/hwpmc dev/hyperv \
|
dev/hwpmc dev/hyperv \
|
||||||
dev/ic dev/iicbus dev/io dev/mfi dev/mmc dev/nvme \
|
dev/ic dev/iicbus dev/io dev/mfi dev/mmc dev/nvme \
|
||||||
dev/ofw dev/pbio dev/pci ${_dev_powermac_nvram} dev/ppbus dev/smbus \
|
dev/ofw dev/pbio dev/pci ${_dev_powermac_nvram} dev/ppbus dev/pwm \
|
||||||
dev/speaker dev/tcp_log dev/veriexec dev/vkbd dev/wi \
|
dev/smbus dev/speaker dev/tcp_log dev/veriexec dev/vkbd dev/wi \
|
||||||
fs/devfs fs/fdescfs fs/msdosfs fs/nandfs fs/nfs fs/nullfs \
|
fs/devfs fs/fdescfs fs/msdosfs fs/nandfs fs/nfs fs/nullfs \
|
||||||
fs/procfs fs/smbfs fs/udf fs/unionfs \
|
fs/procfs fs/smbfs fs/udf fs/unionfs \
|
||||||
geom/cache geom/concat geom/eli geom/gate geom/journal geom/label \
|
geom/cache geom/concat geom/eli geom/gate geom/journal geom/label \
|
||||||
|
|
|
@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
|
||||||
#include <sys/module.h>
|
#include <sys/module.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
#include <sys/pwm.h>
|
#include <dev/pwm/pwmc.h>
|
||||||
|
|
||||||
#include "pwmbus_if.h"
|
#include "pwmbus_if.h"
|
||||||
#include "pwm_if.h"
|
#include "pwm_if.h"
|
||||||
|
|
|
@ -31,8 +31,8 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <sys/pwm.h>
|
|
||||||
#include <sys/capsicum.h>
|
#include <sys/capsicum.h>
|
||||||
|
#include <dev/pwm/pwmc.h>
|
||||||
|
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
Loading…
Reference in a new issue