From 46eede00587b759c95f9f84ed03c13397ff7a786 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 7 May 1999 10:11:40 +0000 Subject: Continue where Julian left off in July 1998: Virtualize bdevsw[] from cdevsw. bdevsw() is now an (inline) function. Join CDEV_MODULE and BDEV_MODULE to DEV_MODULE (please pay attention to the order of the cmaj/bmaj arguments!) Join CDEV_DRIVER_MODULE and BDEV_DRIVER_MODULE to DEV_DRIVER_MODULE (ditto!) (Next step will be to convert all bdev dev_t's to cdev dev_t's before they get to do any damage^H^H^H^H^H^Hwork in the kernel.) --- sys/dev/vn/vn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/vn') diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c index 2037ee1691214..a26100c80f3bb 100644 --- a/sys/dev/vn/vn.c +++ b/sys/dev/vn/vn.c @@ -38,7 +38,7 @@ * from: Utah Hdr: vn.c 1.13 94/04/02 * * from: @(#)vn.c 8.6 (Berkeley) 4/1/94 - * $Id: vn.c,v 1.76 1999/04/27 11:14:13 phk Exp $ + * $Id: vn.c,v 1.77 1999/05/07 07:03:20 phk Exp $ */ /* @@ -772,6 +772,6 @@ vn_modevent(module_t mod, int type, void *data) return 0; } -BDEV_MODULE(vn, BDEV_MAJOR, CDEV_MAJOR, vn_cdevsw, vn_modevent, 0); +DEV_MODULE(vn, CDEV_MAJOR, BDEV_MAJOR, vn_cdevsw, vn_modevent, 0); #endif -- cgit v1.3