diff options
author | scrappy <scrappy@FreeBSD.org> | 1996-03-28 14:29:52 +0000 |
---|---|---|
committer | scrappy <scrappy@FreeBSD.org> | 1996-03-28 14:29:52 +0000 |
commit | 415585985cb93ec4bd441c45c7bbd43c2529256d (patch) | |
tree | a799d7ab93b91102069e46ed96392e309b7b469f /sys/dev/si | |
parent | f55298f39fa39052b4a4bb6f1f3a18aa12d6b771 (diff) | |
download | FreeBSD-src-415585985cb93ec4bd441c45c7bbd43c2529256d.zip FreeBSD-src-415585985cb93ec4bd441c45c7bbd43c2529256d.tar.gz |
Switched from using devfs_add_sw() to using devfs_add_swf()
Reviewed by: julian@freebsd.org
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 8be544f..faef542 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); } |