Searched hist:111622 (Results 1 - 2 of 2) sorted by relevance
/freebsd-11-stable/sys/kern/ | ||
H A D | kern_conf.c | diff 111622 Thu Feb 27 12:46:51 MST 2003 phk Add support for allocating a device driver major number on demand. To do this, initialize the d_maj member of the cdevsw to MAJOR_AUTO. When the cdevsw is first passed to make_dev() a free major number will be assigned. Until we have a bit more experience with this a printf will announce this fact. Major numbers are not reclaimed, so loading/unloading the same device driver which uses MAJOR_AUTO will eventually deplete the pool of free major numbers and the system will panic when it can not allocate one. Still undecided who to invonvenience with the solution to this. |
/freebsd-11-stable/sys/sys/ | ||
H A D | conf.h | diff 111622 Thu Feb 27 12:46:51 MST 2003 phk Add support for allocating a device driver major number on demand. To do this, initialize the d_maj member of the cdevsw to MAJOR_AUTO. When the cdevsw is first passed to make_dev() a free major number will be assigned. Until we have a bit more experience with this a printf will announce this fact. Major numbers are not reclaimed, so loading/unloading the same device driver which uses MAJOR_AUTO will eventually deplete the pool of free major numbers and the system will panic when it can not allocate one. Still undecided who to invonvenience with the solution to this. |
Completed in 134 milliseconds