cvs commit: src/sys/sys bus.h src/sys/kern subr_bus.c src/share/man/man9 devclass_get_drivers.9

Nate Lawson njl at FreeBSD.org
Mon Apr 4 08:26:51 PDT 2005


njl         2005-04-04 15:26:51 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              bus.h 
    sys/kern             subr_bus.c 
  Added files:
    share/man/man9       devclass_get_drivers.9 
  Log:
  Add devclass_get_drivers(9) which provides an array of pointers to driver
  instances in a given devclass.  This is useful for systems that want to
  call code in driver static methods, similar to device_identify().
  
  Reviewed by:    dfr
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.1       +57 -0     src/share/man/man9/devclass_get_drivers.9 (new)
  1.178     +41 -0     src/sys/kern/subr_bus.c
  1.68      +1 -0      src/sys/sys/bus.h


More information about the cvs-src mailing list