freebsd-nq/sys
Poul-Henning Kamp beea48b254 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.
2003-02-27 14:46:51 +00:00
..
alpha Change the process flags P_KSES to be P_THREADED. 2003-02-27 02:05:19 +00:00
amd64 Change the process flags P_KSES to be P_THREADED. 2003-02-27 02:05:19 +00:00
arm MB_LEN_MAX is not MD, move it to the MI limits.h. 2002-12-22 06:38:45 +00:00
boot Increase the block size for reading and writing from 8KB to 1MB and 2003-02-26 09:13:05 +00:00
cam msg 2003-02-26 20:53:28 +00:00
coda msg 2003-02-26 21:01:26 +00:00
compat Add M_WAITOK 2003-02-20 11:24:55 +00:00
conf Add necessary awk magic to create a table of major numbers allocated 2003-02-27 08:52:11 +00:00
contrib NO_GEOM cleanup: 2003-02-22 09:32:57 +00:00
crypto Remove some unnecessary casts. 2003-01-25 22:41:22 +00:00
ddb Change the process flags P_KSES to be P_THREADED. 2003-02-27 02:05:19 +00:00
dev Add yet a patch for the patchwork quilt called sio(4): 2003-02-27 14:09:36 +00:00
fs Copy some VM changes from smbfs_putpages() to nwfs_putpages(): lock 2003-02-27 11:35:22 +00:00
geom Cleanup of the d_mmap_t interface. 2003-02-25 03:21:22 +00:00
gnu - Add an interlock argument to BUF_LOCK and BUF_TIMELOCK. 2003-02-25 03:37:48 +00:00
i4b NODEVFS cleanup: 2003-02-26 21:10:04 +00:00
i386 NODEVFS cleanup: 2003-02-27 07:36:03 +00:00
ia64 Needn't kse.h 2003-02-27 03:16:35 +00:00
isa Cleanup of the d_mmap_t interface. 2003-02-25 03:21:22 +00:00
isofs/cd9660 Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
kern Add support for allocating a device driver major number on demand. 2003-02-27 14:46:51 +00:00
libkern Further GC of M_STRING, missed previously. 2003-02-26 01:00:29 +00:00
modules Build the ncp and nwfs modules again, but only on i386 for now. 2003-02-27 11:31:08 +00:00
net NODEVFS cleanup: remove calls to cdevsw_remove() 2003-02-26 20:20:58 +00:00
netatalk Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
netatm There is no reason to be cute with ntohl(). Just call it directly rather 2003-02-23 22:26:39 +00:00
netgraph Some more updates for the new world order: 2003-02-26 19:49:32 +00:00
netinet In timewait state, if the incoming segment is a pure in-sequence ack 2003-02-26 18:20:41 +00:00
netinet6 Fix another case for timewait. 2003-02-24 02:06:50 +00:00
netipsec Update to work with the new timewait state. 2003-02-24 02:06:02 +00:00
netipx Allocate struct ipx_ifaddrs with an initial reference count of 1, not 0. 2003-02-25 15:10:23 +00:00
netkey Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
netnatm Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
netncp Catch up with KSE changes. 2003-02-26 21:25:55 +00:00
netns Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
netsmb Use noread(), nowrite() and nopoll() instead of our own stub functions. 2003-02-27 14:35:21 +00:00
nfs Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
nfsclient - The interlock was not being droped in nfs_flush() if the first part of 2003-02-26 00:24:19 +00:00
nfsserver - Add an interlock argument to BUF_LOCK and BUF_TIMELOCK. 2003-02-25 03:37:48 +00:00
opencrypto o add a CRYPTO_F_CBIMM flag to symmetric ops to indicate the callback 2003-02-23 07:25:48 +00:00
pc98 Implemented "nooption" and "nomakeoption" config(8) tokens. 2003-02-26 23:36:59 +00:00
pccard Add SMC 34C90. Not tested, but should be a no-op except for the id string. 2003-02-26 05:45:48 +00:00
pci Use rman_get_start() to get start address of the resource. 2003-02-26 13:46:40 +00:00
posix4 Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
powerpc Register typo and incorrect 32-bit constant load in previous commit. 2003-02-26 14:41:39 +00:00
rpc
security Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
sparc64 Change the process flags P_KSES to be P_THREADED. 2003-02-27 02:05:19 +00:00
sys Add support for allocating a device driver major number on demand. 2003-02-27 14:46:51 +00:00
tools Remove miidevs.h and generate it from miidevs at compile time. 2003-01-19 02:59:34 +00:00
ufs Change the field used to test whether the superblock has been updated 2003-02-25 23:21:08 +00:00
vm Fuse two #ifdefs with identical conditions. 2003-02-25 06:46:08 +00:00
Makefile