The unit of sndstat is fixed to zero.
This commit is contained in:
parent
e149c4e211
commit
05b17b64dc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52913
@ -147,7 +147,7 @@ pcm_register(device_t dev, void *devinfo, int numplay, int numrec)
|
||||
|
||||
if (!pcm_devclass) {
|
||||
pcm_devclass = device_get_devclass(dev);
|
||||
make_dev(&snd_cdevsw, PCMMKMINOR(unit, SND_DEV_STATUS),
|
||||
make_dev(&snd_cdevsw, PCMMKMINOR(0, SND_DEV_STATUS),
|
||||
UID_ROOT, GID_WHEEL, 0444, "sndstat");
|
||||
}
|
||||
make_dev(&snd_cdevsw, PCMMKMINOR(unit, SND_DEV_CTL),
|
||||
|
@ -147,7 +147,7 @@ pcm_register(device_t dev, void *devinfo, int numplay, int numrec)
|
||||
|
||||
if (!pcm_devclass) {
|
||||
pcm_devclass = device_get_devclass(dev);
|
||||
make_dev(&snd_cdevsw, PCMMKMINOR(unit, SND_DEV_STATUS),
|
||||
make_dev(&snd_cdevsw, PCMMKMINOR(0, SND_DEV_STATUS),
|
||||
UID_ROOT, GID_WHEEL, 0444, "sndstat");
|
||||
}
|
||||
make_dev(&snd_cdevsw, PCMMKMINOR(unit, SND_DEV_CTL),
|
||||
|
Loading…
Reference in New Issue
Block a user