summaryrefslogtreecommitdiff
path: root/sys/conf
AgeCommit message (Collapse)Author
2004-01-05Store the copyright text in conf/copyright, and use conf/newvers.shlukem
to generate the appropriate const char copyright[] = "..."; statement instead of hard coding it into kern/init_main.c. Idea from Simon Burge.
2003-12-31Split opencrypto configuration into an attribute, usable by inkerneljonathan
clients, and a pseudo-device for userspace access. The attribute is named `opencrypto'. The pseudo-device is renamed to "crypto", which has a dependency on "opencrypto". The sys/conf/majors entry and pseudo-device attach entrypoint are updated to match the new pseudo-device name. Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the "opencrypto" attribute. Drivers for crypto accelerators (ubsec, hifn775x) also pull in opencrypto, as providers of opencrypto transforms.
2003-12-31s/NBPG/PAGE_SIZE/ in a comment.martin
From Jeff Ito in PR kern/23935.
2003-12-30Replace the traditional buffer memory management -- based on fixed per bufferpk
virtual memory reservation and a private pool of memory pages -- by a scheme based on memory pools. This allows better utilization of memory because buffers can now be allocated with a granularity finer than the system's native page size (useful for filesystems with e.g. 1k or 2k fragment sizes). It also avoids fragmentation of virtual to physical memory mappings (due to the former fixed virtual address reservation) resulting in better utilization of MMU resources on some platforms. Finally, the scheme is more flexible by allowing run-time decisions on the amount of memory to be used for buffers. On the other hand, the effectiveness of the LRU queue for buffer recycling may be somewhat reduced compared to the traditional method since, due to the nature of the pool based memory allocation, the actual least recently used buffer may release its memory to a pool different from the one needed by a newly allocated buffer. However, this effect will kick in only if the system is under memory pressure.
2003-12-12Pull in netinet/ip_ecn.c if FAST_IPSEC is defined.scw
2003-12-10The file system snapshot pseudo driver.hannken
Uses a hook in spec_strategy() to save data written from a mounted file system to its block device and a hook in dounmount(). Not enabled by default in any kernel config. Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-12-07Add the RSSI-based rate-adaptation library to the build.dyoung
2003-12-04Dynamic sysctl.atatat
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(), vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all nodes are registered with the tree, and nodes can be added (or removed) easily, and I/O to and from the tree is handled generically. Since the nodes are registered with the tree, the mapping from name to number (and back again) can now be discovered, instead of having to be hard coded. Adding new nodes to the tree is likewise much simpler -- the new infrastructure handles almost all the work for simple types, and just about anything else can be done with a small helper function. All existing nodes are where they were before (numerically speaking), so all existing consumers of sysctl information should notice no difference. PS - I'm sorry, but there's a distinct lack of documentation at the moment. I'm working on sysctl(3/8/9) right now, and I promise to watch out for buses.
2003-12-04fix the MAKEVERBOSE messages to be consistent with the standard oneslukem
2003-12-01prefix ${.TARGET} with "${.CURDIR:T}/" in various _MKSHMSG macros;lukem
per similar change to <bsd.own.mk>
2003-11-25Change default verbosity level to `traditional'.pk
2003-11-25NORMAL_C,NOPROF_C,NORMAL_S: put `@' in front of these to get saner output.pk
Also we can't use _MKTARGET_COMPILE here. For now, just hard-code the message.
2003-11-25SYSTEM_LD: don't display every object file on the planet thrice.pk
2003-11-20Provide appropriate no-op defaults for _MK* macros, in case <bsd.own.mk>lukem
is too old.
2003-11-17Add support for MAKEVERBOSE (a first pass, at least).lukem
Use COPTS.<sourcefile> instead of <sourcefile>_G. Use HOST_SH (which defaults to `sh' if not set).
2003-11-16Oops. I missed this file in my previous commit. Add inclusion oftls
"files.skipjack" now that Skipjack has been moved from sys/opencrypto to crypto/skipjack.
2003-11-14Remove the .if !target(dependall) so that 'make dependall' works (again)dsl
for the kernel.
2003-11-11Prevent mkdep from parsing compiler flags like -pipe.enami
2003-11-06force -Wno-uninitialized if the compiler is gcc 2.95jdolecek
2003-10-30there is no SHMMMNIdrochner
2003-10-29Back out -Wno-uninitialized for m68k -- the compiler bug is fixed.mycroft
2003-10-29Add MI driver for mc146818 based time-of-day clock with todr(9) support.tsutsui
2003-10-28Add COPTS.<fn>, CPUFLAGS.<fn>, CPPFLAGS.<fn> to CFLAGS to mirror theskrll
file specific flags support of bsd.{lib,prog}.mk. From Christos.
2003-10-28sys/dev/ata/wd.c causes spurious warning about blkno nothe
being initialized before used. This appears to be a bug specific to (at least) the m68k target, and will be reported to the GCC maintainers.
2003-10-26Delete -Wno-uninitialized. Tested on sparc64 and i386. Rationale:christos
Gcc-3.3 produces valid warnings in most cases and uncovers bugs. In the cases where a variable is known to be initialized, we initialize it and add: /* XXX: gcc */. If a $MACHINE_ARCH's compiler is busted, it can add -Wno-uninitialized in the MD Makefile.
2003-10-21Cache the "adjusted" value of sb_max when sb_max is changed, in orderthorpej
to avoid doing quad math in sbreserve(). Change suggested by Simon Burge, and code inspired by a similar change in FreeBSD.
2003-10-17Introduce null console. This pseudo device acts as a normal console with thecdi
exception that it discards any output, and is useful for booting the kernel on headless boxes.
2003-10-15Use a shell variable instead of a cpp #define to provide the fulllukem
version string; it's more consistent.
2003-10-14Check for file existance, not readability. Remove extra touch.christos
2003-10-14assign the variables on separate lines; makes it easier to read andlukem
easier to change one locally with minimal cvs merge issues
2003-10-14clean up the method to initialize sccs[] and version[] to removelukem
unnecessary duplication in the source
2003-10-13Complete replacement of the old 802.11 layer with the new.dyoung
2003-10-10Add major for Vinumjdolecek
2003-10-10reassing majors for crypto and pf to use the newly defined MI majorjdolecek
range
2003-10-10update comments for the final major space arrangement:jdolecek
0-143 machine-dependant/traditional majors 144-159 local/vendor use 160-255 new-style MI range
2003-10-10move MI majors config file from sys/dev/majors to sys/conf/majorsjdolecek
2003-10-10Include Vinum.grog
2003-10-08Following Matt Thomas's request, rename ata attribute to ata_hl, andbouyer
wdc_base to ata. We can now have atabus* at ata? in kernel config files.
2003-10-08Make the ATA mid-layer appears as atabus, as proposed inbouyer
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html This adds a device (atabus) between IDE controllers and wd or atapibus, to have each ATA channel show up in the device tree. Later there will be atabus devices in /dev, so that we can do IOCTL on them. Each atabus has its own kernel thread, to handle operations that needs polling, e.g. reset and others. Device probing on each bus it defered to the atabus thread creation. This allows to do the reset and basic device probes in parallel, which reduce boot time on systems with several pciide controllers.
2003-10-05Add some framework for MI assignment of device majors - add sys/dev/majorsjdolecek
which is automatically included during kernel config, and add comments to individual machine-dependant majors.* files to assign new MI majors in MI file. Range 0-191 is reserved for machine-specific assignments, range 192+ are MI assignments. Follows recent discussion on tech-kern@
2003-10-04get the release version from <sys/param.h>, so that it won't be necessaryjdolecek
to change two places on version bump
2003-10-01Make the kernel makefiles pay attention to NOGCCERRORmatt
2003-09-30New generic I2C framework. Supports bit-bang and "intelligent" I2Cthorpej
interface controllers (of varying intelligence levels). Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford, with some modification by me.
2003-09-25autoconf goop for iavcpooka
2003-09-22Make COMPAT_xx imply all later COMPAT_yy. (COMPAT_09 implies all whereasmatt
COMPAT_14 just implies COMPAT_1[56]). This means COMPAT_xy implies NetBSD compatibility for NetBSD x.y OR LATER.
2003-09-16Welcome to 1.6ZCchristos
- hope this sticks for a while since it is my initials - cl, here is your chance to commit the SA pagefault stuff.
2003-09-14ZA -> ZBchristos
2003-09-13Bump version to 1.6ZA - struct proc and struct lwp changesjdolecek
Deja vu ...
2003-09-12merge netipsec/key* into netkey/key*. no need for both.itojun
change confusing filename
2003-09-06welcome to 1.6Zchristos