Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 1999 10:32:47 +0200 (MET DST)
From:      Nick Hibma <nick.hibma@jrc.it>
To:        Greg Lehey <grog@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_conf.c src/sys/sys conf.h
Message-ID:  <Pine.GSO.3.95q.990625101041.2790O-100000@elect8>
In-Reply-To: <199906250749.AAA28465@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.95q.990625101041.2790O-100000>