diff options
author | Marc G. Fournier <scrappy@FreeBSD.org> | 1996-03-28 14:29:52 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@FreeBSD.org> | 1996-03-28 14:29:52 +0000 |
commit | 6e18ce467629720239a3dbefe42ee64bc0c2034a (patch) | |
tree | a799d7ab93b91102069e46ed96392e309b7b469f /sys/dev/si | |
parent | 14689d6f4fb0ddc4e371db4a963401fbefc71261 (diff) | |
download | src-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.c | 8 |
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); } |