From owner-cvs-all Sat Jun 26 1:33: 1 1999 Delivered-To: cvs-all@freebsd.org Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65]) by hub.freebsd.org (Postfix) with ESMTP id BE9E014E66; Sat, 26 Jun 1999 01:32:52 -0700 (PDT) (envelope-from nick.hibma@jrc.it) Received: from elect8 (elect8.jrc.it [139.191.71.152]) by mrelay.jrc.it (LMC5692) with SMTP id KAA13215; Sat, 26 Jun 1999 10:32:51 +0200 (MET DST) Date: Sat, 26 Jun 1999 10:32:47 +0200 (MET DST) From: Nick Hibma X-Sender: n_hibma@elect8 Reply-To: Nick Hibma To: Greg Lehey Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_conf.c src/sys/sys conf.h In-Reply-To: <199906250749.AAA28465@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk What about removing it at unload as well (not there in r1.44 of kern_conf.c). Nick case MOD_UNLOAD: if (data->chainevh) { error = data->chainevh(mod, what, data->chainarg); if (error) return error; } >>>>>>>>> if (data->cdevsw->d_strategy != nostrategy) bmaj2cmaj[major(data->bdev)] = 0; return error; } On Fri, 25 Jun 1999, Greg Lehey wrote: > grog 1999/06/25 00:49:02 PDT > > Modified files: > sys/kern kern_conf.c > sys/sys conf.h > Log: > Add function cdevsw_remove, the opposite of cdevsw_add: remove an > entry in cdevsw (and bdevsw if appropriate). > > Reviewed-by: phk > > Revision Changes Path > 1.44 +22 -1 src/sys/kern/kern_conf.c > 1.60 +2 -1 src/sys/sys/conf.h > > > -- ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message