diff options
author | eivind <eivind@FreeBSD.org> | 1998-12-10 19:57:01 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-12-10 19:57:01 +0000 |
commit | d2f9690e5c31012c13fc4f24e794e8bfd0f398ca (patch) | |
tree | 6a9ed3efca84fdee28c27d718fb18e603137805d /sys/i386/isa/sound | |
parent | e4b351684b6ee8cdc8ed6d5189dcbf01d8e15c69 (diff) | |
download | FreeBSD-src-d2f9690e5c31012c13fc4f24e794e8bfd0f398ca.zip FreeBSD-src-d2f9690e5c31012c13fc4f24e794e8bfd0f398ca.tar.gz |
Rename one of the two devfs_link's to devfs_makelink.
Diffstat (limited to 'sys/i386/isa/sound')
-rw-r--r-- | sys/i386/isa/sound/soundcard.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/i386/isa/sound/soundcard.c b/sys/i386/isa/sound/soundcard.c index e490541..3b6db0b 100644 --- a/sys/i386/isa/sound/soundcard.c +++ b/sys/i386/isa/sound/soundcard.c @@ -499,35 +499,35 @@ sndattach(struct isa_device * dev) tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_SEQ, DV_CHR, UID_SND, GID_SND, PERM_SND, "sequencer%r", dev->id_unit); - if (tmp) devfs_link(tmp, "sequencer"); + if (tmp) devfs_makelink(tmp, "sequencer"); } else if (dev->id_driver == &mpudriver || dev->id_driver == &sbmididriver || dev->id_driver == &uartdriver){ tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_MIDIN, DV_CHR, UID_SND, GID_SND, PERM_SND, "midi%r", dev->id_unit); - if (tmp) devfs_link(tmp, "midi"); + if (tmp) devfs_makelink(tmp, "midi"); } else { tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_DSP, DV_CHR, UID_SND, GID_SND, PERM_SND, "dsp%r", dev->id_unit); - if (tmp) devfs_link(tmp, "dsp"); + if (tmp) devfs_makelink(tmp, "dsp"); tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_DSP16, DV_CHR, UID_SND, GID_SND, PERM_SND, "dspW%r", dev->id_unit); - if (tmp) devfs_link(tmp, "dspW"); + if (tmp) devfs_makelink(tmp, "dspW"); tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_AUDIO, DV_CHR, UID_SND, GID_SND, PERM_SND, "audio%r", dev->id_unit); - if (tmp) devfs_link(tmp, "audio"); + if (tmp) devfs_makelink(tmp, "audio"); tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_CTL, DV_CHR, UID_SND, GID_SND, PERM_SND, "mixer%r", dev->id_unit); - if (tmp) devfs_link(tmp, "mixer"); + if (tmp) devfs_makelink(tmp, "mixer"); tmp = devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_STATUS, DV_CHR, UID_SND, GID_SND, PERM_SND, "sndstat%r", dev->id_unit); - if (tmp) devfs_link(tmp, "sndstat"); + if (tmp) devfs_makelink(tmp, "sndstat"); } #endif /* DEVFS */ return TRUE; |