From 693dd58bb3e5843d252e25a15e2cc8d49323cb82 Mon Sep 17 00:00:00 2001 From: phk 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/isa/fd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/isa/fd.c') diff --git a/sys/isa/fd.c b/sys/isa/fd.c index b0f13ee..c4c86ee 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -47,7 +47,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.138 1999/05/06 20:00:23 phk Exp $ + * $Id: fd.c,v 1.139 1999/05/07 07:03:24 phk Exp $ * */ @@ -2364,7 +2364,7 @@ static driver_t fd_driver = { sizeof(struct fd_data) }; -BDEV_DRIVER_MODULE(fd, fdc, fd_driver, fd_devclass, BDEV_MAJOR, CDEV_MAJOR, +DEV_DRIVER_MODULE(fd, fdc, fd_driver, fd_devclass, CDEV_MAJOR, BDEV_MAJOR, fd_cdevsw, 0, 0); #endif /* NFDC > 0 */ -- cgit v1.1