summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorscrappy <scrappy@FreeBSD.org>1996-04-02 04:52:03 +0000
committerscrappy <scrappy@FreeBSD.org>1996-04-02 04:52:03 +0000
commit99d214961d43f3ba8b5fa76e3cb1aec55b5d2387 (patch)
treee2d929050e62b3a130319aaea60afcb7b6b6ccbd /sys
parenta8a103bf15c0ab354b2c31bcd4b5f7a3737edb65 (diff)
downloadFreeBSD-src-99d214961d43f3ba8b5fa76e3cb1aec55b5d2387.zip
FreeBSD-src-99d214961d43f3ba8b5fa76e3cb1aec55b5d2387.tar.gz
changed from using dev_link() to devfs_link()
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fdc/fdc.c6
-rw-r--r--sys/i386/isa/fd.c6
-rw-r--r--sys/isa/fd.c6
-rw-r--r--sys/kern/subr_diskslice.c6
4 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index 499a78d..0493b24 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.82 1996/03/29 11:45:12 bde Exp $
+ * $Id: fd.c,v 1.83 1996/03/31 18:04:51 joerg Exp $
*
*/
@@ -773,8 +773,8 @@ fdattach(struct isa_device *dev)
fd->cdev = devfs_add_devswf(&fd_cdevsw, mynor, DV_CHR,
UID_ROOT, GID_OPERATOR, 0640,
"%s", name);
- dev_linkf(fd->bdev, "fd%d", fdu);
- dev_linkf(fd->cdev, "rfd%d", fdu);
+ devfs_link(fd->bdev, "fd%d", fdu);
+ devfs_link(fd->cdev, "rfd%d", fdu);
#endif /* DEVFS */
if (dk_ndrive < DK_NDRIVE) {
sprintf(dk_names[dk_ndrive], "fd%d", fdu);
diff --git a/sys/i386/isa/fd.c b/sys/i386/isa/fd.c
index 499a78d..0493b24 100644
--- a/sys/i386/isa/fd.c
+++ b/sys/i386/isa/fd.c
@@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.82 1996/03/29 11:45:12 bde Exp $
+ * $Id: fd.c,v 1.83 1996/03/31 18:04:51 joerg Exp $
*
*/
@@ -773,8 +773,8 @@ fdattach(struct isa_device *dev)
fd->cdev = devfs_add_devswf(&fd_cdevsw, mynor, DV_CHR,
UID_ROOT, GID_OPERATOR, 0640,
"%s", name);
- dev_linkf(fd->bdev, "fd%d", fdu);
- dev_linkf(fd->cdev, "rfd%d", fdu);
+ devfs_link(fd->bdev, "fd%d", fdu);
+ devfs_link(fd->cdev, "rfd%d", fdu);
#endif /* DEVFS */
if (dk_ndrive < DK_NDRIVE) {
sprintf(dk_names[dk_ndrive], "fd%d", fdu);
diff --git a/sys/isa/fd.c b/sys/isa/fd.c
index 499a78d..0493b24 100644
--- a/sys/isa/fd.c
+++ b/sys/isa/fd.c
@@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.82 1996/03/29 11:45:12 bde Exp $
+ * $Id: fd.c,v 1.83 1996/03/31 18:04:51 joerg Exp $
*
*/
@@ -773,8 +773,8 @@ fdattach(struct isa_device *dev)
fd->cdev = devfs_add_devswf(&fd_cdevsw, mynor, DV_CHR,
UID_ROOT, GID_OPERATOR, 0640,
"%s", name);
- dev_linkf(fd->bdev, "fd%d", fdu);
- dev_linkf(fd->cdev, "rfd%d", fdu);
+ devfs_link(fd->bdev, "fd%d", fdu);
+ devfs_link(fd->cdev, "rfd%d", fdu);
#endif /* DEVFS */
if (dk_ndrive < DK_NDRIVE) {
sprintf(dk_names[dk_ndrive], "fd%d", fdu);
diff --git a/sys/kern/subr_diskslice.c b/sys/kern/subr_diskslice.c
index a282e99..7bdbef1 100644
--- a/sys/kern/subr_diskslice.c
+++ b/sys/kern/subr_diskslice.c
@@ -43,7 +43,7 @@
* from: wd.c,v 1.55 1994/10/22 01:57:12 phk Exp $
* from: @(#)ufs_disksubr.c 7.16 (Berkeley) 5/4/91
* from: ufs_disksubr.c,v 1.8 1994/06/07 01:21:39 phk Exp $
- * $Id: subr_diskslice.c,v 1.20 1996/03/27 18:50:01 bde Exp $
+ * $Id: subr_diskslice.c,v 1.21 1996/04/01 21:03:07 scrappy Exp $
*/
#include <sys/param.h>
@@ -958,12 +958,12 @@ set_ds_labeldevs(dname, dev, ssp)
continue;
if (part == RAW_PART && sp->ds_bdev != NULL) {
sp->ds_bdevs[part] =
- dev_linkf(sp->ds_bdev, "%s%s",
+ devfs_link(sp->ds_bdev, "%s%s",
dsname(dname, dkunit(dev), slice,
part, partname),
partname);
sp->ds_cdevs[part] =
- dev_linkf(sp->ds_cdev, "r%s%s",
+ devfs_link(sp->ds_cdev, "r%s%s",
dsname(dname, dkunit(dev), slice,
part, partname),
partname);
OpenPOWER on IntegriCloud