aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/si
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>1996-03-28 14:29:52 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>1996-03-28 14:29:52 +0000
commit6e18ce467629720239a3dbefe42ee64bc0c2034a (patch)
treea799d7ab93b91102069e46ed96392e309b7b469f /sys/dev/si
parent14689d6f4fb0ddc4e371db4a963401fbefc71261 (diff)
downloadsrc-6e18ce467629720239a3dbefe42ee64bc0c2034a.tar.gz
src-6e18ce467629720239a3dbefe42ee64bc0c2034a.zip
Switched from using devfs_add_sw() to using devfs_add_swf()
Reviewed by: julian@freebsd.org
Notes
Notes: svn path=/head/; revision=14873
Diffstat (limited to 'sys/dev/si')
-rw-r--r--sys/dev/si/si.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index 8be544f88279..faef542ea8ea 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
- * $Id: si.c,v 1.35 1996/01/16 18:13:18 phk Exp $
+ * $Id: si.c,v 1.36 1996/01/25 07:21:33 phk Exp $
*/
#ifndef lint
@@ -710,9 +710,9 @@ mem_fail:
&si_cdevsw, x + 0x20000,
DV_CHR, 0, 0, 0600, "ttylA%02d", y);
}
- sc->control_token = devfs_add_devsw("/", "si_control",
- &si_cdevsw, 0x40000,
- DV_CHR, 0, 0, 0600);
+ sc->control_token =
+ devfs_add_devswf(&si_cdevsw, 0x40000, DV_CHR, 0, 0, 0600,
+ "si_control");
#endif
return (1);
}