]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Follow changes in the pwmc(4) driver in relation to device filenames.
authorian <ian@FreeBSD.org>
Mon, 17 Jun 2019 16:43:33 +0000 (16:43 +0000)
committerian <ian@FreeBSD.org>
Mon, 17 Jun 2019 16:43:33 +0000 (16:43 +0000)
commitb34a1c19c550be67de67e7718465bfcf8d3c2c9c
treef6be84ab288576f43611d3ebdfbe2ffa2cc8f237
parent8ba06c8b811ec1198a8a97dab2f0aecdb9f4edcf
Follow changes in the pwmc(4) driver in relation to device filenames.

The driver now names its cdev nodes pwmcX.Y where X is unit number and
Y is the channel within that unit.  Change the default device name from
pwmc0 to pwmc0.0.  The driver now puts cdev files and label aliases in
the /dev/pwm directory, so allow the user to provide unqualified names
with -f and automatically prepend the /dev/pwm part for them.

Update the examples in the manpage to show the new device name format
and location within /dev/pwm.
usr.sbin/pwm/pwm.8
usr.sbin/pwm/pwm.c