The unit of sndstat is fixed to zero.

This commit is contained in:
Seigo Tanimura 1999-11-06 05:31:47 +00:00
parent e149c4e211
commit 05b17b64dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52913
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -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),