freebsd-skq/sys/conf
phk 32b7c9a433 Device megapatch 2/6:
This commit adds a couple of functions for pseudodrivers to use for
implementing cloning in a manner we will be able to lock down (shortly).

Basically what happens is that pseudo drivers get a way to ask for
"give me the dev_t with this unit number" or alternatively "give
me a dev_t with the lowest guaranteed free unit number" (there is
unfortunately a lot of non-POLA in the exact numeric value of this
number, just live with it for now)

Managing the unit number space this way removes the need to use
rman(9) to do so in the drivers this greatly simplifies the code in
the drivers because even using rman(9) they still needed to manage
their dev_t's anyway.

I have taken the if_tun, if_tap, snp and nmdm drivers through the
mill, partly because they (ab)used makedev(), but mostly because
together they represent three different problems for device-cloning:

if_tun and snp is the plain case: just give me a device.

if_tap has two kinds of devices, with a flag for device type.

nmdm has paired devices (ala pty) can you can clone either of them.
2004-02-21 20:29:52 +00:00
..
defines
files Initial import of RFC 2385 (TCP-MD5) digest support. 2004-02-11 04:26:04 +00:00
files.alpha Forgot ffsl() and flsl() on alpha. 2004-01-13 18:05:49 +00:00
files.amd64 Add crypto implemenation files (C versions (like alpha, unlike i386)) 2004-02-05 01:09:29 +00:00
files.i386 Switch to using the new $PIR interrupt routing code and remove the old 2004-02-18 22:41:53 +00:00
files.ia64 Add ffsl(), fls() flsl() to platforms that don't already have them. 2004-01-13 15:37:23 +00:00
files.pc98 MFi386: revision 1.466 2004-02-19 13:10:39 +00:00
files.powerpc Work-in-progress for the 'Kauai' ATA device in Mac notebooks. The 2004-02-12 09:17:16 +00:00
files.sparc64 Re-add libkern/ffs.c. I thought sparc64 had an inline version, but 2004-01-14 08:38:13 +00:00
kern.mk Reduce the inline limit from 20000 to 8000 after the previous changes 2004-02-06 20:40:04 +00:00
kern.post.mk Merged from kmod.mk,v 1.152: strip debugging symbols even when not 2004-02-13 13:21:41 +00:00
kern.pre.mk Reduce the number of knobs controlling the build of debug modules 2004-02-13 10:40:54 +00:00
kmod_syms.awk
kmod.mk Reduce the number of knobs controlling the build of debug modules 2004-02-13 10:40:54 +00:00
ldscript.alpha Don't override the standard SYSTEM_LD setting from kern.pre.mk. 2004-02-13 12:28:53 +00:00
ldscript.amd64
ldscript.i386
ldscript.ia64
ldscript.powerpc
ldscript.sparc64
majors Device megapatch 2/6: 2004-02-21 20:29:52 +00:00
majors.awk
Makefile.alpha Don't override the standard SYSTEM_LD setting from kern.pre.mk. 2004-02-13 12:28:53 +00:00
Makefile.amd64
Makefile.i386
Makefile.ia64
Makefile.pc98
Makefile.powerpc
Makefile.sparc64
makeLINT.mk
makeLINT.sed
newvers.sh Stay in sync with src/COPYRIGHT and src/sys/sys/copyright.h, 2004-01-11 14:13:29 +00:00
NOTES Add missing 'device ataraid' to support ATA software RAID. 2004-01-26 16:38:33 +00:00
options Initial import of RFC 2385 (TCP-MD5) digest support. 2004-02-11 04:26:04 +00:00
options.alpha
options.amd64
options.i386 Fixed some style bugs (insertion sort errors, tab lossage, and ornation 2004-01-25 15:27:23 +00:00
options.ia64
options.pc98 Fixed some style bugs. 2004-01-26 12:28:40 +00:00
options.powerpc Add required GFB options as well as one for ofw/syscons. 2004-01-21 05:20:58 +00:00
options.sparc64
systags.sh Fix pathname so 'make tags' in a kernel build directory looks in 2004-01-29 14:58:22 +00:00