Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 1999 22:53:31 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_module.c
Message-ID:  <199911080653.WAA48641@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       1999/11/07 22:53:31 PST

  Modified files:
    sys/kern             kern_module.c 
  Log:
  A hack basically..  We have a bunch of code that used to call
  devsw_module_handler() indirectly and not use the chain arguments.  To
  eliminate this indirection via that function (which does nothing now)
  without duplicating a modevent handler into all the routines that don't
  presently have one, supply a NOP (do nothing, return OK) routine which
  is functionally equivalent to what's there now.  This is a hack and is
  still wrong, because there doesn't appear to be anything to reclaim
  resources on an unload of a module with one of these in it.  I'm not
  sure whether to make the NOP handler refuse a MOD_UNLOAD event or what.
  
  Revision  Changes    Path
  1.21      +9 -2      src/sys/kern/kern_module.c



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?199911080653.WAA48641>