summaryrefslogtreecommitdiffstats
path: root/sys/pci/meteor.c
diff options
context:
space:
mode:
authorscrappy <scrappy@FreeBSD.org>1996-03-28 14:33:59 +0000
committerscrappy <scrappy@FreeBSD.org>1996-03-28 14:33:59 +0000
commit0567ca9a1089852de11792392f91fb2ab6b61a5a (patch)
tree76c7cd93029f75249004b135fe2bec1caa30f78d /sys/pci/meteor.c
parent745bb4c905709976ab384f4b85c1564cb2a78513 (diff)
downloadFreeBSD-src-0567ca9a1089852de11792392f91fb2ab6b61a5a.zip
FreeBSD-src-0567ca9a1089852de11792392f91fb2ab6b61a5a.tar.gz
Using devfs_add_devswf() instead of devfs_add_devsw()
Reviewed by: julian@freebsd.org
Diffstat (limited to 'sys/pci/meteor.c')
-rw-r--r--sys/pci/meteor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c
index afb37dd..dffb3f9 100644
--- a/sys/pci/meteor.c
+++ b/sys/pci/meteor.c
@@ -954,8 +954,8 @@ met_attach(pcici_t tag, int unit)
mtr->flags |= METEOR_INITALIZED | METEOR_AUTOMODE | METEOR_DEV0 |
METEOR_RGB16;
#ifdef DEVFS
- mtr->devfs_token = devfs_add_devsw( "/", "meteor", &meteor_cdevsw, unit,
- DV_CHR, 0, 0, 0644);
+ mtr->devfs_token = devfs_add_devswf(&meteor_cdevsw, unit,
+ DV_CHR, 0, 0, 0644, "meteor");
#endif
}
OpenPOWER on IntegriCloud