Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [mjf-devfs2] src/sys



Module Name:    src
Committed By:   mjf
Date:           Thu Mar 20 12:11:07 UTC 2008

Modified Files:
        src/sys/kern [mjf-devfs2]: subr_devsw.c
        src/sys/sys [mjf-devfs2]: conf.h device.h

Log Message:
- Introduce new API for allowing device drivers to register/unregister
  names for device nodes along with a corresponding dev_t.

- Make device drivers that technically never get attached and need device
  nodes (mem, zero, null) provide an initialisation function, which gets
  an entry in a table of init functions that devsw_init() calls when the
  device switch tables are initialised.

- Since we're moving to a new way of notifying devfsd(8) of new devices,
  we no longer need to link together struct devices.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.15.6.1 src/sys/kern/subr_devsw.c
cvs rdiff -r1.129 -r1.129.14.1 src/sys/sys/conf.h
cvs rdiff -r1.103.6.1 -r1.103.6.2 src/sys/sys/device.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index