1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/sys
Ed Schouten 29d4cb241b Don't enforce unique device minor number policy anymore.
Except for the case where we use the cloner library (clone_create() and
friends), there is no reason to enforce a unique device minor number
policy. There are various drivers in the source tree that allocate unr
pools and such to provide minor numbers, without using them themselves.

Because we still need to support unique device minor numbers for the
cloner library, introduce a new flag called D_NEEDMINOR. All cdevsw's
that are used in combination with the cloner library should be marked
with this flag to make the cloning work.

This means drivers can now freely use si_drv0 to store their own flags
and state, making it effectively the same as si_drv1 and si_drv2. We
still keep the minor() and dev2unit() routines around to make drivers
happy.

The NTFS code also used the minor number in its hash table. We should
not do this anymore. If the si_drv0 field would be changed, it would no
longer end up in the same list.

Approved by:	philip (mentor)
2008-06-11 18:55:19 +00:00
..
amd64 Correct an error in pmap_promote_pde() that may result in an errant 2008-06-01 07:36:59 +00:00
arm Add the pxa_teardown_intr() bus method function to de-associate the 2008-06-10 06:06:15 +00:00
boot Fix the incorrect calculation of a block address within a single indirect 2008-06-07 05:49:24 +00:00
bsm
cam
cddl Don't enforce unique device minor number policy anymore. 2008-06-11 18:55:19 +00:00
compat fix a page fault that it occurred during ifp is NULL. This bug happens 2008-06-11 07:55:07 +00:00
conf Remove some sparc-specific stuff from my earlier sun4v work in p4. 2008-06-09 06:31:17 +00:00
contrib Fix range check for rtable id. 2008-06-05 19:30:20 +00:00
crypto
ddb Rename debug.ddb.capture.bytes sysctl to debug.ddb.capture.bufoff in 2008-04-25 13:23:36 +00:00
dev Don't enforce unique device minor number policy anymore. 2008-06-11 18:55:19 +00:00
fs Don't enforce unique device minor number policy anymore. 2008-06-11 18:55:19 +00:00
gdb
geom Remove the distinction between device minor and unit numbers. 2008-05-29 12:50:46 +00:00
gnu
i386 Don't enforce unique device minor number policy anymore. 2008-06-11 18:55:19 +00:00
ia64 Work-around a compiler optimization bug, that broke libthr. Massive 2008-05-28 16:41:02 +00:00
isa
kern Don't enforce unique device minor number policy anymore. 2008-06-11 18:55:19 +00:00
libkern
mips Fix spelling of "virtual". 2008-06-08 08:56:46 +00:00
modules Add support for the Apple Big Mac (BMAC) Ethernet controller, 2008-06-07 22:58:32 +00:00
net Don't enforce unique device minor number policy anymore. 2008-06-11 18:55:19 +00:00
net80211 Change the calling convention for ic_node_alloc to deal with 2008-06-07 18:38:02 +00:00
netatalk Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
netgraph Pass really available buffer size to libalias instead of MCLBYTES constant. 2008-06-01 15:13:32 +00:00
netinet Sort IP addresses before hashing them for the signature. Otherwise carp is 2008-06-02 18:58:07 +00:00
netinet6 Employ read locks on UDP inpcbs, rather than write locks, when 2008-05-29 08:27:14 +00:00
netipsec In addition to the ipsec_osdep.h removal a week ago, now also eliminate 2008-05-24 15:32:46 +00:00
netipx Rather than m_free(dtom(si)) in spx_reass(), return (1) which causes the 2008-05-29 07:18:43 +00:00
netnatm
netncp
netsmb
nfs
nfs4client Once the ENOLCK is detected we expect to retry the acquisition. 2008-05-27 00:20:19 +00:00
nfsclient Once the ENOLCK is detected we expect to retry the acquisition. 2008-05-27 00:20:19 +00:00
nfsserver Change the fix in the rev. 1.179 to use nfsrv_lockedpair_nd(). 2008-05-28 16:23:17 +00:00
nlm Back out the nlm_global_lock part of the last change - I forgot that only 2008-06-03 08:10:58 +00:00
opencrypto
pc98 Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and 2008-05-26 10:40:09 +00:00
pccard
pci - Use bus_foo() rather than bus_space_foo() and remove bus space tag/handle 2008-06-06 18:29:56 +00:00
powerpc Move bm(4) from the sys/conf/NOTES to sys/powerpc/conf/NOTES. 2008-06-08 01:58:11 +00:00
rpc
security Don't enforce unique device minor number policy anymore. 2008-06-11 18:55:19 +00:00
sparc64 The VM system no longer uses setPQL2(). Remove it and its helpers. 2008-05-23 04:03:54 +00:00
sun4v Use the "options " spelling (vs. "options<TAB>") so that commented lines 2008-05-21 03:36:53 +00:00
sys Don't enforce unique device minor number policy anymore. 2008-06-11 18:55:19 +00:00
tools
ufs Fix comments to replace SBSIZE with SBLOCKSIZE, since SBSIZE 2008-05-24 20:44:14 +00:00
vm Essentially, neither madvise(..., MADV_DONTNEED) nor madvise(..., MADV_FREE) 2008-06-06 18:38:43 +00:00
xdr
Makefile Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and 2008-05-26 10:40:09 +00:00