freebsd-nq/sys/i386
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
..
acpica Don't enforce unique device minor number policy anymore. 2008-06-11 18:55:19 +00:00
bios Now that all platforms use genclock, shuffle things around slightly 2008-04-22 19:38:30 +00:00
compile
conf Add jme(4) to the list of drivers supported by GENERIC kernel. 2008-05-27 02:22:32 +00:00
cpufreq After probing the available frequency settings, restore the CPU to run at 2008-05-30 22:01:09 +00:00
i386 style fix for newly introduced macro. 2008-05-25 14:50:47 +00:00
ibcs2 Implement the linux syscalls 2008-04-08 09:45:49 +00:00
include - Add an integer argument to idle to indicate how likely we are to wake 2008-04-25 05:18:50 +00:00
isa Add a cyclic hook for DTrace. 2008-05-24 06:27:54 +00:00
linux Regen. 2008-05-13 20:02:26 +00:00
pci More properly handle links who only have 1 valid IRQ in their bitmask. The 2007-12-21 16:53:27 +00:00
svr4 Since version 4.3, gcc changed its behaviour concerning the i386/amd64 2008-03-13 10:54:38 +00:00
xbox In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
Makefile Update entries for building tags. 2007-05-13 18:21:54 +00:00