The NetBSD Project

CVS log for src/sys/conf/files

[BACK] Up to [cvs.NetBSD.org] / src / sys / conf

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.1120 / (download) - annotate - [select for diffs], Sun Oct 12 04:30:42 2014 UTC (10 days, 19 hours ago) by uebayasi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1119: +1 -228 lines
Diff to previous 1.1119 (colored)

Move kern definitions.

Revision 1.1119 / (download) - annotate - [select for diffs], Sun Oct 12 03:56:18 2014 UTC (10 days, 19 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1118: +1 -66 lines
Diff to previous 1.1118 (colored)

Move net definitions.

Revision 1.1118 / (download) - annotate - [select for diffs], Sun Oct 12 03:52:30 2014 UTC (10 days, 19 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1117: +6 -3 lines
Diff to previous 1.1117 (colored)

Define layerfs as an attribute.

Revision 1.1117 / (download) - annotate - [select for diffs], Fri Oct 10 17:21:20 2014 UTC (12 days, 6 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1116: +0 -3 lines
Diff to previous 1.1116 (colored)

Normalize audio related definitions.

Revision 1.1116 / (download) - annotate - [select for diffs], Fri Oct 10 12:46:32 2014 UTC (12 days, 10 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1115: +14 -12 lines
Diff to previous 1.1115 (colored)

Define net attribute.  Always select it for now.

Revision 1.1115 / (download) - annotate - [select for diffs], Fri Oct 10 12:39:53 2014 UTC (12 days, 10 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1114: +4 -11 lines
Diff to previous 1.1114 (colored)

Move athn definitions.

Revision 1.1114 / (download) - annotate - [select for diffs], Fri Oct 10 12:29:28 2014 UTC (12 days, 11 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1113: +2 -25 lines
Diff to previous 1.1113 (colored)

Move audio related definitions.

Revision 1.1113 / (download) - annotate - [select for diffs], Fri Oct 10 12:20:13 2014 UTC (12 days, 11 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1112: +30 -28 lines
Diff to previous 1.1112 (colored)

To make sure that I'm not doing wrong, try to define ffs/ufs/vfs dependencies
a little more strictly.

Revision 1.1112 / (download) - annotate - [select for diffs], Fri Oct 10 12:10:02 2014 UTC (12 days, 11 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1111: +1 -1 lines
Diff to previous 1.1111 (colored)

Bump config(1) version.

config(1) still keeps backward-compatibility; it is more permissive than
before.  The tree, however, needs the updated config(1), mainly to strictly
define attribute ("module") ownership and dependencies.

Revision 1.1111 / (download) - annotate - [select for diffs], Fri Oct 10 10:25:00 2014 UTC (12 days, 13 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1110: +2 -2 lines
Diff to previous 1.1110 (colored)

Now that attribute dependency works, prefer it to options dependency (personal
preference).  Use it for "kern", depending on "machdep" and "uvm".

Revision 1.1110 / (download) - annotate - [select for diffs], Fri Oct 10 09:31:40 2014 UTC (12 days, 14 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1109: +1 -1 lines
Diff to previous 1.1109 (colored)

Use option dependency to always select KERN (and its dependencies).

Revision 1.1109 / (download) - annotate - [select for diffs], Fri Oct 10 09:13:21 2014 UTC (12 days, 14 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1108: +3 -0 lines
Diff to previous 1.1108 (colored)

Define "machdep" attribute and mark files (in amd64 and x86).

Revision 1.1108 / (download) - annotate - [select for diffs], Fri Oct 10 09:01:01 2014 UTC (12 days, 14 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1107: +2 -1 lines
Diff to previous 1.1107 (colored)

Use opt_*.h to not polute CPPFLAGS.

Attribute dependency is not yet.  Revert a definition.

Revision 1.1107 / (download) - annotate - [select for diffs], Fri Oct 10 08:24:54 2014 UTC (12 days, 15 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1106: +1 -1 lines
Diff to previous 1.1106 (colored)

Define "uvm" attribute and mark files.

Revision 1.1106 / (download) - annotate - [select for diffs], Fri Oct 10 08:18:04 2014 UTC (12 days, 15 hours ago) by uebayasi
Branch: MAIN
Changes since 1.1105: +150 -149 lines
Diff to previous 1.1105 (colored)

Define "kern" attribute (a.k.a module).  Mark kern_*.c (and some others) as
"kern".  Always select "kern" in sys/conf/std.

Revision 1.1105 / (download) - annotate - [select for diffs], Sun Sep 21 14:31:38 2014 UTC (4 weeks, 3 days ago) by christos
Branch: MAIN
Changes since 1.1104: +4 -1 lines
Diff to previous 1.1104 (colored)

add the common code for verbose printing of devices.

Revision 1.1104 / (download) - annotate - [select for diffs], Sat Sep 13 14:47:35 2014 UTC (5 weeks, 4 days ago) by jmcneill
Branch: MAIN
Changes since 1.1103: +2 -1 lines
Diff to previous 1.1103 (colored)

options MOTG_ALLWINNER to select the awin specific reg layout

Revision 1.1103 / (download) - annotate - [select for diffs], Mon Sep 8 14:26:16 2014 UTC (6 weeks, 2 days ago) by martin
Branch: MAIN
Changes since 1.1102: +6 -1 lines
Diff to previous 1.1102 (colored)

Config glue for the Designware GMAC core.
Switch allwinner specific awge driver over to use it.

Revision 1.1096.2.1 / (download) - annotate - [select for diffs], Fri Aug 29 11:42:15 2014 UTC (7 weeks, 5 days ago) by martin
Branch: netbsd-7
Changes since 1.1096: +5 -1 lines
Diff to previous 1.1096 (colored) next main 1.1097 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #62):
	sys/arch/hp300/conf/files.hp300: revision 1.89
	share/man/man4/arcofi.4: revision 1.1
	share/man/man4/arcofi.4: revision 1.2
	share/man/man4/Makefile: revision 1.617
	sys/arch/hp300/hp300/intr.c: revision 1.41
	sys/conf/files: revision 1.1100
	sys/arch/hp300/hp300/locore.s: revision 1.171
	distrib/sets/lists/man/mi: revision 1.1486
	sys/dev/ic/arcofivar.h: revision 1.1
	sys/arch/hp300/conf/majors.hp300: revision 1.26
	sys/arch/hp300/dev/arcofi_dio.c: revision 1.1
	sys/arch/hp300/conf/GENERIC: revision 1.188
	sys/dev/ic/arcofi.c: revision 1.1
Add new arcofi(4) audio driver for NetBSD/hp300, ported from OpenBSD.
The arcofi(4) is a driver for the HP "Audio1" device
(Siemens PSB 2160 "ARCOFI" phone quality audio chip)
found on the HP9000/425e and HP9000/{705,710,745,747} models
(but only hp300 attachment is ported for now).
The chip supports 8-bit mono 8kHz U-law, A-law and
16-bit mono slinear_be formats.
The old HP9000/425e playing tunes with this new arcofi(4) audio driver
was also demonstrated at Open Source Conference 2014 Shimane.
Add a man page for arcofi(4) driver.  From OpenBSD.
Fix date.

Revision 1.1102 / (download) - annotate - [select for diffs], Sun Aug 24 20:23:38 2014 UTC (8 weeks, 3 days ago) by joerg
Branch: MAIN
Changes since 1.1101: +2 -3 lines
Diff to previous 1.1101 (colored)

Revert last, bump required config version instead.

Revision 1.1101 / (download) - annotate - [select for diffs], Sun Aug 24 16:42:46 2014 UTC (8 weeks, 3 days ago) by matt
Branch: MAIN
Changes since 1.1100: +2 -1 lines
Diff to previous 1.1100 (colored)

Add entry for kern/kern_ksyms_buf.c

Revision 1.1100 / (download) - annotate - [select for diffs], Sun Aug 24 08:17:44 2014 UTC (8 weeks, 3 days ago) by tsutsui
Branch: MAIN
Changes since 1.1099: +5 -1 lines
Diff to previous 1.1099 (colored)

Add new arcofi(4) audio driver for NetBSD/hp300, ported from OpenBSD.

The arcofi(4) is a driver for the HP "Audio1" device
(Siemens PSB 2160 "ARCOFI" phone quality audio chip)
found on the HP9000/425e and HP9000/{705,710,745,747} models
(but only hp300 attachment is ported for now).
The chip supports 8-bit mono 8kHz U-law, A-law and
16-bit mono slinear_be formats.

The old HP9000/425e playing tunes with this new arcofi(4) audio driver
was also demonstrated at Open Source Conference 2014 Shimane.

Revision 1.1099 / (download) - annotate - [select for diffs], Sun Aug 24 07:59:23 2014 UTC (8 weeks, 3 days ago) by jnemeth
Branch: MAIN
Changes since 1.1098: +3 -2 lines
Diff to previous 1.1098 (colored)

Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.

Revision 1.1057.2.4 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:34 2014 UTC (2 months ago) by tls
Branch: tls-maxphys
Changes since 1.1057.2.3: +64 -19 lines
Diff to previous 1.1057.2.3 (colored) next main 1.1058 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.1098 / (download) - annotate - [select for diffs], Sun Aug 17 21:17:44 2014 UTC (2 months ago) by joerg
Branch: MAIN
Changes since 1.1097: +1 -2 lines
Diff to previous 1.1097 (colored)

Reorganize symbol table embedding.  The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.

Revision 1.1097 / (download) - annotate - [select for diffs], Sat Aug 16 17:24:28 2014 UTC (2 months ago) by apb
Branch: MAIN
Changes since 1.1096: +3 -2 lines
Diff to previous 1.1096 (colored)

Add COMPAT_70 to conf/files; add compat_70 to kern/syscalls.conf
and compat/netbsd32/syscalls.conf.

Revision 1.1096 / (download) - annotate - [select for diffs], Sun Aug 10 16:44:35 2014 UTC (2 months, 1 week ago) by tls
Branch: MAIN
CVS Tags: tls-maxphys-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.1095: +7 -1 lines
Diff to previous 1.1095 (colored)

Merge tls-earlyentropy branch into HEAD.

Revision 1.1090.2.4 / (download) - annotate - [select for diffs], Sun Aug 10 08:10:31 2014 UTC (2 months, 1 week ago) by tls
Branch: tls-earlyentropy
Changes since 1.1090.2.3: +4 -1 lines
Diff to previous 1.1090.2.3 (colored) to branchpoint 1.1090 (colored) next main 1.1091 (colored)

The printf entropy source seems to have a lock-recursion problem.
Temporarily disable it unless options RND_PRINTF is set.

Revision 1.1090.2.3 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:36 2014 UTC (2 months, 1 week ago) by tls
Branch: tls-earlyentropy
Changes since 1.1090.2.2: +9 -3 lines
Diff to previous 1.1090.2.2 (colored) to branchpoint 1.1090 (colored)

Rebase.

Revision 1.1090.2.2 / (download) - annotate - [select for diffs], Sat Aug 9 06:19:50 2014 UTC (2 months, 1 week ago) by tls
Branch: tls-earlyentropy
Changes since 1.1090.2.1: +4 -2 lines
Diff to previous 1.1090.2.1 (colored) to branchpoint 1.1090 (colored)

Replace "ccrand" ChaCha implementation of cprng_fast with Taylor's smaller
and somewhat simpler one.  Fix rump builds so we can build a distribution.

Revision 1.1095 / (download) - annotate - [select for diffs], Wed Jul 30 13:32:09 2014 UTC (2 months, 3 weeks ago) by ozaki-r
Branch: MAIN
CVS Tags: tls-earlyentropy-base
Changes since 1.1094: +2 -2 lines
Diff to previous 1.1094 (colored)

Call etherinit from ifinit1 only when it is required

This unbreaks the builds of kernels that don't build if_ethersubr.c.

Revision 1.1090.2.1 / (download) - annotate - [select for diffs], Thu Jul 17 14:03:33 2014 UTC (3 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.1090: +2 -1 lines
Diff to previous 1.1090 (colored)

Adjustments to the "earlyentropy" branch in response to the various
discussions beginning with my initial proposal
http://mail-index.netbsd.org/tech-kern/2014/04/08/msg016876.html and
particularly the long discussion of cprng_fast() performance (e.g.
https://mail-index.netbsd.org/tech-crypto/2014/04/21/msg000642.html).

In particular:

	* Per-CPU, lockless cprng_fast replacement using Dennis Ferguson's
	  "ccrand" implementation of ChaCha8.

	* libkern arc4random() is gone, gone, gone.

	* Entropy estimator reverted to 32-bit recordkeeping and timestamps
	  per Dennis' comments and analysis.

	* LZF entropy estimator removed: it required a great deal of state,
	  and rejected only truly pathological input.

	I have not yet reverted the changes that provide LZF in the kernel
	as generic functionality; I will likely revert those changes prior
	to any merge of this branch to HEAD.

Revision 1.1094 / (download) - annotate - [select for diffs], Wed Jul 16 18:22:23 2014 UTC (3 months ago) by bouyer
Branch: MAIN
Changes since 1.1093: +5 -1 lines
Diff to previous 1.1093 (colored)

Add motg(4), a driver for Mentor Graphic's OTG USB controller IP,
as found in several SoCs.
Only host mode is supported, good enough for umass (USB keys), kubd and ums,
and USB2 hubs.
It fails to properly talk to USB/serial adapters at this time.

Revision 1.1093 / (download) - annotate - [select for diffs], Thu Jun 12 21:08:31 2014 UTC (4 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.1092: +2 -2 lines
Diff to previous 1.1092 (colored)

stf is a 6->4 gateway and needs both inet4 and inet6 not one or the other.

Revision 1.1092 / (download) - annotate - [select for diffs], Thu Jun 5 23:48:16 2014 UTC (4 months, 2 weeks ago) by rmind
Branch: MAIN
Changes since 1.1091: +2 -1 lines
Diff to previous 1.1091 (colored)

- Implement pktqueue interface for lockless IP input queue.
- Replace ipintrq and ip6intrq with the pktqueue mechanism.
- Eliminate kernel-lock from ipintr() and ip6intr().
- Some preparation work to push softnet_lock out of ipintr().

Discussed on tech-net.

Revision 1.1030.2.6 / (download) - annotate - [select for diffs], Thu May 22 11:40:18 2014 UTC (5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1030.2.5: +75 -32 lines
Diff to previous 1.1030.2.5 (colored) to branchpoint 1.1030 (colored) next main 1.1031 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.1091 / (download) - annotate - [select for diffs], Mon May 19 22:47:54 2014 UTC (5 months ago) by rmind
Branch: MAIN
Changes since 1.1090: +2 -1 lines
Diff to previous 1.1090 (colored)

Implement MI IPI interface with cross-call support.

Revision 1.1076.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:34 2014 UTC (5 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.1076.2.1: +38 -7 lines
Diff to previous 1.1076.2.1 (colored) next main 1.1077 (colored)

sync with head

Revision 1.1090 / (download) - annotate - [select for diffs], Tue Apr 1 17:49:30 2014 UTC (6 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.1089: +7 -7 lines
Diff to previous 1.1089 (colored)

Fix apple_smc config in conf/files.

Revision 1.1089 / (download) - annotate - [select for diffs], Tue Apr 1 17:48:39 2014 UTC (6 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.1088: +3 -2 lines
Diff to previous 1.1088 (colored)

Rework Apple SMC attachment goo and split into multiple modules.

The four modules are apple_smc for the core functions, apple_smc_acpi
for attachment at acpi, and apple_smc_fan & apple_smc_temp for stuff
on the SMC.

Seems like there's a lot more bookkeeping necessary to maintain
children of an applesmc device implemented by loadable modules.
Maybe there's a better way I just haven't figured out yet.

Revision 1.1088 / (download) - annotate - [select for diffs], Tue Apr 1 17:47:36 2014 UTC (6 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.1087: +21 -1 lines
Diff to previous 1.1087 (colored)

First draft of drivers for the Apple System Management Controller.

Device interface derived by reading the Linux driver source code and
<http:///www.parhelia.ch/blog/statics/k3_keys.html> as of 2012-12-05.

Includes support for attaching fan and temperature sensors to sysmon.
No accelerometer yet.

Compile-tested only, based on some run-testing of experiments from
userland.  Module attachment is not quite finished, so it won't work
yet.

Revision 1.924.4.1.4.5 / (download) - annotate - [select for diffs], Mon Mar 24 18:50:51 2014 UTC (6 months, 4 weeks ago) by matt
Branch: matt-nb5-mips64
Changes since 1.924.4.1.4.4: +2 -2 lines
Diff to previous 1.924.4.1.4.4 (colored) to branchpoint 1.924.4.1 (colored) next main 1.924.4.2 (colored)

Add sata_fis to ahcisata

Revision 1.1087 / (download) - annotate - [select for diffs], Wed Mar 19 15:26:42 2014 UTC (7 months ago) by nonaka
Branch: MAIN
Changes since 1.1086: +6 -2 lines
Diff to previous 1.1086 (colored)

Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.

Revision 1.1086 / (download) - annotate - [select for diffs], Tue Mar 18 18:20:41 2014 UTC (7 months ago) by riastradh
Branch: MAIN
Changes since 1.1085: +4 -1 lines
Diff to previous 1.1085 (colored)

Merge riastradh-drm2 to HEAD.

Revision 1.1085 / (download) - annotate - [select for diffs], Wed Mar 5 03:16:43 2014 UTC (7 months, 2 weeks ago) by ozaki-r
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.1084: +2 -2 lines
Diff to previous 1.1084 (colored)

Build net/zlib.c for DTrace

This is needed for building DTrace on ARM.

Revision 1.1077.2.4 / (download) - annotate - [select for diffs], Tue Mar 4 20:45:16 2014 UTC (7 months, 2 weeks ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1077.2.3: +3 -1 lines
Diff to previous 1.1077.2.3 (colored) to branchpoint 1.1077 (colored) next main 1.1078 (colored)

Rework drm2 configuration and modularization.

- Split drm2.kmod into drmkms_linux, drmkms, drmkms_pci.
- Split up drmkms-related files.* similarly.
- Make drm_agp_* routines hooks that the drmkms_pci module installs.
- Reuse drm device major 180 for (old) drm and drmkms.

Now old drm and new drmkms can coexist happily in the same tree, with
or without PCI, and require no changes to userland.

Revision 1.1084 / (download) - annotate - [select for diffs], Thu Feb 27 13:00:06 2014 UTC (7 months, 3 weeks ago) by hannken
Branch: MAIN
Changes since 1.1083: +2 -1 lines
Diff to previous 1.1083 (colored)

Currently dead vnodes still reside on the vnodelist of the file system
they have been removed from.

Create a "dead mount" that takes dead vnodes until they get freed.

Discussed on tech-kern.

Revision 1.1083 / (download) - annotate - [select for diffs], Fri Feb 21 07:32:43 2014 UTC (8 months ago) by matt
Branch: MAIN
Changes since 1.1082: +2 -1 lines
Diff to previous 1.1082 (colored)

defparam KERNHIST_DELAY

Revision 1.924.4.1.4.4 / (download) - annotate - [select for diffs], Fri Feb 14 18:35:15 2014 UTC (8 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.924.4.1.4.3: +2 -1 lines
Diff to previous 1.924.4.1.4.3 (colored) to branchpoint 1.924.4.1 (colored)

defparam COM_TOLERANCE

Revision 1.1077.2.3 / (download) - annotate - [select for diffs], Wed Jan 29 19:47:38 2014 UTC (8 months, 3 weeks ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1077.2.2: +4 -2 lines
Diff to previous 1.1077.2.2 (colored) to branchpoint 1.1077 (colored)

First draft of in-kernel drm2 attachment.

The drm2 `drm' device is now called `drmkms' (likewise `i915drmkms',
&c.) so that it can coexist with the old drm code to reduce diffs
from HEAD.  (Can't call a device `drm2'.)

Revision 1.1082 / (download) - annotate - [select for diffs], Mon Dec 9 16:45:23 2013 UTC (10 months, 1 week ago) by pooka
Branch: MAIN
Changes since 1.1081: +2 -1 lines
Diff to previous 1.1081 (colored)

Put vfs bits of ktrace into kern_ktrace_vfs.c per convention.

Revision 1.924.4.1.4.3 / (download) - annotate - [select for diffs], Wed Nov 13 22:39:58 2013 UTC (11 months, 1 week ago) by matt
Branch: matt-nb5-mips64
Changes since 1.924.4.1.4.2: +14 -5 lines
Diff to previous 1.924.4.1.4.2 (colored) to branchpoint 1.924.4.1 (colored)

Add usb_dma, xhci

Revision 1.1081 / (download) - annotate - [select for diffs], Tue Oct 15 15:13:17 2013 UTC (12 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.1080: +1 -6 lines
Diff to previous 1.1080 (colored)

Remove dotg(4) as it's been replaced by dwctwo(4).

Revision 1.1080 / (download) - annotate - [select for diffs], Sat Sep 21 13:22:48 2013 UTC (13 months ago) by skrll
Branch: MAIN
Changes since 1.1079: +5 -1 lines
Diff to previous 1.1079 (colored)

Some dwc2 glue.

Revision 1.1077.2.2 / (download) - annotate - [select for diffs], Sun Sep 8 15:33:06 2013 UTC (13 months, 1 week ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1077.2.1: +1 -1 lines
Diff to previous 1.1077.2.1 (colored) to branchpoint 1.1077 (colored)

Restore config `drm' attribute in sys/conf/files.

Not sure why this started to be necessary after the merge, but
whatever...

Revision 1.1079 / (download) - annotate - [select for diffs], Sun Sep 8 12:51:14 2013 UTC (13 months, 2 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.1078: +4 -3 lines
Diff to previous 1.1078 (colored)

defparam ATADEBUG_MASK

Revision 1.1076.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:24 2013 UTC (13 months, 3 weeks ago) by rmind
Branch: rmind-smpnet
Changes since 1.1076: +5 -5 lines
Diff to previous 1.1076 (colored)

sync with head

Revision 1.1078 / (download) - annotate - [select for diffs], Sat Jul 27 07:02:03 2013 UTC (14 months, 3 weeks ago) by kiyohara
Branch: MAIN
Changes since 1.1077: +4 -3 lines
Diff to previous 1.1077 (colored)

Add COM_16750 to opt_com.h.

Revision 1.1077.2.1 / (download) - annotate - [select for diffs], Wed Jul 24 03:53:14 2013 UTC (14 months, 4 weeks ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1077: +4 -5 lines
Diff to previous 1.1077 (colored)

Provisional NO_DRM config for testing with a module.

Too much trouble to keep this as an uncommitted change...

Revision 1.1077 / (download) - annotate - [select for diffs], Sat Jun 29 21:06:57 2013 UTC (15 months, 3 weeks ago) by rmind
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base
Branch point for: riastradh-drm2
Changes since 1.1076: +2 -3 lines
Diff to previous 1.1076 (colored)

- Rewrite parts of pfil(9): use array to store hooks and thus be more cache
  friendly (there are only few hooks in the system).  Make the structures
  opaque and the interface more strict.
- Remove PFIL_HOOKS option by making pfil(9) mandatory.

Revision 1.1076 / (download) - annotate - [select for diffs], Mon Jun 24 16:19:43 2013 UTC (15 months, 4 weeks ago) by jakllsch
Branch: MAIN
Branch point for: rmind-smpnet
Changes since 1.1075: +6 -6 lines
Diff to previous 1.1075 (colored)

drop trailing whitespace

Revision 1.1075 / (download) - annotate - [select for diffs], Mon Jun 24 16:19:02 2013 UTC (15 months, 4 weeks ago) by jakllsch
Branch: MAIN
Changes since 1.1074: +4 -3 lines
Diff to previous 1.1074 (colored)

Fix some comment formatting nits in the USB region.

Revision 1.1057.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:16 2013 UTC (16 months ago) by tls
Branch: tls-maxphys
Changes since 1.1057.2.2: +26 -16 lines
Diff to previous 1.1057.2.2 (colored)

resync from head

Revision 1.1074 / (download) - annotate - [select for diffs], Sun Jun 23 02:35:24 2013 UTC (16 months ago) by riastradh
Branch: MAIN
Changes since 1.1073: +2 -1 lines
Diff to previous 1.1073 (colored)

Rework rndsink(9) abstraction and adapt arc4random(9) and cprng(9).

rndsink(9):
- Simplify API.
- Simplify locking scheme.
- Add a man page.
- Avoid races in destruction.
- Avoid races in requesting entropy now and scheduling entropy later.

Periodic distribution of entropy to sinks reduces the need for the
last one, but this way we don't need to rely on periodic distribution
(e.g., in a future tickless NetBSD).

rndsinks_lock should probably eventually merge with the rndpool lock,
but we'll put that off for now.

cprng(9):
- Make struct cprng_strong opaque.
- Move rndpseudo.c parts that futz with cprng guts to subr_cprng.c.
- Fix kevent locking.  (Is kevent locking documented anywhere?)
- Stub out rump cprng further until we can rumpify rndsink instead.
- Strip code to grovel through struct cprng_strong in fstat.

Revision 1.1073 / (download) - annotate - [select for diffs], Mon Jun 10 20:28:36 2013 UTC (16 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.1072: +2 -2 lines
Diff to previous 1.1072 (colored)

there is no more fast_ipsec

Revision 1.1072 / (download) - annotate - [select for diffs], Mon Jun 10 20:08:35 2013 UTC (16 months, 1 week ago) by gdt
Branch: MAIN
Changes since 1.1071: +3 -3 lines
Diff to previous 1.1071 (colored)

Drop references to kame_ipsec, which has been gone for a while.

Revision 1.1071 / (download) - annotate - [select for diffs], Sun May 26 18:07:42 2013 UTC (16 months, 3 weeks ago) by kardel
Branch: MAIN
Changes since 1.1070: +2 -2 lines
Diff to previous 1.1070 (colored)

Extend kernel PPS api with pps_ref_event().
pps_ref_event() allows capturing PPS time stamps
that are not generated at precisely 1Hz (e. g.
by reading a precision clock via callout()).

This extension allows clock drivers to supply PPS
time-stamps and drive the kernel NTP PLL
without the overhead of interrupt-handling and
-processing.

Revision 1.1070.2.1 / (download) - annotate - [select for diffs], Sun May 12 01:49:44 2013 UTC (17 months, 1 week ago) by khorben
Branch: khorben-n900
Changes since 1.1070: +12 -11 lines
Diff to previous 1.1070 (colored) next main 1.1071 (colored)

Added keyboard support for the TPS65950 companion chip.

Tested on the Nokia N900 (multi-user)

Revision 1.1070 / (download) - annotate - [select for diffs], Sun Apr 28 03:11:32 2013 UTC (17 months, 3 weeks ago) by christos
Branch: MAIN
Branch point for: khorben-n900
Changes since 1.1069: +14 -14 lines
Diff to previous 1.1069 (colored)

put needs flag back in a bunch of drivers because we need the file for #ifdefs

Revision 1.1069 / (download) - annotate - [select for diffs], Sat Apr 27 22:56:39 2013 UTC (17 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.1068: +19 -19 lines
Diff to previous 1.1068 (colored)

more needs-flag removed.

Revision 1.1068 / (download) - annotate - [select for diffs], Sat Apr 27 17:22:58 2013 UTC (17 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.1067: +2 -2 lines
Diff to previous 1.1067 (colored)

ccd and cgd don't need flag

Revision 1.1067 / (download) - annotate - [select for diffs], Sat Apr 27 17:16:43 2013 UTC (17 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.1066: +2 -2 lines
Diff to previous 1.1066 (colored)

ccd does not need flags anymore

Revision 1.1066 / (download) - annotate - [select for diffs], Sat Mar 30 02:38:59 2013 UTC (18 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.1065: +16 -4 lines
Diff to previous 1.1065 (colored)

patches for new wifi devices.

Revision 1.1065 / (download) - annotate - [select for diffs], Fri Mar 1 18:25:55 2013 UTC (19 months, 3 weeks ago) by joerg
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.1064: +1 -3 lines
Diff to previous 1.1064 (colored)

Retire OSI network stack. OK core@

Revision 1.1057.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:09 2013 UTC (19 months, 3 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.1057.2.1: +9 -4 lines
Diff to previous 1.1057.2.1 (colored)

resync with head

Revision 1.1064 / (download) - annotate - [select for diffs], Fri Feb 22 15:59:14 2013 UTC (19 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.1063: +3 -3 lines
Diff to previous 1.1063 (colored)

inet & inet6 == wrong
(inet | inet6) == right

Revision 1.1043.2.2 / (download) - annotate - [select for diffs], Wed Feb 13 01:36:15 2013 UTC (20 months, 1 week ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.1043.2.1: +6 -1 lines
Diff to previous 1.1043.2.1 (colored) to branchpoint 1.1043 (colored) next main 1.1044 (colored)

Pull up following revision(s) (requested by skrll in ticket #813):

etc/MAKEDEV.tmpl					1.160
etc/etc.evbarm/MAKEDEV.conf				1.9
external/broadcom/rpi-firmware/dist/LICENCE.broadcom	1.1
external/broadcom/rpi-firmware/dist/bootcode.bin	1.1
external/broadcom/rpi-firmware/dist/bootcode.bin	1.2
external/broadcom/rpi-firmware/dist/fixup.dat		1.1
external/broadcom/rpi-firmware/dist/fixup.dat		1.2
external/broadcom/rpi-firmware/dist/fixup_cd.dat	1.1
external/broadcom/rpi-firmware/dist/fixup_cd.dat	1.2
external/broadcom/rpi-firmware/dist/start.elf		1.1
external/broadcom/rpi-firmware/dist/start.elf		1.2
external/broadcom/rpi-firmware/dist/start_cd.elf	1.1
external/broadcom/rpi-firmware/dist/start_cd.elf	1.2
sys/arch/arm/broadcom/bcm2835_bsc.c			1.1 via patch
sys/arch/arm/broadcom/bcm2835_bscreg.h			1.1 via patch
sys/arch/arm/broadcom/bcm2835_dotg.c			1.1 via patch
sys/arch/arm/broadcom/bcm2835_emmc.c			1.7 via patch
sys/arch/arm/broadcom/bcm2835_genfb.c			1.4 via patch
sys/arch/arm/broadcom/bcm2835_gpio_subr.c		1.2 via patch
sys/arch/arm/broadcom/bcm2835_gpio_subr.h		1.1 via patch
sys/arch/arm/broadcom/bcm2835_gpioreg.h			1.1 via patch
sys/arch/arm/broadcom/bcm2835_intr.c			1.3 via patch
sys/arch/arm/broadcom/bcm2835_mbox.c			1.5 via patch
sys/arch/arm/broadcom/bcm2835_mbox.h			1.4 via patch
sys/arch/arm/broadcom/bcm2835_obio.c			1.17 via patch
sys/arch/arm/broadcom/bcm2835_pm.c			1.2 via patch
sys/arch/arm/broadcom/bcm2835_rng.c			1.3 via patch
sys/arch/arm/broadcom/bcm2835_space.c			1.5 via patch
sys/arch/arm/broadcom/bcm2835_spi.c			1.1 via patch
sys/arch/arm/broadcom/bcm2835_spireg.h			1.1 via patch
sys/arch/arm/broadcom/bcm2835_tmr.c			1.3 via patch
sys/arch/arm/broadcom/bcm2835reg.h			1.10 via patch
sys/arch/arm/broadcom/files.bcm2835			1.14 via patch
sys/arch/evbarm/conf/RPI				1.23 via patch
sys/arch/evbarm/conf/files.rpi				1.3 via patch
sys/arch/evbarm/conf/mk.rpi				1.2 via patch
sys/arch/evbarm/conf/std.rpi				1.4 via patch
sys/arch/evbarm/rpi/rpi_machdep.c			1.34 via patch
sys/arch/evbarm/rpi/rpi_start.S				1.7 via patch
sys/arch/evbarm/rpi/rpi_vcmbox.c			1.2 via patch
sys/arch/evbarm/rpi/vcio.h				1.1 via patch
sys/arch/evbarm/rpi/vcprop.h				1.7 via patch
sys/conf/files						patch
sys/dev/sdmmc/sdhc.c					1.43
sys/dev/sdmmc/sdhcvar.h					1.13
sys/dev/usb/dwc_otg.c					1.45 via patch
sys/dev/usb/dwc_otgreg.h				1.5 via patch
sys/dev/usb/dwc_otgvar.h				1.11 via patch
sys/dev/usb/files.usb					1.126 via patch
sys/dev/usb/if_smsc.c					1.7 via patch
sys/dev/usb/if_smscreg.h				1.1 via patch
sys/dev/usb/if_smscvar.h				1.1 via patch
sys/dev/usb/usbdevices.config				patch
sys/dev/usb/usbdevs					1.633 via patch
sys/dev/usb/usbdevs.h					regen
sys/dev/usb/usbdevs_data.h				regen
sys/dev/wscons/wsconsio.h				1.105,1.107 via patch
sys/dev/wscons/wsdisplayvar.h				1.50
sys/dev/wscons/wsdisplay_util.c				1.2
sys/dev/videomode/edid.c				1.12 via patch

	Greatly improved Raspberry Pi support.  USB and onboard
	Ethernet should work.
	[skrll, ticket #813]

Revision 1.1063 / (download) - annotate - [select for diffs], Sun Feb 10 21:21:29 2013 UTC (20 months, 1 week ago) by jakllsch
Branch: MAIN
Changes since 1.1062: +2 -2 lines
Diff to previous 1.1062 (colored)

This change adds SATA port multiplier support to mvsata(4).

Revision 1.1030.2.5 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:03 2013 UTC (20 months, 4 weeks ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.1030.2.4: +6 -1 lines
Diff to previous 1.1030.2.4 (colored) to branchpoint 1.1030 (colored)

sync with head

Revision 1.1030.2.4 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:13 2013 UTC (21 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1030.2.3: +6 -1 lines
Diff to previous 1.1030.2.3 (colored) to branchpoint 1.1030 (colored)

sync with (a bit old) head

Revision 1.1062 / (download) - annotate - [select for diffs], Wed Jan 9 22:23:45 2013 UTC (21 months, 1 week ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.1061: +6 -1 lines
Diff to previous 1.1061 (colored)

Provide dotg(4) - a driver for the Synposys DesignWare OTG USB IP found
in the RaspberryPI. The driver supports host mode and control, interrupt,
and bulk transfers only at this point.

Heavily based on the FreeBSD driver by Hans Petter Selasky.

Thanks to all who helped. Jared McNeill, Michael van Elst and other.

Revision 1.1043.2.1.2.1 / (download) - annotate - [select for diffs], Thu Dec 6 18:01:21 2012 UTC (22 months, 2 weeks ago) by matt
Branch: matt-nb6-plus
Changes since 1.1043.2.1: +2 -2 lines
Diff to previous 1.1043.2.1 (colored) next main 1.1043.2.2 (colored)

Don't enable KERN_SA for COMPAT_40

Revision 1.1057.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:57 2012 UTC (23 months ago) by tls
Branch: tls-maxphys
Changes since 1.1057: +12 -4 lines
Diff to previous 1.1057 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.1061 / (download) - annotate - [select for diffs], Wed Nov 14 02:03:25 2012 UTC (23 months, 1 week ago) by rkujawa
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.1060: +6 -1 lines
Diff to previous 1.1060 (colored)

Define msm6242b driver.

Revision 1.1030.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:48 2012 UTC (23 months, 3 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.1030.2.2: +21 -6 lines
Diff to previous 1.1030.2.2 (colored) to branchpoint 1.1030 (colored)

sync with head

Revision 1.1060 / (download) - annotate - [select for diffs], Sat Oct 27 22:36:13 2012 UTC (23 months, 3 weeks ago) by alnsn
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.1059: +5 -1 lines
Diff to previous 1.1059 (colored)

Add bpfjit and enable it for amd64.

Revision 1.1059 / (download) - annotate - [select for diffs], Wed Oct 17 20:16:59 2012 UTC (2 years ago) by drochner
Branch: MAIN
Changes since 1.1058: +3 -2 lines
Diff to previous 1.1058 (colored)

defopt COMPAT_60, it is already being used

Revision 1.1058 / (download) - annotate - [select for diffs], Thu Sep 27 18:28:56 2012 UTC (2 years ago) by alnsn
Branch: MAIN
Changes since 1.1057: +1 -3 lines
Diff to previous 1.1057 (colored)

Remove bpf_jit which was ported from FreeBSD recently.

It will soon be replaced with the new bpfjit kernel module.

Revision 1.1057 / (download) - annotate - [select for diffs], Sat Sep 1 11:21:22 2012 UTC (2 years, 1 month ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.1056: +7 -2 lines
Diff to previous 1.1056 (colored)

Add xhci placeholder

Revision 1.1056 / (download) - annotate - [select for diffs], Fri Aug 3 07:41:47 2012 UTC (2 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.1055: +2 -2 lines
Diff to previous 1.1055 (colored)

compat_mod is also needed by compat_netbsd32

Revision 1.1055 / (download) - annotate - [select for diffs], Wed Aug 1 23:24:29 2012 UTC (2 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.1054: +3 -1 lines
Diff to previous 1.1054 (colored)

Add BPF JIT compiler, currently supporting amd64 and i386.  Code obtained
from FreeBSD.  Also, make few BPF fixes and simplifications while here.
Note that bpf_jit_enable is false for now.

OK dyoung@, some feedback from matt@

Revision 1.1054 / (download) - annotate - [select for diffs], Tue Jul 31 15:50:33 2012 UTC (2 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.1053: +4 -3 lines
Diff to previous 1.1053 (colored)

Apply back changes that were reverted on Jul 24 and Jul 26 (general ata/wdc
cleanup and SATA PMP support), now that I'm back to fix the fallouts.

Revision 1.1053 / (download) - annotate - [select for diffs], Mon Jul 30 18:57:18 2012 UTC (2 years, 2 months ago) by degroote
Branch: MAIN
Changes since 1.1052: +5 -1 lines
Diff to previous 1.1052 (colored)

Add malo(4)@pci driver for Marvell Libertas wireless adaptor

Ported from OpenBSD
Known issues :
  - contrary to OpenBSD one, only support pci at the moment, because I don't
    have the necessary hardware to test PCMCIA / CARDUS Marvell Card
  - not connected to pmf(9) (unable to test it)

Revision 1.1052 / (download) - annotate - [select for diffs], Thu Jul 26 20:49:47 2012 UTC (2 years, 2 months ago) by jakllsch
Branch: MAIN
Changes since 1.1051: +2 -3 lines
Diff to previous 1.1051 (colored)

Revert, with intention of restoring in a less invasive way, the SATA Port
Multiplier code.

ok christos@

Revision 1.1051 / (download) - annotate - [select for diffs], Mon Jul 2 18:15:46 2012 UTC (2 years, 3 months ago) by bouyer
Branch: MAIN
Changes since 1.1050: +4 -3 lines
Diff to previous 1.1050 (colored)

Add sata Port MultiPlier (PMP) support to the ata bus layer,
as described in
http://mail-index.netbsd.org/tech-kern/2012/06/23/msg013442.html
PMP support in integrated to the atabus layer.
struct ata_channel's ch_drive[] is not dynamically allocated, and ch_ndrive
(renamed to ch_ndrives) closely reflects the size of the ch_drive[] array.
Add helper functions atabus_alloc_drives() and atabus_free_drives()
to manage ch_drive[]/ch_ndrives.
Add wdc_maxdrives to struct wdc_softc so that bus front-end can specify
how much drive they really support (master/slave or single).
ata_reset_drive() callback gains a uint32_t *sigp argument which,
when not NULL, will contain the signature of the device being reset.
While there, some cosmetic changes:
- added a drive_type enum to ata_drive_datas, and stop encoding the
  probed drive type in drive_flags (we were out of drive flags anyway).
- rename DRIVE_ATAPIST to DRIVE_ATAPIDSCW to better reflect what this
  really is
- remove ata_channel->ata_drives, it's redundant with the pointer in
  ata_drive_datas
- factor out the interpretation of SATA signatures in sata_interpet_sig()

propagate these changes to the ATA HBA drivers, and add support for PMP
to ahcisata(4) and siisata(4).

Thanks to:
- Protocase (http://www.protocase.com/) which provided a system
  with lots of controllers, SATA PMP and drive slots
- Conservation Genomics Laboratory, Department of Biology, New Mexico State
  University for hosting the above system
- Brook Milligan, who set up remote access and has been very responsive
  when SATA cable move was needed

Revision 1.1043.2.1 / (download) - annotate - [select for diffs], Mon Jul 2 18:01:16 2012 UTC (2 years, 3 months ago) by jdc
Branch: netbsd-6
CVS Tags: netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base
Branch point for: matt-nb6-plus
Changes since 1.1043: +2 -1 lines
Diff to previous 1.1043 (colored)

Pull up revisions:
  src/sys/conf/files revision 1.1050
  src/sys/miscfs/genfs/genfs.h revision 1.30 via patch
  src/sys/miscfs/genfs/genfs_rename.c revision 1.1 via patch
  src/sys/rump/librump/rumpvfs/Makefile.rumpvfs revision 1.33
(requested by riastradh in ticket #286).

Implement a genfs_rename abstraction.

First major step in incrementally adapting all the file systems to a
saner rename VOP protocol.

Revision 1.1032.2.6 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:15 2012 UTC (2 years, 4 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.1032.2.5: +2 -3 lines
Diff to previous 1.1032.2.5 (colored) to branchpoint 1.1032 (colored) next main 1.1033 (colored)

sync to latest -current.

Revision 1.1030.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:07:54 2012 UTC (2 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1030.2.1: +2 -8 lines
Diff to previous 1.1030.2.1 (colored) to branchpoint 1.1030 (colored)

sync with head.

Revision 1.1050 / (download) - annotate - [select for diffs], Tue May 8 23:53:26 2012 UTC (2 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.1049: +2 -1 lines
Diff to previous 1.1049 (colored)

Implement a genfs_rename abstraction.

First major step in incrementally adapting all the file systems to a
saner rename VOP protocol.

Revision 1.1049 / (download) - annotate - [select for diffs], Sat May 5 19:15:10 2012 UTC (2 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.1048: +1 -3 lines
Diff to previous 1.1048 (colored)

G/C POOL_DIAGNOSTIC option.  No objection on tech-kern@.

Revision 1.1032.2.5 / (download) - annotate - [select for diffs], Sun Apr 29 23:04:46 2012 UTC (2 years, 5 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.1032.2.4: +3 -6 lines
Diff to previous 1.1032.2.4 (colored) to branchpoint 1.1032 (colored)

sync to latest -current.

Revision 1.1048 / (download) - annotate - [select for diffs], Sat Apr 28 23:03:39 2012 UTC (2 years, 5 months ago) by rmind
Branch: MAIN
CVS Tags: jmcneill-usbmp-base9
Changes since 1.1047: +1 -6 lines
Diff to previous 1.1047 (colored)

Remove MALLOC_DEBUG and MALLOCLOG, which is dead code after malloc(9) move
to kmem(9).  Note: kmem(9) has debugging facilities under DEBUG/DIAGNOSTIC.
However, expensive kmguard and debug_freecheck have to be enabled manually.

Revision 1.1030.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:23 2012 UTC (2 years, 6 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1030: +33 -15 lines
Diff to previous 1.1030 (colored)

sync with head

Revision 1.1047 / (download) - annotate - [select for diffs], Sat Apr 7 05:36:49 2012 UTC (2 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.1046: +3 -1 lines
Diff to previous 1.1046 (colored)

Add apple autodiscovery.

Revision 1.1032.2.4 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:23 2012 UTC (2 years, 6 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.1032.2.3: +0 -1 lines
Diff to previous 1.1032.2.3 (colored) to branchpoint 1.1032 (colored)

sync to latest -current.

Revision 1.1046 / (download) - annotate - [select for diffs], Thu Mar 22 20:34:38 2012 UTC (2 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: jmcneill-usbmp-base8
Changes since 1.1045: +1 -2 lines
Diff to previous 1.1045 (colored)

remove KAME IPSEC, replaced by FAST_IPSEC

Revision 1.1032.2.3 / (download) - annotate - [select for diffs], Sun Mar 11 01:52:27 2012 UTC (2 years, 7 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.1032.2.2: +1 -2 lines
Diff to previous 1.1032.2.2 (colored) to branchpoint 1.1032 (colored)

sync to latest -current

Revision 1.1045 / (download) - annotate - [select for diffs], Sat Mar 10 21:51:59 2012 UTC (2 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: jmcneill-usbmp-base7
Changes since 1.1044: +2 -3 lines
Diff to previous 1.1044 (colored)

P1003_1B_SEMAPHORE is no longer optional.

Revision 1.1032.2.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:40 2012 UTC (2 years, 7 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.1032.2.1: +2 -4 lines
Diff to previous 1.1032.2.1 (colored) to branchpoint 1.1032 (colored)

sync to -current.

Revision 1.1044 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:45 2012 UTC (2 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3
Changes since 1.1043: +2 -4 lines
Diff to previous 1.1043 (colored)

Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.1032.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:02 2012 UTC (2 years, 8 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.1032: +18 -6 lines
Diff to previous 1.1032 (colored)

merge to -current.

Revision 1.1043 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:01 2012 UTC (2 years, 8 months ago) by tls
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.1042: +3 -3 lines
Diff to previous 1.1042 (colored)

Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
   to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
   source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
   avoid expensive operations on disabled entropy sources; make the
   rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
   have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
   system events, and skew between clocks, with a sample implementation
   for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files).  Tested with release
builds on amd64 and evbarm and live testing on amd64.

Revision 1.1042 / (download) - annotate - [select for diffs], Tue Jan 31 05:08:14 2012 UTC (2 years, 8 months ago) by macallan
Branch: MAIN
Changes since 1.1041: +2 -2 lines
Diff to previous 1.1041 (colored)

igsfb doesn't use rcons, no need to pull it in

Revision 1.1041 / (download) - annotate - [select for diffs], Sun Jan 29 06:26:54 2012 UTC (2 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.1040: +2 -1 lines
Diff to previous 1.1040 (colored)

Add vfs_quotactl.c. This is where filesystem-independent quota
handling will go.

Revision 1.1040 / (download) - annotate - [select for diffs], Sat Jan 28 08:37:22 2012 UTC (2 years, 8 months ago) by nisimura
Branch: MAIN
Changes since 1.1039: +5 -1 lines
Diff to previous 1.1039 (colored)


Add UDA1341TS audio CODEC support.  Code is written by
Paul Fleischer.

Revision 1.1039 / (download) - annotate - [select for diffs], Sun Jan 22 06:44:30 2012 UTC (2 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.1038: +6 -1 lines
Diff to previous 1.1038 (colored)

add a tpm driver from bsssd.sourceforge.net

Revision 1.1038 / (download) - annotate - [select for diffs], Thu Jan 19 16:35:24 2012 UTC (2 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.1037: +2 -2 lines
Diff to previous 1.1037 (colored)

also remove unnecessary "needs-flag" for firmload, from Paul Goyette

Revision 1.1037 / (download) - annotate - [select for diffs], Wed Jan 18 20:37:20 2012 UTC (2 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.1036: +3 -3 lines
Diff to previous 1.1036 (colored)

get the logics straight: CPU_UCODE requires "firmload" as a dependency

Revision 1.1036 / (download) - annotate - [select for diffs], Sat Jan 14 04:18:49 2012 UTC (2 years, 9 months ago) by pgoyette
Branch: MAIN
Changes since 1.1035: +2 -2 lines
Diff to previous 1.1035 (colored)

options CPU_UCODE requires firmload.c

Revision 1.1035 / (download) - annotate - [select for diffs], Fri Jan 13 21:46:00 2012 UTC (2 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.1034: +2 -1 lines
Diff to previous 1.1034 (colored)

Make option CPU_UCODE global

Revision 1.924.4.1.4.2 / (download) - annotate - [select for diffs], Tue Dec 27 17:35:47 2011 UTC (2 years, 9 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.924.4.1.4.1: +21 -2 lines
Diff to previous 1.924.4.1.4.1 (colored) to branchpoint 1.924.4.1 (colored)

Merge flash/nand/nor infrastruct from matt-nb5-pq3.

Revision 1.1034 / (download) - annotate - [select for diffs], Mon Dec 19 16:10:07 2011 UTC (2 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.1033: +3 -3 lines
Diff to previous 1.1033 (colored)

do missing ipsec->kame_ipsec renames

Revision 1.1033 / (download) - annotate - [select for diffs], Sat Dec 17 20:05:38 2011 UTC (2 years, 10 months ago) by tls
Branch: MAIN
Changes since 1.1032: +4 -3 lines
Diff to previous 1.1032 (colored)


Separate /dev/random pseudodevice implemenation from kernel entropy pool
implementation.  Rewrite pseudodevice code to use cprng_strong(9).

The new pseudodevice is cloning, so each caller gets bits from a stream
generated with its own key.  Users of /dev/urandom get their generators
keyed on a "best effort" basis -- the kernel will rekey generators
whenever the entropy pool hits the high water mark -- while users of
/dev/random get their generators rekeyed every time key-length bits
are output.

The underlying cprng_strong API can use AES-256 or AES-128, but we use
AES-128 because of concerns about related-key attacks on AES-256.  This
improves performance (and reduces entropy pool depletion) significantly
for users of /dev/urandom but does cause users of /dev/random to rekey
twice as often.

Also fixes various bugs (including some missing locking and a reseed-counter
overflow in the CTR_DRBG code) found while testing this.

For long reads, this generator is approximately 20 times as fast as the
old generator (dd with bs=64K yields 53MB/sec on 2Ghz Core2 instead of
2.5MB/sec) and also uses a separate mutex per instance so concurrency
is greatly improved.  For reads of typical key sizes for modern
cryptosystems (16-32 bytes) performance is about the same as the old
code: a little better for 32 bytes, a little worse for 16 bytes.

Revision 1.1032 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:21 2011 UTC (2 years, 11 months ago) by tls
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.1031: +7 -4 lines
Diff to previous 1.1031 (colored)

First step of random number subsystem rework described in
<20111022023242.BA26F14A158@mail.netbsd.org>.  This change includes
the following:

	An initial cleanup and minor reorganization of the entropy pool
	code in sys/dev/rnd.c and sys/dev/rndpool.c.  Several bugs are
	fixed.  Some effort is made to accumulate entropy more quickly at
	boot time.

	A generic interface, "rndsink", is added, for stream generators to
	request that they be re-keyed with good quality entropy from the pool
	as soon as it is available.

	The arc4random()/arc4randbytes() implementation in libkern is
	adjusted to use the rndsink interface for rekeying, which helps
	address the problem of low-quality keys at boot time.

	An implementation of the FIPS 140-2 statistical tests for random
	number generator quality is provided (libkern/rngtest.c).  This
	is based on Greg Rose's implementation from Qualcomm.

	A new random stream generator, nist_ctr_drbg, is provided.  It is
	based on an implementation of the NIST SP800-90 CTR_DRBG by
	Henric Jungheim.  This generator users AES in a modified counter
	mode to generate a backtracking-resistant random stream.

	An abstraction layer, "cprng", is provided for in-kernel consumers
	of randomness.  The arc4random/arc4randbytes API is deprecated for
	in-kernel use.  It is replaced by "cprng_strong".  The current
	cprng_fast implementation wraps the existing arc4random
	implementation.  The current cprng_strong implementation wraps the
	new CTR_DRBG implementation.  Both interfaces are rekeyed from
	the entropy pool automatically at intervals justifiable from best
	current cryptographic practice.

	In some quick tests, cprng_fast() is about the same speed as
	the old arc4randbytes(), and cprng_strong() is about 20% faster
	than rnd_extract_data().  Performance is expected to improve.

	The AES code in src/crypto/rijndael is no longer an optional
	kernel component, as it is required by cprng_strong, which is
	not an optional kernel component.

	The entropy pool output is subjected to the rngtest tests at
	startup time; if it fails, the system will reboot.  There is
	approximately a 3/10000 chance of a false positive from these
	tests.  Entropy pool _input_ from hardware random numbers is
	subjected to the rngtest tests at attach time, as well as the
	FIPS continuous-output test, to detect bad or stuck hardware
	RNGs; if any are detected, they are detached, but the system
	continues to run.

	A problem with rndctl(8) is fixed -- datastructures with
	pointers in arrays are no longer passed to userspace (this
	was not a security problem, but rather a major issue for
	compat32).  A new kernel will require a new rndctl.

	The sysctl kern.arandom() and kern.urandom() nodes are hooked
	up to the new generators, but the /dev/*random pseudodevices
	are not, yet.

	Manual pages for the new kernel interfaces are forthcoming.

Revision 1.1031 / (download) - annotate - [select for diffs], Tue Nov 15 16:50:43 2011 UTC (2 years, 11 months ago) by riz
Branch: MAIN
CVS Tags: jmcneill-audiomp3-base, jmcneill-audiomp3
Changes since 1.1030: +6 -1 lines
Diff to previous 1.1030 (colored)

Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no.  Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.

Revision 1.1030 / (download) - annotate - [select for diffs], Wed Nov 2 09:47:57 2011 UTC (2 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.1029: +2 -1 lines
Diff to previous 1.1029 (colored)

Add missing subr_pcq.c

Revision 1.1029 / (download) - annotate - [select for diffs], Sat Oct 15 00:23:08 2011 UTC (3 years ago) by sjg
Branch: MAIN
Changes since 1.1028: +7 -1 lines
Diff to previous 1.1028 (colored)

Add the plumbing so one could compile filemon(4) into a kernel.

Revision 1.1028 / (download) - annotate - [select for diffs], Wed Sep 28 10:55:46 2011 UTC (3 years ago) by jruoho
Branch: MAIN
Changes since 1.1027: +2 -1 lines
Diff to previous 1.1027 (colored)

Add a simple cpufreq(9).

This is slightly improved version presented on tech-kern@ with proper
locking and few additional functions, mainly required for ioctl(9)/cpuctl(8).

Revision 1.1027 / (download) - annotate - [select for diffs], Mon Sep 19 08:53:30 2011 UTC (3 years, 1 month ago) by jnemeth
Branch: MAIN
Changes since 1.1026: +2 -2 lines
Diff to previous 1.1026 (colored)

dm(4) uses dk_lookup() from dksubr.c

Revision 1.1026 / (download) - annotate - [select for diffs], Sat Aug 27 17:05:57 2011 UTC (3 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.1025: +2 -1 lines
Diff to previous 1.1025 (colored)

The loongon2f+cs5526+jmicron PATA->SATA bridge cause an interresting issue:
1) because the CS5536 is not associated with a x86 CPU, interrupts are not
  ack'ed as it expects so interrupts cannot configured as edge-triggered
  (as is expected for a PCIIDE in compat mode)
2) the PATA->SATA bridge ignores the WDC_IDS (interrupt disable bit) so
  the PATA IRQ line gets asserted when resetting or running some polled
  commands. It also wrongly asserts IRQ when the (nonexistent) slave
  device is selected
2) wouldn't be an issue with edge-triggered interrupt because we would
   get a spurious interrupt and continue operation, a new interrupt only shows
   up when the PATA IRQ line goes low and high again. But because of 1),
   we get an unclearable interrupt instead, and the system loops on the
   interrupt handler.

To workaround this, introduce a WDC_NO_IDS compile option which runs
all polled commands (including reset) at splbio() and without sleeps,
so that the controller's interrupt is effectively disabled and
won't be reenabled before the interrupt can be cleared.

The conditions triggering this problem are speficic enough to handle
this via a compile-time option; no need for a run-time (e.g. a
config(9), device property or callback to disable interrupts) solution.

Revision 1.1025 / (download) - annotate - [select for diffs], Fri Aug 26 19:07:13 2011 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.1024: +3 -1 lines
Diff to previous 1.1024 (colored)

defflag DEBUG_EXEC

Revision 1.1024 / (download) - annotate - [select for diffs], Tue Aug 9 01:42:24 2011 UTC (3 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.1023: +5 -6 lines
Diff to previous 1.1023 (colored)

modify the dtv device api so hardware drivers can be loaded independently
of the dtv module

Revision 1.1023 / (download) - annotate - [select for diffs], Sun Aug 7 13:33:01 2011 UTC (3 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.1022: +2 -1 lines
Diff to previous 1.1022 (colored)

Add kcpuset(9) - a reworked dynamic CPU set implementation for kernel.
Suitable for use during the early boot.  MD and other implementations
should be replaced with this interface.

Discussed on: tech-kern@

Revision 1.1022 / (download) - annotate - [select for diffs], Sat Jul 30 17:01:04 2011 UTC (3 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.1021: +2 -1 lines
Diff to previous 1.1021 (colored)

Add an implementation of passive serialization as described in expired
US patent 4809168. This is a reader / writer synchronization mechanism,
designed for lock-less read operations.

Revision 1.1021 / (download) - annotate - [select for diffs], Thu Jul 28 13:42:16 2011 UTC (3 years, 2 months ago) by uebayasi
Branch: MAIN
Changes since 1.1020: +2 -1 lines
Diff to previous 1.1020 (colored)

Define SYMTAB_SPACE in opt_ksyms.h, not opt_ddbparam.h.  Ensure
that ddb(4) code is independent of SYMTAB_SPACE value.

Revision 1.924.4.7.2.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:22:25 2011 UTC (3 years, 2 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.924.4.7: +21 -2 lines
Diff to previous 1.924.4.7 (colored) next main 1.925 (colored)

Backport flash/nand/nor subsystem from -HEAD.

Revision 1.1020 / (download) - annotate - [select for diffs], Fri Jul 15 19:19:56 2011 UTC (3 years, 3 months ago) by cliff
Branch: MAIN
Changes since 1.1019: +6 -1 lines
Diff to previous 1.1019 (colored)

Add support for CFI NOR, using MPC8536DS as initial example.
Only AMD/Fujitsu command set is suported so far.
This is still work in progress, be advised.

Revision 1.1019 / (download) - annotate - [select for diffs], Sat Jul 9 14:48:12 2011 UTC (3 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.1018: +5 -1 lines
Diff to previous 1.1018 (colored)

include dtv

Revision 1.1018 / (download) - annotate - [select for diffs], Mon Jun 27 11:52:24 2011 UTC (3 years, 3 months ago) by uch
Branch: MAIN
Changes since 1.1017: +2 -1 lines
Diff to previous 1.1017 (colored)

7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8).

Revision 1.1017 / (download) - annotate - [select for diffs], Thu Jun 23 23:42:43 2011 UTC (3 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.1016: +2 -2 lines
Diff to previous 1.1016 (colored)

Allow PAX_ASLR to be used by itself.

Revision 1.996.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:36 2011 UTC (3 years, 4 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.996: +44 -17 lines
Diff to previous 1.996 (colored) next main 1.997 (colored)

Sync with HEAD.

Revision 1.982.2.5 / (download) - annotate - [select for diffs], Tue May 31 03:04:33 2011 UTC (3 years, 4 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.982.2.4: +11 -11 lines
Diff to previous 1.982.2.4 (colored) next main 1.983 (colored)

sync with head

Revision 1.1016 / (download) - annotate - [select for diffs], Sat May 28 19:30:19 2011 UTC (3 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.1015: +2 -1 lines
Diff to previous 1.1015 (colored)

Allow COM_TOLERANCE to be tweakable.  If comspeed returns an invalid
rate, don't use that error value to set the speed.

Revision 1.1015 / (download) - annotate - [select for diffs], Mon May 23 15:37:35 2011 UTC (3 years, 5 months ago) by drochner
Branch: MAIN
Changes since 1.1014: +2 -2 lines
Diff to previous 1.1014 (colored)

-remove references to crypto/arc4/arc4.* -- the code isn't used
 anywhere afaics
 (The confusion comes probably from use of arc4random() at various places,
  but this lives in libkern and doesn't share code with the former.)
-g/c non-implementation of arc4 encryption in swcrypto(4)
-remove special casing of ARC4 in crypto(4) -- the point is that it
 doesn't use an IV, and this fact is made explicit by the new "ivsize"
 property of xforms

Revision 1.1014 / (download) - annotate - [select for diffs], Mon May 23 06:50:17 2011 UTC (3 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.1013: +7 -7 lines
Diff to previous 1.1013 (colored)

move KERNHIST stuff much earlier, so drivers can depend upon it.

Revision 1.1013 / (download) - annotate - [select for diffs], Tue May 17 05:32:31 2011 UTC (3 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.1012: +6 -7 lines
Diff to previous 1.1012 (colored)

fix the ordering and make UVMHIST enable KERNHIST automatically.

Revision 1.1012 / (download) - annotate - [select for diffs], Tue May 17 04:18:06 2011 UTC (3 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.1011: +8 -1 lines
Diff to previous 1.1011 (colored)

move and rename the uvm history code out of uvm_stat to "kernhist".

rename "UVMHIST" option to enable the uvm histories.

TODO:
- make UVMHIST properly depend upon KERNHIST
- enable dynamic registration of histories.  this is mostly just
  allocating something in a bitmap, and is only for viewing multiple
  histories in a merged form.


tested on amd64 and sparc64.

Revision 1.1011 / (download) - annotate - [select for diffs], Thu May 5 17:38:35 2011 UTC (3 years, 5 months ago) by drochner
Branch: MAIN
Changes since 1.1010: +2 -1 lines
Diff to previous 1.1010 (colored)

add "camellia" crypto code, copied from FreeBSD

Revision 1.1010 / (download) - annotate - [select for diffs], Tue Apr 26 16:57:42 2011 UTC (3 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.1009: +1 -2 lines
Diff to previous 1.1009 (colored)

Remove PECOFF/Win32 emulation.

Revision 1.1009 / (download) - annotate - [select for diffs], Tue Apr 26 16:36:42 2011 UTC (3 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.1008: +1 -4 lines
Diff to previous 1.1008 (colored)

Remove IRIX emulation

Revision 1.1008 / (download) - annotate - [select for diffs], Tue Apr 26 15:51:31 2011 UTC (3 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.1007: +3 -7 lines
Diff to previous 1.1007 (colored)

Remove Darwin, MACH and Mach-O support.

Revision 1.982.2.4 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:44 2011 UTC (3 years, 6 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.982.2.3: +10 -5 lines
Diff to previous 1.982.2.3 (colored)

sync with head

Revision 1.1007 / (download) - annotate - [select for diffs], Sat Apr 2 04:28:56 2011 UTC (3 years, 6 months ago) by rmind
Branch: MAIN
Changes since 1.1006: +3 -1 lines
Diff to previous 1.1006 (colored)

Split off parts of vfs_subr.c into vfs_vnode.c and vfs_mount.c modules.

No functional change.  Discussed on tech-kern@.

Revision 1.1006 / (download) - annotate - [select for diffs], Thu Mar 31 19:40:51 2011 UTC (3 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.1005: +2 -1 lines
Diff to previous 1.1005 (colored)

Hide the radix-trie implementation of the forwarding table so that we
will have an easier time replacing it with something different, even if
it is a second radix-trie implementation.

sys/net/route.c and sys/net/rtsock.c no longer operate directly on
radix_nodes or radix_node_heads.

Hopefully this will reduce the temptation to implement multipath or
source-based routing using grotty hacks to the grotty old radix-trie
code, too. :-)

Revision 1.1005 / (download) - annotate - [select for diffs], Sun Mar 20 17:54:02 2011 UTC (3 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.1004: +7 -5 lines
Diff to previous 1.1004 (colored)

Add usb_dma attribute for DMA capable USB host controllers
and specify that usb_dma attribute to dev/usb/usb_mem.c.

usb_mem.c uses bus_dma(9) for DMA memory allocation,
but non-DMA capable USB host controllers like slhci(4)
doesn't need them at all, and some ports don't bother to
prepare MD bus_dma(9) implementation (yet).

Discussed on current-users
 http://mail-index.NetBSD.org/current-users/2011/03/13/msg015995.html
and usb_dma attribute is suggested by bouyer@.
Tested by kiyohara@ on mmeye with slhci at pcmcia.

Revision 1.1004 / (download) - annotate - [select for diffs], Sun Mar 6 17:08:35 2011 UTC (3 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.1003: +2 -2 lines
Diff to previous 1.1003 (colored)

merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.

Revision 1.982.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:58 2011 UTC (3 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.982.2.2: +34 -4 lines
Diff to previous 1.982.2.2 (colored)

sync with head

Revision 1.996.4.5 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:14 2011 UTC (3 years, 7 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.996.4.4: +14 -1 lines
Diff to previous 1.996.4.4 (colored) to branchpoint 1.996 (colored) next main 1.997 (colored)

Sync with HEAD

Revision 1.1003 / (download) - annotate - [select for diffs], Sat Feb 26 18:07:30 2011 UTC (3 years, 7 months ago) by ahoka
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.1002: +12 -1 lines
Diff to previous 1.1002 (colored)

Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards

Revision 1.1002 / (download) - annotate - [select for diffs], Sun Feb 20 15:40:21 2011 UTC (3 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.1001: +2 -1 lines
Diff to previous 1.1001 (colored)

add VirtualBox DRM driver

Revision 1.1001 / (download) - annotate - [select for diffs], Sat Feb 19 20:19:54 2011 UTC (3 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.1000: +2 -2 lines
Diff to previous 1.1000 (colored)

Default PCU_UNIT_COUNT to 0.  If 0, don't compile the contents of subr_pcu.c
and don't include the pcu related members into struct lwp.

Revision 1.1000 / (download) - annotate - [select for diffs], Fri Feb 18 22:49:03 2011 UTC (3 years, 8 months ago) by rmind
Branch: MAIN
Changes since 1.999: +2 -2 lines
Diff to previous 1.999 (colored)

Compile subr_pcu.c under option PCU.

Revision 1.999 / (download) - annotate - [select for diffs], Thu Feb 17 18:32:29 2011 UTC (3 years, 8 months ago) by rmind
Branch: MAIN
Changes since 1.998: +2 -1 lines
Diff to previous 1.998 (colored)

Add PCU (Per-CPU Unit) - an interface to manage synchronization of any
per CPU context tied with an LWP.  Main use - lazy FPU handling on SMP.

Requested by matt@, will be used on mips64.  Note: implementation will
be improved to use IPIs before adopting on x86.  OK ad@.

Revision 1.996.4.4 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:08 2011 UTC (3 years, 8 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.996.4.3: +7 -1 lines
Diff to previous 1.996.4.3 (colored) to branchpoint 1.996 (colored)

Sync with HEAD

Revision 1.998 / (download) - annotate - [select for diffs], Wed Feb 9 21:21:32 2011 UTC (3 years, 8 months ago) by macallan
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Changes since 1.997: +7 -1 lines
Diff to previous 1.997 (colored)

use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c

Revision 1.996.4.3 / (download) - annotate - [select for diffs], Wed Feb 9 20:32:49 2011 UTC (3 years, 8 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.996.4.2: +2 -2 lines
Diff to previous 1.996.4.2 (colored) to branchpoint 1.996 (colored)

Put both QUOTA and QUOTA2 in opt_quota.h

Revision 1.996.4.2 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:47 2011 UTC (3 years, 8 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.996.4.1: +4 -1 lines
Diff to previous 1.996.4.1 (colored) to branchpoint 1.996 (colored)

Sync with HEAD

Revision 1.997 / (download) - annotate - [select for diffs], Sun Feb 6 23:13:04 2011 UTC (3 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.996: +4 -1 lines
Diff to previous 1.996 (colored)

add a public domain image decoder

Revision 1.996.4.1 / (download) - annotate - [select for diffs], Thu Jan 20 14:24:56 2011 UTC (3 years, 9 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.996: +2 -2 lines
Diff to previous 1.996 (colored)

Snapshot of work in progress on a modernised disk quota system:
- new quotactl syscall (versionned for backward compat), which takes
  as parameter a path to a mount point, and a prop_dictionary
  (in plistref format) describing commands and arguments.
  For each command, status and data are returned as a prop_dictionary.
  quota commands features will be added to take advantage of this,
  exporting quota data or getting quota commands as plists.

- new on disk-format storage (all 64bit wide), integrated to metadata for
  ffs (and playing nicely with wapbl).
  Quotas are enabled on a ffs filesystem via superblock flags.
  tunefs(8) can enable or disable quotas.
  On a quota-enabled filesystem, fsck_ffs(8) will track per-uid/gid
  block and inode usages, and will check and update quotas in Pass 6.
  quota usage and limits are stored in unliked files (one for users,
  one for groups)l fsck_ffs(8) will create the files if needed, or
  free them if needed. This means that after enabling or disabling
  quotas on a filesystem; a fsck_ffs(8) run is required.
  quotacheck(8) is not needed any more, on a unclean shutdown
  fsck or journal replay will take care of fixing quotas.
  newfs(8) can create a ready-to-mount quota-enabled filesystem
  (superblock flags are set and quota inodes are created).
  Other new features or semantic changes:
  - default quota datas, applied to users or groups which don't already
    have a quota entry
  - per-user/group grace time (instead of a filesystem global one)
  - 0 really means "nothing allowed at all", not "no limit".
    If you want "no limit", set the limit to UQUAD_MAX (tools will
    understand "unlimited" and "-")

  A quota file is structured as follow:
  it starts with a header, containing a few per-filesystem values,
  and the default quota limits.
  Quota entries are linked together as a simple list, each entry has a
  pointer (as an offset withing the file) to the next.
  The header has a pointer to a list of free quota entries, and
  a hash table of in-use entries. The size of the hash table depends
  on the filesystem block size (header+hash table should fit in the
  first block). The file is not sparse and is a multiple of
  filesystem block size (when the free quota entry list is empty a new
  filesystem block is allocated). quota entries to not cross
  filesystem block boundaries.

  In memory, the kernel keeps a cache of recently used quota entries
  as a reference to the block number, and offset withing the block.
  The quota entry itself is keept in the buf cache.

fsck_ffs(8), tunefs(8) and newfs(8) supports are completed (with
related atf tests :)
The kernel can update disk usage and report it via quotactl(2).

Todo: enforce quotas limits (limits are not checked by kernel yet)
      update repquota, edquota and rpc.rquotad to the new world
      implement compat_50_quotactl ioctl.
      update quotactl(2) man page

fsck_ffs required fixes so that allocating new blocks or inodes will
properly update the superblock and cg sumaries. This was not an issue up
to now because superblock and cg sumaries check happened last, but now
allocations or frees can happen in pass 6.

Revision 1.996 / (download) - annotate - [select for diffs], Tue Nov 23 11:14:08 2010 UTC (3 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.995: +2 -2 lines
Diff to previous 1.995 (colored)

Remove unused count from pseudo-device md.

Revision 1.924.4.7 / (download) - annotate - [select for diffs], Sat Nov 20 00:33:48 2010 UTC (3 years, 11 months ago) by riz
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, matt-nb5-pq3-base
Branch point for: matt-nb5-pq3
Changes since 1.924.4.6: +2 -2 lines
Diff to previous 1.924.4.6 (colored) to branchpoint 1.924 (colored) next main 1.925 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1367):
	sys/dev/ic/ne2000var.h: revision 1.25
	sys/arch/atari/conf/MILAN.in: revision 1.24
	sys/arch/atari/conf/MILAN.in: revision 1.25
	sys/dev/ic/ne2000.c: revision 1.71
	sys/dev/ic/ne2000.c: revision 1.72
	sys/arch/atari/dev/if_ne_mb.c: revision 1.1
	sys/arch/atari/dev/if_ne_mb.c: revision 1.2
	sys/arch/atari/conf/MILAN-PCIIDE: revision 1.69
	sys/arch/atari/conf/HADES.in: revision 1.10
	sys/arch/atari/conf/HADES.in: revision 1.11
	sys/arch/x68k/dev/if_ne_neptune.c: revision 1.20
	sys/dev/isa/if_ne_isa.c: revision 1.27
	sys/arch/atari/atari/autoconf.c: revision 1.57
	sys/dev/ic/ne2000.c: revision 1.62
	sys/dev/isapnp/if_ne_isapnp.c: revision 1.27
	sys/arch/atari/conf/files.atari: revision 1.117
	sys/arch/atari/conf/HADES: revision 1.88
	sys/arch/atari/conf/GENERIC.in: revision 1.85
	sys/dev/ic/ne2000.c: revision 1.65
	sys/dev/ic/ne2000.c: revision 1.66
	sys/dev/ic/ne2000.c: revision 1.68
	sys/arch/atari/conf/MILAN-ISAIDE: revision 1.65
	distrib/notes/atari/hardware: revision 1.24
	sys/conf/files: revision 1.980
	sys/dev/ic/ne2000var.h: revision 1.21
	sys/arch/x68k/dev/if_ne_intio.c: revision 1.16
	sys/dev/ic/dp8390.c: revision 1.74
	sys/dev/ic/dp8390.c: revision 1.75
Added NE2000 with 8bit bus width support.
reviewd by tsutsui@ at tech-kern ML.
Fix a wrong calculation bug around RX ring buffer memory address
slipped in about sixteen years ago.  Fortunately, it had been working
for ages because some devices used address zero and other devices
ignored wrong higher bits.
Tested on we(4) (SMC Elite Ultra) and ne(4) (NE2000 compatible
named UL0001) on ISA.
Note FreeBSD also uses the same correct value in their ed(4) driver.
Now dp8390_config() calculates mem_ring correctly so
no longer need to override it in ne2000_attach().
Use roundup2() in <sys/param.h> rather than a conditional.
Also fix a wrong mem_ring calculation in dp8390_ipkdb_attach().
Put several fixes to ne(4) driver for better 8 bit mode support,
especially on RTL8019AS which is also used for non-ISA local bus of
embedded controllers and some m68k machines like atari and x68k.
 * move RTL8019 probe and attach code from each bus attachment
   to MI ne2000_detect() and ne2000_attach()
 * change a method for backend and attachment to specify 8 bit mode
   to use a new sc->sc_quirk member, instead of sc->sc_dmawidth
 * handle more NE2000 8 bit mode specific settings, including
   bus_space(9) access width and available size of buffer memory
 * add a function to detect NE2000 8 bit mode
   (disabled by default, but enalbed by options NE2000_DETECT_8BIT
    to avoid possible regression on various ISA clones)
 * fix ipkdb attachment accordingly (untested)
Tested on two NE2000 ISA variants (RTL8019AS and another clone named UL0001)
in both 8 bit and 16 bit mode on i386. "Looks good" from nonaka@.
See my post on tech-kern for details:
http://mail-index.NetBSD.org/tech-kern/2010/02/26/msg007423.html
No need to override mem_ring value in ne2000_ipkdb_attach()
since a wrong calculation in dp8390_ipkdb_attach() was fixed.
Don't warn about DMA timeout during probe.
Add support for the EtherNEC.
The EtherNEC is yet another user designed device for Atari machines,
an NE2000 based ISA board connected to Atari's ROM cartridge slot with
simple but ingenious interface and cartridge port adapter, and
it's the most available network solution for the old Atari machines.
See following pages for more details about EtherNEC:
http://hardware.atari.org/ether/
http://home.arcor.de/thomas.redelberger/prj/atari/etherne/
http://www.freemint.org/ethernec/ethernec.html
Also note EtherNEC.
Use callout_schedule(9) rather than callout_reset(9) on polling
as callout(9) man says.
Remove EtherNEC from HADES and MILAN.
They have ISA so no one will bother to connect ISA NE2000 via EtherNEC.
Regen from HADES.in rev 1.11 and MILAN.in rev 1.25:
Remove EtherNEC from HADES and MILAN.
They have ISA so no one will bother to connect ISA NE2000 via EtherNEC.

Revision 1.974.2.10 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:49 2010 UTC (4 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.974.2.9: +9 -1 lines
Diff to previous 1.974.2.9 (colored) to branchpoint 1.974 (colored) next main 1.975 (colored)

Sync with HEAD (-D20101022).

Revision 1.899.2.10 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:02 2010 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.899.2.9: +10 -2 lines
Diff to previous 1.899.2.9 (colored) to branchpoint 1.899 (colored) next main 1.900 (colored)

sync with head

Revision 1.995 / (download) - annotate - [select for diffs], Wed Sep 8 22:55:54 2010 UTC (4 years, 1 month ago) by ahoka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3
Changes since 1.994: +6 -1 lines
Diff to previous 1.994 (colored)

add dme (dm9000 ethernet)

Revision 1.974.2.9 / (download) - annotate - [select for diffs], Wed Aug 25 14:32:30 2010 UTC (4 years, 1 month ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.974.2.8: +1 -1 lines
Diff to previous 1.974.2.8 (colored) to branchpoint 1.974 (colored)

Indent.

Revision 1.994 / (download) - annotate - [select for diffs], Sun Aug 22 18:56:21 2010 UTC (4 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.993: +4 -2 lines
Diff to previous 1.993 (colored)

Import NPF - a packet filter.  Some features:

- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
  Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
  supporting generic RISC-like and specific CISC-like instructions for
  common patterns (e.g. IPv4 address matching).  See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@

Revision 1.993 / (download) - annotate - [select for diffs], Sat Aug 21 13:17:32 2010 UTC (4 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.992: +2 -1 lines
Diff to previous 1.992 (colored)

Define a set of new kernel locking primitives to implement the recursive
kernconfig_mutex.  Update module subsystem to use this mutex rather than
its own internal (non-recursive) mutex.  Make module_autoload() do its
own locking to be consistent with the rest of the module_xxx() calls.
Update module(9) man page appropriately.

As discussed on tech-kern over the last few weeks.

Welcome to NetBSD 5.99.39 !

Revision 1.974.2.8 / (download) - annotate - [select for diffs], Thu Aug 19 12:36:58 2010 UTC (4 years, 2 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.974.2.7: +6 -0 lines
Diff to previous 1.974.2.7 (colored) to branchpoint 1.974 (colored)

Initial addition of xmd(4), XIP memory disk.

Revision 1.974.2.7 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:56 2010 UTC (4 years, 2 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.974.2.6: +5 -2 lines
Diff to previous 1.974.2.6 (colored) to branchpoint 1.974 (colored)

Sync with HEAD.

Revision 1.899.2.9 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:14 2010 UTC (4 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.899.2.8: +22 -4 lines
Diff to previous 1.899.2.8 (colored) to branchpoint 1.899 (colored)

sync with head.

Revision 1.974.2.6 / (download) - annotate - [select for diffs], Wed Aug 11 13:24:47 2010 UTC (4 years, 2 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.974.2.5: +3 -0 lines
Diff to previous 1.974.2.5 (colored) to branchpoint 1.974 (colored)

Export flash_init() correctly.  Calculate disk partition correctly.
Correct dmesg.  Correct conditional compilation.

Revision 1.974.2.5 / (download) - annotate - [select for diffs], Wed Jul 7 16:35:25 2010 UTC (4 years, 3 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.974.2.4: +1 -3 lines
Diff to previous 1.974.2.4 (colored) to branchpoint 1.974 (colored)

Clean up; merge options DIRECT_PAGE into options XIP.

Revision 1.992 / (download) - annotate - [select for diffs], Wed Jul 7 01:09:39 2010 UTC (4 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.991: +2 -2 lines
Diff to previous 1.991 (colored)

COMPAT_LINUX32 requires COMPAT_LINUX.

Revision 1.982.2.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:33 2010 UTC (4 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.982.2.1: +4 -1 lines
Diff to previous 1.982.2.1 (colored)

sync with head

Revision 1.991 / (download) - annotate - [select for diffs], Sat Jun 26 15:17:56 2010 UTC (4 years, 3 months ago) by kefren
Branch: MAIN
Changes since 1.990: +4 -5 lines
Diff to previous 1.990 (colored)

Fix build for MPLS import: add options MPLS, changed pseudo-device mpls
to pseudo-device ifmpls

Revision 1.990 / (download) - annotate - [select for diffs], Sat Jun 26 14:24:27 2010 UTC (4 years, 3 months ago) by kefren
Branch: MAIN
Changes since 1.989: +5 -1 lines
Diff to previous 1.989 (colored)

Add MPLS support, proposed on tech-net@ a couple of days ago

Welcome to 5.99.33

Revision 1.974.2.4 / (download) - annotate - [select for diffs], Mon May 31 13:26:37 2010 UTC (4 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.974.2.3: +2 -2 lines
Diff to previous 1.974.2.3 (colored) to branchpoint 1.974 (colored)

Re-define the definition of "device page"; device pages are pages of
device memory.  Pages which don't have vm_page (== can't be used for
generic use), but whose PV are tracked, are called "direct pages" from
now.

Revision 1.982.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:16 2010 UTC (4 years, 4 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.982: +17 -3 lines
Diff to previous 1.982 (colored)

sync with head

Revision 1.989 / (download) - annotate - [select for diffs], Fri Apr 30 20:47:17 2010 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.988: +2 -2 lines
Diff to previous 1.988 (colored)

For the simple cases, augment device-major with information on how
a driver expects /dev/node -> minor mappings to go and include that
information in devsw_conv.
(no, I didn't plow through all the MD majors files)

Revision 1.974.2.3 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:03 2010 UTC (4 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.974.2.2: +22 -35 lines
Diff to previous 1.974.2.2 (colored) to branchpoint 1.974 (colored)

Sync with HEAD.

Revision 1.924.4.1.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:27 2010 UTC (4 years, 6 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.924.4.1: +21 -4 lines
Diff to previous 1.924.4.1 (colored)

sync to netbsd-5

Revision 1.988 / (download) - annotate - [select for diffs], Fri Apr 16 13:44:49 2010 UTC (4 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.987: +2 -2 lines
Diff to previous 1.987 (colored)

needs-count for fss is unused => needs-remove

Revision 1.987 / (download) - annotate - [select for diffs], Wed Apr 14 14:46:59 2010 UTC (4 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.986: +2 -1 lines
Diff to previous 1.986 (colored)

Move routines related to syscall establishment from kern_subr.c and
kern_stub.c to kern_syscall.c.

Revision 1.986 / (download) - annotate - [select for diffs], Mon Apr 12 22:15:32 2010 UTC (4 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.985: +2 -1 lines
Diff to previous 1.985 (colored)

Separate lwp specificdata data structure management from lwp cpu/vm
management.

No functional change.

(specificdata routines went from kern_lwp.c to subr_lwp_specificdata.c)

Revision 1.985 / (download) - annotate - [select for diffs], Fri Apr 9 10:09:49 2010 UTC (4 years, 6 months ago) by nonaka
Branch: MAIN
Changes since 1.984: +5 -1 lines
Diff to previous 1.984 (colored)

Added PCA9564 I2C Controller driver.

Revision 1.984 / (download) - annotate - [select for diffs], Wed Mar 24 00:31:41 2010 UTC (4 years, 7 months ago) by pgoyette
Branch: MAIN
Changes since 1.983: +8 -1 lines
Diff to previous 1.983 (colored)

Split spdmem driver into a bus attachment and a common back-end
probe and ROM decode, to follow similar changes made in OpenBSD:

        http://article.gmane.org/gmane.os.openbsd.cvs/94948
        http://article.gmane.org/gmane.os.openbsd.cvs/94956

There exists at least one alternative attachment (for SGI IP35
systems; see http://article.gmane.org/gmane.os.openbsd.cvs/94947),
and there could be more in the future.

Thanks to Christoph Egger for pointing out the OpenBSD activity.

Revision 1.983 / (download) - annotate - [select for diffs], Mon Mar 15 20:35:19 2010 UTC (4 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.982: +2 -1 lines
Diff to previous 1.982 (colored)

rename DEBUG_ASLR -> PAX_ASLR_DEBUG

Revision 1.982 / (download) - annotate - [select for diffs], Sat Mar 13 08:33:26 2010 UTC (4 years, 7 months ago) by darran
Branch: MAIN
Branch point for: rmind-uvmplock
Changes since 1.981: +2 -2 lines
Diff to previous 1.981 (colored)

DTrace: only build in kernel CTF support if DTrace support is enabled
(i.e. options KDTRACE_HOOKS).

Revision 1.981 / (download) - annotate - [select for diffs], Fri Mar 12 21:43:11 2010 UTC (4 years, 7 months ago) by darran
Branch: MAIN
Changes since 1.980: +2 -1 lines
Diff to previous 1.980 (colored)

DTrace: Add support for CTF sections in the netbsd elf image, load these
at boot.
Add a ksyms_mod_foreach() function to iterate a callback function over the
set of elf symbols for a specific module (netbsd included).
Add kern_ctf.c and mod_ctf_get() to allow the retrieval and decompression
of CTF sections for a specific module.

Revision 1.899.2.8 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:20 2010 UTC (4 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.899.2.7: +44 -53 lines
Diff to previous 1.899.2.7 (colored) to branchpoint 1.899 (colored)

sync with head

Revision 1.980 / (download) - annotate - [select for diffs], Wed Mar 3 13:39:57 2010 UTC (4 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Changes since 1.979: +2 -2 lines
Diff to previous 1.979 (colored)

Put several fixes to ne(4) driver for better 8 bit mode support,
especially on RTL8019AS which is also used for non-ISA local bus of
embedded controllers and some m68k machines like atari and x68k.

 * move RTL8019 probe and attach code from each bus attachment
   to MI ne2000_detect() and ne2000_attach()
 * change a method for backend and attachment to specify 8 bit mode
   to use a new sc->sc_quirk member, instead of sc->sc_dmawidth
 * handle more NE2000 8 bit mode specific settings, including
   bus_space(9) access width and available size of buffer memory
 * add a function to detect NE2000 8 bit mode
   (disabled by default, but enalbed by options NE2000_DETECT_8BIT
    to avoid possible regression on various ISA clones)
 * fix ipkdb attachment accordingly (untested)

Tested on two NE2000 ISA variants (RTL8019AS and another clone named UL0001)
in both 8 bit and 16 bit mode on i386. "Looks good" from nonaka@.

See my post on tech-kern for details:
http://mail-index.NetBSD.org/tech-kern/2010/02/26/msg007423.html

Revision 1.979 / (download) - annotate - [select for diffs], Tue Mar 2 13:27:27 2010 UTC (4 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.978: +3 -34 lines
Diff to previous 1.978 (colored)

Define i4b files in netisdn/files.i4b.

Revision 1.978 / (download) - annotate - [select for diffs], Mon Mar 1 21:10:14 2010 UTC (4 years, 7 months ago) by darran
Branch: MAIN
Changes since 1.977: +2 -1 lines
Diff to previous 1.977 (colored)

DTrace: Add an SDT (Statically Defined Tracing) provider framework, and
implement most of the proc provider.  Adds proc:::create, exec,
exec_success, exec_faillure, signal_send, signal_discard, signal_handle,
lwp_create, lwp_start, lwp_exit.

Revision 1.977 / (download) - annotate - [select for diffs], Tue Feb 23 22:21:25 2010 UTC (4 years, 7 months ago) by darran
Branch: MAIN
Changes since 1.976: +1 -2 lines
Diff to previous 1.976 (colored)

DTrace: remove kern_dtrace.c, no longer used

Revision 1.976 / (download) - annotate - [select for diffs], Sun Feb 21 07:01:57 2010 UTC (4 years, 8 months ago) by darran
Branch: MAIN
Changes since 1.975: +3 -1 lines
Diff to previous 1.975 (colored)

Added a defflag option for KDTRACE_HOOKS and included opt_dtrace.h in the
relevant files. (Per Quentin Garnier - thanks!).

Revision 1.975 / (download) - annotate - [select for diffs], Sun Feb 21 04:00:47 2010 UTC (4 years, 8 months ago) by darran
Branch: MAIN
Changes since 1.974: +2 -1 lines
Diff to previous 1.974 (colored)

Add the DTrace kernel hooks file to the kernel build.

Revision 1.974.2.2 / (download) - annotate - [select for diffs], Wed Feb 10 02:10:28 2010 UTC (4 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.974.2.1: +3 -1 lines
Diff to previous 1.974.2.1 (colored) to branchpoint 1.974 (colored)

Make device page handling another kernel option.  XIP depends on it.

Revision 1.974.2.1 / (download) - annotate - [select for diffs], Mon Feb 8 05:01:09 2010 UTC (4 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.974: +4 -1 lines
Diff to previous 1.974 (colored)

Add XIP flag and globally enable it on this branch.

Revision 1.974 / (download) - annotate - [select for diffs], Sun Jan 31 15:10:11 2010 UTC (4 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.973: +2 -1 lines
Diff to previous 1.973 (colored)

Device accessors are only marginally related to autoconf, so put them
into subr_device.c instead of having them in subr_autoconf.c.

Since none of the copyrights in subr_autoconf.c really match the
history of device accessors, I took the liberty of slapping (c)
2006 TNF onto subr_device.c.

Revision 1.973 / (download) - annotate - [select for diffs], Sun Jan 31 01:38:48 2010 UTC (4 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.972: +2 -1 lines
Diff to previous 1.972 (colored)

Place *hook implementations in kern_hook.c instead of them floating
around in the kern_subr.c gruel.  Arrrrr.

Revision 1.972 / (download) - annotate - [select for diffs], Sat Jan 30 23:19:55 2010 UTC (4 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.971: +1 -2 lines
Diff to previous 1.971 (colored)

Trade 200-something bytes for the death of an ifdef.

Revision 1.971 / (download) - annotate - [select for diffs], Sun Jan 24 14:25:57 2010 UTC (4 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.970: +7 -6 lines
Diff to previous 1.970 (colored)

ipfilter depends on bpf_filter, not bpfilter (since the year 2000).

Revision 1.970 / (download) - annotate - [select for diffs], Tue Jan 19 22:06:23 2010 UTC (4 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.969: +3 -2 lines
Diff to previous 1.969 (colored)

Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client.  This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached.  However, callers of bpf can
now be modularized.

Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff.  ... and I'm not going to ponder the depths of unload
here.

Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.

Revision 1.969 / (download) - annotate - [select for diffs], Tue Jan 19 16:24:44 2010 UTC (4 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.968: +4 -4 lines
Diff to previous 1.968 (colored)

Specify bpf_filter attribute only when the device uses the filter engine.

Revision 1.968 / (download) - annotate - [select for diffs], Tue Jan 12 21:08:08 2010 UTC (4 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.967: +2 -2 lines
Diff to previous 1.967 (colored)

Make cgd(4) into a detachable pseudo-device.  Thanks, Jan Danielsson,
for the patches!

I've lightly tested the basics: create cgd0 on vnd0d, initialize with
zeros, newfs /dev/cgd0a, mount, copy files on, unmount, drvctl -d
cgd0.  Works fine.  I also shutdown with a cgd0 configured: detached as
expected.

Revision 1.967 / (download) - annotate - [select for diffs], Sat Dec 5 20:11:17 2009 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.966: +1 -2 lines
Diff to previous 1.966 (colored)

Remove the portalfs kernel file system driver.  Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.

Revision 1.966 / (download) - annotate - [select for diffs], Fri Nov 27 17:54:11 2009 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.965: +2 -1 lines
Diff to previous 1.965 (colored)

Due to the schizophrenic nature of kobj (mem + vfs source),
split the module in twain to subj_kobj.c (master + mem) and
subr_kobj_vfs.c (vfs).

Revision 1.965 / (download) - annotate - [select for diffs], Wed Nov 25 08:52:38 2009 UTC (4 years, 10 months ago) by kiyohara
Branch: MAIN
Changes since 1.964: +2 -2 lines
Diff to previous 1.964 (colored)

Add attribute mii to smsh(4).

Revision 1.964 / (download) - annotate - [select for diffs], Wed Nov 18 17:40:45 2009 UTC (4 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.963: +2 -1 lines
Diff to previous 1.963 (colored)

* make it possible to include kern_module in a kernel without vfs
  support, i.e. move vfs functionality to a separate module
  (kern_module_vfs.c)
* make module proplist size an MI constant (now 8k) instead of PAGE_SIZE
* change some error values to something else than the karmic EINVAL

Revision 1.963 / (download) - annotate - [select for diffs], Thu Nov 12 18:37:10 2009 UTC (4 years, 11 months ago) by snj
Branch: MAIN
Changes since 1.962: +2 -2 lines
Diff to previous 1.962 (colored)

igsfb needs videomode.

Revision 1.962 / (download) - annotate - [select for diffs], Wed Nov 4 16:54:00 2009 UTC (4 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.961: +2 -1 lines
Diff to previous 1.961 (colored)

Split uiomove() and high-level copy routines out of the crowded
kern_subr and into their own cozy home in subr_copy.

Revision 1.961 / (download) - annotate - [select for diffs], Wed Nov 4 13:29:45 2009 UTC (4 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.960: +3 -1 lines
Diff to previous 1.960 (colored)

Heave-ho mutex/rwlock object routines into separate modules -- they
don't have anything to do with the lock internals.

Revision 1.960 / (download) - annotate - [select for diffs], Tue Nov 3 00:24:05 2009 UTC (4 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.959: +4 -4 lines
Diff to previous 1.959 (colored)

Alphabetize.

Revision 1.924.4.6 / (download) - annotate - [select for diffs], Thu Oct 8 09:47:09 2009 UTC (5 years ago) by sborrill
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1
Changes since 1.924.4.5: +6 -1 lines
Diff to previous 1.924.4.5 (colored) to branchpoint 1.924 (colored)

Pull up the following revisions(s) (requested by jmcneill in ticket #1045):
	distrib/sets/lists/man/mi:	revision 1.1160
	share/man/man4/Makefile:	revision 1.499
	share/man/man4/wb.4:		revision 1.1-1.2
	share/man/man4/ld.4:		revision 1.17
	sys/arch/i386/conf/ALL:		revision 1.215-1.216 + patch
	sys/arch/i386/conf/GENERIC:	revision 1.946-1.947 + patch
	sys/arch/amd64/conf/GENERIC:	revision 1.254-1.256 + patch
	sys/conf/files:			revision 1.958
	sys/dev/acpi/files.acpi:	revision 1.59
	sys/dev/acpi/wb_acpi.c:		revision 1.1
	sys/dev/ic/w83l518d.c:		revision 1.1
	sys/dev/ic/w83l518d_sdmmc.c:	revision 1.1
	sys/dev/ic/w83l518d_sdmmc.h:	revision 1.1
	sys/dev/ic/w83l518dreg.h:	revision 1.1
	sys/dev/ic/w83l518dvar.h.c:	revision 1.1

wb(4): Add a driver for Winbond W83L518D SD/MMC readers.

Revision 1.924.4.5 / (download) - annotate - [select for diffs], Wed Oct 7 15:41:12 2009 UTC (5 years ago) by sborrill
Branch: netbsd-5
Changes since 1.924.4.4: +6 -1 lines
Diff to previous 1.924.4.4 (colored) to branchpoint 1.924 (colored)

Pull up the following revisions(s) (requested by jmcneill in ticket #1044):
	distrib/sets/lists/man/mi:		patch
	share/man/man4/Makefile:		patch
	sys/arch/amd64/conf/files.amd64:	1.67
	sys/arch/i386/conf/files.i386:		1.349
	sys/conf/files				1.945
	share/man/man4/sdmmc.4:			1.1-1.4
	sys/dev/sdmmc/Makefile.sdmmcdevs	1.1
	sys/dev/sdmmc/devlist2h.awk		1.1
	sys/dev/sdmmc/files.sdmmc		1.1-1.2
	sys/dev/sdmmc/ld_sdmmc.c		1.1-1.3
	sys/dev/sdmmc/sbt.c			1.1-1.2
	sys/dev/sdmmc/sdhc.c			1.1-1.3
	sys/dev/sdmmc/sdhcreg.h			1.1
	sys/dev/sdmmc/sdhcvar.h			1.1
	sys/dev/sdmmc/sdmmc.c			1.1
	sys/dev/sdmmc/sdmmc_cis.c		1.1
	sys/dev/sdmmc/sdmmc_io.c		1.1
	sys/dev/sdmmc/sdmmc_ioreg.h		1.1
	sys/dev/sdmmc/sdmmc_mem.c		1.1-1.2
	sys/dev/sdmmc/sdmmcchip.h		1.1
	sys/dev/sdmmc/sdmmcdevs			1.1
	sys/dev/sdmmc/sdmmcdevs.h		1.1-1.2
	sys/dev/sdmmc/sdmmcreg.h		1.1-1.3
	sys/dev/sdmmc/sdmmcvar.h		1.1

Add sdmmc framework

Revision 1.959 / (download) - annotate - [select for diffs], Fri Oct 2 15:48:41 2009 UTC (5 years ago) by pooka
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.958: +2 -1 lines
Diff to previous 1.958 (colored)

Give humanize_number & format_bytes their own spots in the sun and move
from kern_subr to subr_humanize.

Revision 1.958 / (download) - annotate - [select for diffs], Wed Sep 30 20:44:49 2009 UTC (5 years ago) by jmcneill
Branch: MAIN
Changes since 1.957: +6 -1 lines
Diff to previous 1.957 (colored)

Initial import of an SD/MMC driver for the Winbond W83L518D (and probably
W83L519D) Integrated Media Reader with PNP bus attachment glue.

Revision 1.924.4.4 / (download) - annotate - [select for diffs], Mon Sep 28 00:27:13 2009 UTC (5 years ago) by snj
Branch: netbsd-5
Changes since 1.924.4.3: +6 -1 lines
Diff to previous 1.924.4.3 (colored) to branchpoint 1.924 (colored)

Pull up following revision(s) (requested by jakllsch in ticket #1023):
	sys/conf/files: revision 1.956 via patch
	sys/dev/pci/files.pci: revision 1.321
As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.

Revision 1.924.4.3 / (download) - annotate - [select for diffs], Mon Sep 28 00:13:02 2009 UTC (5 years ago) by snj
Branch: netbsd-5
Changes since 1.924.4.2: +2 -1 lines
Diff to previous 1.924.4.2 (colored) to branchpoint 1.924 (colored)

Pull up following revision(s) (requested by jakllsch in ticket #1023):
	sys/conf/files: revision 1.947
	sys/dev/ata/files.ata: revision 1.21
	sys/dev/ata/satafis_subr.c: revision 1.1
	sys/dev/ata/satafisreg.h: revision 1.1
	sys/dev/ata/satafisvar.h: revision 1.1
ahcisata(4) and siisata(4) use similar SATA FIS functions, share them.

Revision 1.957 / (download) - annotate - [select for diffs], Sat Sep 26 19:05:07 2009 UTC (5 years ago) by jakllsch
Branch: MAIN
Changes since 1.956: +2 -2 lines
Diff to previous 1.956 (colored)

Marvell has two "l"s, but not two "e"s.
(Also, Melllvar has three "l"s, but that's not really relevant here.)

Revision 1.956 / (download) - annotate - [select for diffs], Sat Sep 26 19:01:04 2009 UTC (5 years ago) by jakllsch
Branch: MAIN
Changes since 1.955: +6 -1 lines
Diff to previous 1.955 (colored)

As, siisata attaches not just at pci, but for a while now, also at cardbus,
move siisata core driver config to the propper config file.

Revision 1.955 / (download) - annotate - [select for diffs], Wed Sep 16 15:03:56 2009 UTC (5 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.954: +2 -1 lines
Diff to previous 1.954 (colored)

Chop init_sysctl into base nodes (init_sysctl_base.c) and the
kitchen sink (init_sysctl.c).  Further surgery may be needed down
the line.

Revision 1.899.2.7 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:44 2009 UTC (5 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.899.2.6: +2 -1 lines
Diff to previous 1.899.2.6 (colored) to branchpoint 1.899 (colored)

sync with head

Revision 1.954 / (download) - annotate - [select for diffs], Sun Sep 6 16:18:56 2009 UTC (5 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.953: +2 -1 lines
Diff to previous 1.953 (colored)

Remove autoconf dependency on vfs and dk:
opendisk() -> kern/subr_disk_open.c
config_handle_wedges -> dev/dkwedge/dk.c

Revision 1.899.2.6 / (download) - annotate - [select for diffs], Wed Aug 19 18:47:01 2009 UTC (5 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.899.2.5: +15 -1 lines
Diff to previous 1.899.2.5 (colored) to branchpoint 1.899 (colored)

sync with head.

Revision 1.953 / (download) - annotate - [select for diffs], Fri Aug 14 21:17:21 2009 UTC (5 years, 2 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7
Changes since 1.952: +3 -1 lines
Diff to previous 1.952 (colored)

Add support for multi-position electro-mechanical keylocks.  An example
driver, gpiolock(4), is provided as an example how to interface real hardware.
A new securemodel, securemodel_keylock, is provided to show how this can
be used to tie keylocks to overall system security.  This is experimental
code.  The diff has been on tech-kern for several weeks.

Reviewed by many, kauth(9) integration reviewed by Elad Efrat; approved by
tonnerre@ and tron@.  Thanks to everyone who provided feedback.

Revision 1.952 / (download) - annotate - [select for diffs], Sun Aug 9 06:40:10 2009 UTC (5 years, 2 months ago) by kiyohara
Branch: MAIN
Changes since 1.951: +6 -1 lines
Diff to previous 1.951 (colored)

Support SMSC LAN9118 Family Ethernet interfaces device driver.
  It tested on GUMSTIX only.

Revision 1.924.4.2 / (download) - annotate - [select for diffs], Fri Aug 7 06:43:27 2009 UTC (5 years, 2 months ago) by snj
Branch: netbsd-5
Changes since 1.924.4.1: +5 -4 lines
Diff to previous 1.924.4.1 (colored) to branchpoint 1.924 (colored)

Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.

Revision 1.951 / (download) - annotate - [select for diffs], Mon Jul 27 12:34:13 2009 UTC (5 years, 2 months ago) by kiyohara
Branch: MAIN
Changes since 1.950: +7 -1 lines
Diff to previous 1.950 (colored)

Support Marvell Hercules-I/II SATA Controllers.

Revision 1.939.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:44 2009 UTC (5 years, 3 months ago) by jym
Branch: jym-xensuspend
Changes since 1.939.2.1: +5 -3 lines
Diff to previous 1.939.2.1 (colored) next main 1.940 (colored)

Sync with HEAD.

Revision 1.950 / (download) - annotate - [select for diffs], Sat Jul 18 16:31:42 2009 UTC (5 years, 3 months ago) by reinoud
Branch: MAIN
CVS Tags: jymxensuspend-base
Changes since 1.949: +2 -1 lines
Diff to previous 1.949 (colored)

Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been
tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll
repeat my posting to tech-kern here:

NiLFS stands for New implementation of Logging File System; LFS done
right they claim :) It is at version 2 now and is being developed by NTT, the
Japanese telecom company and recently put into the linux source tree. See
http://www.nilfs.org. The on-disc format is not completely frozen and i expect
at least one minor revision to come in time.

The benefits of NiLFS are build-in fine-grained checkpointing, persistent
snapshots, multiple mounts and very large file and media support. Every
checkpoint can be transformed into a snapshot and v.v. It is said to perform
very well on flash media since it is not overwriting pieces apart from a
incidental update of the superblock, but that might change. It is accompanied
by a cleaner to clean up the segments and recover lost space.

My work is not a port of the linux code; its a new implementation. Porting the
code would be more work since its very linux oriented and never written to be
ported outside linux. The goal is to be fully interchangable. The code is non
intrusive to other parts of the kernel. It is also very light-weight.

The current state of the code is read-only access to both clean and dirty
NiLFS partitions. On mounting a dirty partition it rolls forward the log to
the last checkpoint. Full read-write support is however planned!

Just as the linux code, mount_nilfs allows for the `head' to be mounted
read/write and allows multiple read-only snapshots/checkpoint mounts next to
it.

By allowing the RW mount at a different snapshot for read-write it should be
possible eventually to revert back to a previous state; i.e. try to upgrade a
system and being able to revert to the exact state prior to the upgrade.

Compared to other FS's its pretty light-weight, suitable for embedded use and
on flash media. The read-only code is currently 17kb object code on
NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared
this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory
usage is most likely not very different from other uses though maybe a bit
higher than FFS.

Revision 1.899.2.5 / (download) - annotate - [select for diffs], Sat Jul 18 14:52:58 2009 UTC (5 years, 3 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.899.2.4: +2 -2 lines
Diff to previous 1.899.2.4 (colored) to branchpoint 1.899 (colored)

sync with head.

Revision 1.949 / (download) - annotate - [select for diffs], Sun Jun 21 20:15:26 2009 UTC (5 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6
Changes since 1.948: +2 -2 lines
Diff to previous 1.948 (colored)

make external drm the default.

Revision 1.899.2.4 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:19 2009 UTC (5 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.899.2.3: +3 -2 lines
Diff to previous 1.899.2.3 (colored) to branchpoint 1.899 (colored)

sync with head

Revision 1.948 / (download) - annotate - [select for diffs], Wed Jun 17 04:02:59 2009 UTC (5 years, 4 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5
Changes since 1.947: +2 -2 lines
Diff to previous 1.947 (colored)

ahcisata now uses the common FIS code, register this dependency.

Revision 1.947 / (download) - annotate - [select for diffs], Wed Jun 17 03:07:51 2009 UTC (5 years, 4 months ago) by jakllsch
Branch: MAIN
Changes since 1.946: +2 -1 lines
Diff to previous 1.946 (colored)

ahcisata(4) and siisata(4) use similar SATA FIS functions, share them.

Revision 1.899.2.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:17 2009 UTC (5 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.899.2.2: +2 -2 lines
Diff to previous 1.899.2.2 (colored) to branchpoint 1.899 (colored)

sync with head

Revision 1.939.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:04 2009 UTC (5 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.939: +14 -3 lines
Diff to previous 1.939 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.946 / (download) - annotate - [select for diffs], Wed May 6 02:52:13 2009 UTC (5 years, 5 months ago) by cube
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, jym-xensuspend-base
Changes since 1.945: +2 -2 lines
Diff to previous 1.945 (colored)

Bump required config(1) version after files.drm changes [hi mrg!].

Revision 1.899.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:29 2009 UTC (5 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.899.2.1: +105 -50 lines
Diff to previous 1.899.2.1 (colored) to branchpoint 1.899 (colored)

sync with head.

Revision 1.924.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:12 2009 UTC (5 years, 5 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.924.2.2: +11 -1 lines
Diff to previous 1.924.2.2 (colored) to branchpoint 1.924 (colored) next main 1.925 (colored)

Sync with HEAD.

Revision 1.945 / (download) - annotate - [select for diffs], Tue Apr 21 03:00:29 2009 UTC (5 years, 6 months ago) by nonaka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.944: +6 -1 lines
Diff to previous 1.944 (colored)

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.

Revision 1.924.4.1 / (download) - annotate - [select for diffs], Sun Mar 15 19:43:48 2009 UTC (5 years, 7 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.924: +2 -1 lines
Diff to previous 1.924 (colored)

Pull up following revision(s) (requested by christos in ticket #458):
	sys/conf/Makefile.kern.inc: revision 1.121
	sys/conf/files: revision 1.940
	sys/kern/init_main.c: revision 1.381
	sys/kern/kern_ssp.c: revision 1.1
	sys/kern/subr_autoconf.c: revision 1.168
	sys/sys/device.h: revision 1.116
	sys/sys/systm.h: revision 1.233
Unbreak ssp kernels. The issue here that when the ssp_init() call was
deferred, it caused the return from the enclosing function to break, as
well as the ssp return on i386. To fix both issues, split configure in
two pieces the one before calling ssp_init and the one after, and move
the ssp_init() call back in main. Put ssp_init() in its own file, and
compile this new file with -fno-stack-protector. Tested on amd64.
XXX: If we want to have ssp kernels working on 5.0, this change needs to
be pulled up.

Revision 1.944 / (download) - annotate - [select for diffs], Thu Mar 12 00:15:07 2009 UTC (5 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.943: +6 -1 lines
Diff to previous 1.943 (colored)

Add 'alternative memory' disk device driver.

Revision 1.924.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:30:30 2009 UTC (5 years, 7 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.924.2.1: +8 -4 lines
Diff to previous 1.924.2.1 (colored) to branchpoint 1.924 (colored)

Sync with HEAD.

Revision 1.943 / (download) - annotate - [select for diffs], Sun Feb 22 20:28:05 2009 UTC (5 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.942: +1 -2 lines
Diff to previous 1.942 (colored)

PR kern/26878 FFSv2 + softdep = livelock (no free ram)
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep

Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.

Revision 1.942 / (download) - annotate - [select for diffs], Sun Feb 15 01:58:01 2009 UTC (5 years, 8 months ago) by cube
Branch: MAIN
Changes since 1.941: +2 -2 lines
Diff to previous 1.941 (colored)

Convert the recently introduced awk command to retrieve the value of the
option MODULAR to using %MODULAR%.  While it is now possible to only
request the new version in the affected Makefiles, it is made mandatory for
everybody because I just fixed a bug in config(1) that would not make it
fail in the case of a syntax error in the Makefile template.

Revision 1.941 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:04 2009 UTC (5 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.940: +2 -1 lines
Diff to previous 1.940 (colored)

Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.

Revision 1.940 / (download) - annotate - [select for diffs], Thu Feb 12 18:24:18 2009 UTC (5 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.939: +2 -1 lines
Diff to previous 1.939 (colored)

Unbreak ssp kernels. The issue here that when the ssp_init() call was deferred,
it caused the return from the enclosing function to break, as well as the
ssp return on i386. To fix both issues, split configure in two pieces
the one before calling ssp_init and the one after, and move the ssp_init()
call back in main. Put ssp_init() in its own file, and compile this new file
with -fno-stack-protector. Tested on amd64.
XXX: If we want to have ssp kernels working on 5.0, this change needs to
be pulled up.

Revision 1.939 / (download) - annotate - [select for diffs], Fri Feb 6 18:50:29 2009 UTC (5 years, 8 months ago) by jym
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.938: +5 -2 lines
Diff to previous 1.938 (colored)

Changes to MEMORY_RBFLAGS option:
- renamed to MEMORY_DISK_RBFLAGS to better fit the rest of the
MEMORY_DISK options(4)
- change default value to RB_AUTOBOOT instead of RB_SINGLE, and adapt
the config(5) files accordingly
- document this option inside options(4)

See also http://mail-index.netbsd.org/tech-kern/2008/12/25/msg003924.html

Reviewed by abs@ in private mail.

Revision 1.924.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:45 2009 UTC (5 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.924: +47 -34 lines
Diff to previous 1.924 (colored)

Sync with HEAD.

Revision 1.938 / (download) - annotate - [select for diffs], Sun Jan 18 23:29:33 2009 UTC (5 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.937: +2 -2 lines
Diff to previous 1.937 (colored)

compat_linux needs at least netbsd_16 for sigcontext.

Revision 1.937 / (download) - annotate - [select for diffs], Sun Jan 18 13:25:39 2009 UTC (5 years, 9 months ago) by he
Branch: MAIN
Changes since 1.936: +2 -2 lines
Diff to previous 1.936 (colored)

After the recent time_t and associated changes, COMPAT_ULTRIX now
depends on COMPAT_50.  Make it so.

Revision 1.892.6.10 / (download) - annotate - [select for diffs], Sat Jan 17 20:17:09 2009 UTC (5 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.892.6.9: +1 -2 lines
Diff to previous 1.892.6.9 (colored) to branchpoint 1.892 (colored) next main 1.893 (colored)

- Fix a CVS merge breakage
- Catch up with some driver changes

Revision 1.892.6.9 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:49 2009 UTC (5 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.892.6.8: +58 -39 lines
Diff to previous 1.892.6.8 (colored) to branchpoint 1.892 (colored)

Sync with HEAD.

Revision 1.936 / (download) - annotate - [select for diffs], Sun Jan 11 15:55:55 2009 UTC (5 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.935: +5 -3 lines
Diff to previous 1.935 (colored)

fix COMPAT dependency.

Revision 1.935 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:50 2009 UTC (5 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.934: +2 -1 lines
Diff to previous 1.934 (colored)

merge christos-time_t

Revision 1.934 / (download) - annotate - [select for diffs], Fri Jan 9 19:58:17 2009 UTC (5 years, 9 months ago) by macallan
Branch: MAIN
Changes since 1.933: +5 -1 lines
Diff to previous 1.933 (colored)

Last bit of the bwi driver
From Urban Boquist

Revision 1.933 / (download) - annotate - [select for diffs], Fri Jan 2 02:54:13 2009 UTC (5 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.932: +1 -2 lines
Diff to previous 1.932 (colored)

Include kernel printf routines in rump instead of relying on the
magic libc symbol.  This also allows to bid farewell to subr_prf2.c
and merge the contents back to subr_prf.c.  The host kernel bridging
is now done via rumpuser_putchar().

Revision 1.932 / (download) - annotate - [select for diffs], Sun Dec 21 11:40:48 2008 UTC (5 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.931: +2 -2 lines
Diff to previous 1.931 (colored)

require newer config(1) for the rootfs changes.

Revision 1.931 / (download) - annotate - [select for diffs], Fri Dec 19 15:24:03 2008 UTC (5 years, 10 months ago) by haad
Branch: MAIN
Changes since 1.930: +4 -2 lines
Diff to previous 1.930 (colored)

Merge the haad-dm branch to -current. This branch adds LVM functionality to
the base NetBSD system. It uses Linux LVM2 tools and our BSD licensed
device-mapper driver.

The device-mapper driver can be used to create virtual block devices which
maps virtual blocks to real with target mapping called target. Currently
these targets are available a linear, zero, error and a snapshot (this is
work in progress and doesn't work yet).

The lvm2tools adds lvm and dmsetup binary to based system, where the lvm
tool is used to manage and administer whole LVM and the dmestup is used to
communicate iwith device-mapper kernel driver. With these tools also
a libdevmapper library is instaled to the base system.

Building of tools and driver is currently disable and can be enabled with
MKLVM=yes in mk.conf. I will add sets lists and rc.d script soon.

Oked by agc@ and cube@.

Revision 1.909.2.3 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:07 2008 UTC (5 years, 10 months ago) by haad
Branch: haad-dm
Changes since 1.909.2.2: +34 -29 lines
Diff to previous 1.909.2.2 (colored) next main 1.910 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.930 / (download) - annotate - [select for diffs], Thu Dec 11 05:42:18 2008 UTC (5 years, 10 months ago) by alc
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base
Changes since 1.929: +5 -4 lines
Diff to previous 1.929 (colored)

Import config(9) file and register HAL's files in the build machinery.

Revision 1.929.2.1 / (download) - annotate - [select for diffs], Tue Dec 9 11:49:07 2008 UTC (5 years, 10 months ago) by ad
Branch: ad-audiomp2
Changes since 1.929: +2 -1 lines
Diff to previous 1.929 (colored) next main 1.930 (colored)

Enable subr_pcq.c. The MIDI sequencer will use it to avoid lock order
and context problems.

Revision 1.929 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:06 2008 UTC (5 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp2-base
Branch point for: ad-audiomp2
Changes since 1.928: +7 -8 lines
Diff to previous 1.928 (colored)

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.928 / (download) - annotate - [select for diffs], Tue Nov 18 13:01:41 2008 UTC (5 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.927: +2 -1 lines
Diff to previous 1.927 (colored)

Move fd_closeexec() and fd_checkstd() from kern_descrip to their
own file, subr_exec_fd.c (they're used only by exec).

After this change, the kernel source modules are in a partitioned
enough state to allow building a system without vfs at all.

Revision 1.927 / (download) - annotate - [select for diffs], Tue Nov 18 11:36:58 2008 UTC (5 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.926: +2 -1 lines
Diff to previous 1.926 (colored)

cwd is logically a vfs concept, so take it out from the bosom of
kern_descrip and into vfs_cwd.  No functional change.

Revision 1.926 / (download) - annotate - [select for diffs], Fri Nov 14 23:28:30 2008 UTC (5 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.925: +18 -14 lines
Diff to previous 1.925 (colored)

- Conditionalise POSIX aio and mqueue, but include them by default.
- Add a COMPAT_NETBSD attribute. Emit if any compat options are used.

Revision 1.925 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:11 2008 UTC (5 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.924: +7 -8 lines
Diff to previous 1.924 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.909.2.2 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:18 2008 UTC (6 years ago) by haad
Branch: haad-dm
Changes since 1.909.2.1: +37 -9 lines
Diff to previous 1.909.2.1 (colored)

Sync with HEAD.

Revision 1.924 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:20 2008 UTC (6 years ago) by wrstuden
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.923: +4 -2 lines
Diff to previous 1.923 (colored)

Merge wrstuden-revivesa into HEAD.

Revision 1.905.2.7 / (download) - annotate - [select for diffs], Wed Oct 15 06:43:23 2008 UTC (6 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.905.2.6: +2 -2 lines
Diff to previous 1.905.2.6 (colored) to branchpoint 1.905 (colored) next main 1.906 (colored)

Per discussion with core, bring this file back under sys/compat.
I chose compat/sa/compat_sa.c as there is only one file. Please
see sys/kern/kern_sa.c for revision history.

Revision 1.923 / (download) - annotate - [select for diffs], Sun Oct 12 13:39:42 2008 UTC (6 years ago) by tls
Branch: MAIN
Changes since 1.922: +2 -2 lines
Diff to previous 1.922 (colored)

Fix kernels without accf_data or accf_http.  I'll modularize this better
on Monday, but this will get people building again while still removing
the silly dependency on INET.

Revision 1.922 / (download) - annotate - [select for diffs], Sun Oct 12 13:17:28 2008 UTC (6 years ago) by pgoyette
Branch: MAIN
Changes since 1.921: +8 -6 lines
Diff to previous 1.921 (colored)

Add an i2c attachment for the LM78 family of temp sensor/fan control

Tested by Martin Husemann

Revision 1.921 / (download) - annotate - [select for diffs], Sat Oct 11 16:39:07 2008 UTC (6 years ago) by tls
Branch: MAIN
Changes since 1.920: +4 -4 lines
Diff to previous 1.920 (colored)

Address problems with accept filters noted by ad in his source-changes
mail: http://mail-index.netbsd.org/source-changes/2008/10/10/msg211109.html

	* Scary-looking socket locking stubs (changed to KASSERT of locked)

	* depends on INET inappropriately (though now you must add new
	  accept filter names to the uipc_accf.c line in conf/files if
	  you aren't using dataready or httpready)

	* New code uses MALLOC/FREE -- changed to kmem_alloc/kmem_free;
	  could be pool_cache, these are all fixed-size allocations.

We need to verify that this works as expected with protocols with per-socket
locking, like PF_LOCAL.  I'm a little concerned about the case where the
lock on the listen socket isn't the same lock as on the eventual connected
socket.

Revision 1.920 / (download) - annotate - [select for diffs], Sat Oct 11 13:40:57 2008 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.919: +2 -1 lines
Diff to previous 1.919 (colored)

Move uidinfo to its own module in kern_uidinfo.c and include in rump.
No functional change to uidinfo.

Revision 1.905.2.6 / (download) - annotate - [select for diffs], Fri Oct 10 22:29:46 2008 UTC (6 years ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.905.2.5: +4 -1 lines
Diff to previous 1.905.2.5 (colored) to branchpoint 1.905 (colored)

Sync with HEAD.

Revision 1.892.6.8 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:27 2008 UTC (6 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.892.6.7: +1 -0 lines
Diff to previous 1.892.6.7 (colored) to branchpoint 1.892 (colored)

Sync with HEAD.

Revision 1.892.6.7 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:17 2008 UTC (6 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.892.6.6: +24 -2 lines
Diff to previous 1.892.6.6 (colored) to branchpoint 1.892 (colored)

Sync with HEAD.

Revision 1.919 / (download) - annotate - [select for diffs], Sat Sep 27 13:01:07 2008 UTC (6 years ago) by reinoud
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4
Changes since 1.918: +2 -1 lines
Diff to previous 1.918 (colored)

Add generic FS agnostic directory hashing support. Currently only in use by
UDF. Future users could be msdosfs, ufs, nilfs2 (when ready), cd9660 etc.

Note that its not the same as UFS's DIRHASH support; UFS would need a good
cleanup/splitout of directory operations to adopt to this new directory
hashing support since most directory operations are interweaved with the
vnops itself. This is a TODO.

Revision 1.918 / (download) - annotate - [select for diffs], Thu Sep 25 17:17:10 2008 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.917: +2 -1 lines
Diff to previous 1.917 (colored)

Split rate-checking routines into their own module for easier reuse.

Revision 1.917 / (download) - annotate - [select for diffs], Thu Sep 25 16:23:45 2008 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.916: +2 -1 lines
Diff to previous 1.916 (colored)

Move global malloc types from kern_malloc into a separate module.

Revision 1.905.2.5 / (download) - annotate - [select for diffs], Wed Sep 24 16:38:51 2008 UTC (6 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.905.2.4: +2 -2 lines
Diff to previous 1.905.2.4 (colored) to branchpoint 1.905 (colored)

Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.905.2.4 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:46 2008 UTC (6 years, 1 month ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.905.2.3: +24 -4 lines
Diff to previous 1.905.2.3 (colored) to branchpoint 1.905 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.916 / (download) - annotate - [select for diffs], Sun Sep 14 16:10:19 2008 UTC (6 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3
Changes since 1.915: +2 -2 lines
Diff to previous 1.915 (colored)

Create fss(4) devices on first open and destroy on last close of an
unconfigured device.  That removes the compile-time constant number
of useable devices.
While here, add disk_busy()/disk_unbusy() instrumentation.

Reviewed by: Quentin Garnier <cube@netbsd.org>

Revision 1.915 / (download) - annotate - [select for diffs], Sat Sep 6 19:18:16 2008 UTC (6 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2
Changes since 1.914: +8 -1 lines
Diff to previous 1.914 (colored)

Add video(4)

Revision 1.914 / (download) - annotate - [select for diffs], Sat Aug 30 10:49:27 2008 UTC (6 years, 1 month ago) by reinoud
Branch: MAIN
Changes since 1.913: +1 -2 lines
Diff to previous 1.913 (colored)

Back out dirhash kernel module for now.

Revision 1.913 / (download) - annotate - [select for diffs], Fri Aug 29 14:20:25 2008 UTC (6 years, 1 month ago) by reinoud
Branch: MAIN
Changes since 1.912: +2 -1 lines
Diff to previous 1.912 (colored)

Add dirhash kernel module for sharing dirhashing support with other FS
other than UDF. Its FS agnostic and could be used for any FS

Note to self: manpage needs to follow.

Revision 1.912 / (download) - annotate - [select for diffs], Mon Aug 4 03:55:47 2008 UTC (6 years, 2 months ago) by tls
Branch: MAIN
Changes since 1.911: +10 -1 lines
Diff to previous 1.911 (colored)

Add accept filters, ported from FreeBSD by Coyote Point Systems.  Add inetd
support for specifying an accept filter for a service (mostly as a usage
example, but it can be handy for other things).  Manual pages to follow
in a day or so.

OK core@.

Revision 1.911 / (download) - annotate - [select for diffs], Thu Jul 31 05:38:04 2008 UTC (6 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.910: +6 -1 lines
Diff to previous 1.910 (colored)

Merge the simonb-wapbl branch.  From the original branch commit:

   Add Wasabi System's WAPBL (Write Ahead Physical Block Logging)
   journaling code.  Originally written by Darrin B. Jewell while
   at Wasabi and updated to -current by Antti Kantee, Andy Doran,
   Greg Oster and Simon Burge.

OK'd by core@, releng@.

Revision 1.905.2.3 / (download) - annotate - [select for diffs], Mon Jul 21 19:13:45 2008 UTC (6 years, 3 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.905.2.2: +3 -2 lines
Diff to previous 1.905.2.2 (colored) to branchpoint 1.905 (colored)

Add support for compiling SA as an option. Implied by COMPAT_40.

i386 kernels both with COMPAT_40 and with no compat options (and thus
no SA) compile.

No functional changes intended.

Revision 1.906.2.4 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:31 2008 UTC (6 years, 3 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.906.2.3: +1 -2 lines
Diff to previous 1.906.2.3 (colored) to branchpoint 1.906 (colored) next main 1.907 (colored)

Sync with head.

Revision 1.910 / (download) - annotate - [select for diffs], Wed Jul 16 20:06:19 2008 UTC (6 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Changes since 1.909: +1 -2 lines
Diff to previous 1.909 (colored)

vfs_subr2 has lost its will to live.  vfs_subr was originally split
into two parts so that some of the routines could be used by rump.
Now that rump uses both vfs_subr and vfs_subr2 and there is no
reason to keep two files lying around, re-unite them.

Revision 1.909.2.1 / (download) - annotate - [select for diffs], Mon Jul 7 14:45:53 2008 UTC (6 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.909: +3 -1 lines
Diff to previous 1.909 (colored)

Import of device-mapper driver. This driver is BSD rewrite of linux dm driver.
For now only error, linear and zero targets are supported. This driver uses NetBSD
specific ioctl protocola based on proplib.

I was able to create logical volume (with lvm2tools lvcreate utility) with this
version of driver, newfs it and mount it.

Revision 1.892.6.6 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:04 2008 UTC (6 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.892.6.5: +7 -7 lines
Diff to previous 1.892.6.5 (colored) to branchpoint 1.892 (colored)

Sync with HEAD.

Revision 1.906.2.3 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:20 2008 UTC (6 years, 3 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.906.2.2: +3 -3 lines
Diff to previous 1.906.2.2 (colored) to branchpoint 1.906 (colored)

Sync with head.

Revision 1.909 / (download) - annotate - [select for diffs], Tue Jun 24 17:32:09 2008 UTC (6 years, 3 months ago) by drochner
Branch: MAIN
Branch point for: haad-dm
Changes since 1.908: +3 -3 lines
Diff to previous 1.908 (colored)

clean up some useless code and variables in cardbus attachment

Revision 1.905.2.2 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:57 2008 UTC (6 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.905.2.1: +7 -7 lines
Diff to previous 1.905.2.1 (colored) to branchpoint 1.905 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.906.2.2 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:03 2008 UTC (6 years, 4 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.906.2.1: +6 -6 lines
Diff to previous 1.906.2.1 (colored) to branchpoint 1.906 (colored)

Sync with head.

Revision 1.898.2.3 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:24 2008 UTC (6 years, 4 months ago) by yamt
Branch: yamt-pf42
Changes since 1.898.2.2: +6 -6 lines
Diff to previous 1.898.2.2 (colored) to branchpoint 1.898 (colored) next main 1.899 (colored)

sync with head.

Revision 1.906.2.1 / (download) - annotate - [select for diffs], Tue Jun 10 14:51:21 2008 UTC (6 years, 4 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.906: +6 -1 lines
Diff to previous 1.906 (colored)

Initial commit of Wasabi System's WAPBL (Write Ahead Physical Block
Logging) journaling code.  Originally written by Darrin B. Jewell
while at Wasabi and updated to -current by Antti Kantee, Andy Doran,
Greg Oster and Simon Burge.

Still a number of issues - look in doc/BRANCHES for "simonb-wapbl"
for more info.

Revision 1.908 / (download) - annotate - [select for diffs], Tue Jun 10 14:03:57 2008 UTC (6 years, 4 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Changes since 1.907: +2 -2 lines
Diff to previous 1.907 (colored)

Do proper config(5) version checking after previous changes [hi drochner!].

The rule is, if you change scan.l or gram.y, you bump the config(5)
version.  If you implement the changes under sys/conf/files or affiliate,
you bump the required version in sys/conf/files or in an appropriate place
to minimise annoyance.  If the changes makes new config(1) incompatible
with a previous version of config(5), embed it in config(1) using the
CONFIG_MINVERSION definition along with CONFIG_VERSION.

This has been in the tree for what, 3 years now?  It's even documented...

Revision 1.907 / (download) - annotate - [select for diffs], Tue Jun 10 12:49:16 2008 UTC (6 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.906: +5 -5 lines
Diff to previous 1.906 (colored)

use new "defpseudodev" where appropriate, and remove dummy interface
attribute definitions which were only to trick config(8)

Revision 1.898.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:09 2008 UTC (6 years, 4 months ago) by yamt
Branch: yamt-pf42
Changes since 1.898.2.1: +2 -2 lines
Diff to previous 1.898.2.1 (colored) to branchpoint 1.898 (colored)

sync with head

Revision 1.892.6.5 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:10 2008 UTC (6 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.892.6.4: +4 -2 lines
Diff to previous 1.892.6.4 (colored) to branchpoint 1.892 (colored)

Sync with HEAD.

Revision 1.906 / (download) - annotate - [select for diffs], Sun May 25 12:30:40 2008 UTC (6 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pf42-base3
Branch point for: simonb-wapbl
Changes since 1.905: +2 -2 lines
Diff to previous 1.905 (colored)

Add DRVGETEVENT support for /dev/drvctl, based on devmon support by
Jachym Holecek for Google Summer of Code. DRVGETEVENT plist is currently
limited to event type, device name, and device parent name.

Revision 1.898.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:29 2008 UTC (6 years, 5 months ago) by yamt
Branch: yamt-pf42
Changes since 1.898: +3 -1 lines
Diff to previous 1.898 (colored)

sync with head.

Revision 1.899.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:48 2008 UTC (6 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.899: +2 -1 lines
Diff to previous 1.899 (colored)

sync with head.

Revision 1.905.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:49:02 2008 UTC (6 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.905: +2 -1 lines
Diff to previous 1.905 (colored)

Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.

Revision 1.905 / (download) - annotate - [select for diffs], Mon May 5 13:42:15 2008 UTC (6 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.904: +1 -2 lines
Diff to previous 1.904 (colored)

Fix previous.

Revision 1.904 / (download) - annotate - [select for diffs], Mon May 5 13:41:30 2008 UTC (6 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.903: +2 -1 lines
Diff to previous 1.903 (colored)

Back out previous. It broke the build.

Revision 1.903 / (download) - annotate - [select for diffs], Sun May 4 23:07:09 2008 UTC (6 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.902: +2 -2 lines
Diff to previous 1.902 (colored)

Move zlib out of net/ and into kern/. It would probably be better to use
the reachover Makefiles and libz, but this is already here and it works.

Revision 1.902 / (download) - annotate - [select for diffs], Tue Apr 29 14:35:20 2008 UTC (6 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.901: +2 -1 lines
Diff to previous 1.901 (colored)

Split the runqueue management code into the separate file.
OK by <ad>.

Revision 1.901 / (download) - annotate - [select for diffs], Mon Apr 28 22:46:40 2008 UTC (6 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.900: +1 -2 lines
Diff to previous 1.900 (colored)

-defflag PREEMPTION

Revision 1.900 / (download) - annotate - [select for diffs], Mon Apr 28 15:46:48 2008 UTC (6 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.899: +2 -1 lines
Diff to previous 1.899 (colored)

defopt PREEMPTION

Revision 1.899 / (download) - annotate - [select for diffs], Wed Apr 23 05:21:17 2008 UTC (6 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.898: +2 -1 lines
Diff to previous 1.898 (colored)

Add subroutines to support collating per-cpu-gathered network statistics.

Revision 1.892.6.4 / (download) - annotate - [select for diffs], Fri Apr 4 21:21:10 2008 UTC (6 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.892.6.3: +10 -7 lines
Diff to previous 1.892.6.3 (colored) to branchpoint 1.892 (colored)

* Catch up with selnotify() changes.

* Catch up with some softc changes in HEAD.

* More s/dctl/devfsctl/ changes.

* Remove debugging printfs from init(8) that slipped in by mistake.

* Cosmetic changes in devfsd, allow multiple attributes to be set in
  one rule. Switch from err() to syslog() messages.

* Fix etc/devfsd.conf, I'd made some changes previously that had syntax
  errors.

Revision 1.892.6.3 / (download) - annotate - [select for diffs], Thu Apr 3 14:32:34 2008 UTC (6 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.892.6.2: +223 -10 lines
Diff to previous 1.892.6.2 (colored) to branchpoint 1.892 (colored)

Revert previous botched commit.

Revision 1.892.6.2 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:35 2008 UTC (6 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.892.6.1: +10 -223 lines
Diff to previous 1.892.6.1 (colored) to branchpoint 1.892 (colored)

Sync with HEAD.

Revision 1.898 / (download) - annotate - [select for diffs], Sun Mar 30 12:32:13 2008 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.897: +2 -2 lines
Diff to previous 1.897 (colored)

Add support for NCR 53C720 found on various machines/attachments.

From OpenBSD (Mark Kettenis)

Revision 1.897 / (download) - annotate - [select for diffs], Sat Mar 29 15:59:26 2008 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.896: +2 -2 lines
Diff to previous 1.896 (colored)

Tidyup the attachment of various devices in the same way as OpenBSD and
use the same name.

Must have been funny to someone.

Revision 1.722.2.12 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:46 2008 UTC (6 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.722.2.11: +3 -1 lines
Diff to previous 1.722.2.11 (colored) next main 1.723 (colored)

sync with head.

Revision 1.892.2.2 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:10 2008 UTC (6 years, 7 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.892.2.1: +4 -3 lines
Diff to previous 1.892.2.1 (colored) to branchpoint 1.892 (colored) next main 1.893 (colored)

sync with head.

Revision 1.896 / (download) - annotate - [select for diffs], Sun Mar 23 14:02:49 2008 UTC (6 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Changes since 1.895: +2 -1 lines
Diff to previous 1.895 (colored)

Split select/poll into their own file.

Revision 1.861.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:34 2008 UTC (6 years, 7 months ago) by matt
Branch: matt-armv6
Changes since 1.861.2.2: +26 -6 lines
Diff to previous 1.861.2.2 (colored) next main 1.862 (colored)

sync with HEAD

Revision 1.895 / (download) - annotate - [select for diffs], Fri Mar 21 21:54:59 2008 UTC (6 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.894: +2 -1 lines
Diff to previous 1.894 (colored)

Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.

Revision 1.722.2.11 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:36 2008 UTC (6 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.722.2.10: +3 -2 lines
Diff to previous 1.722.2.10 (colored)

sync with head.

Revision 1.894 / (download) - annotate - [select for diffs], Tue Mar 11 05:24:38 2008 UTC (6 years, 7 months ago) by mjacob
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Changes since 1.893: +3 -2 lines
Diff to previous 1.893 (colored)

Make some changes to isp(4) options: add a disable for 2322 suppport;
remove the option for firmware crash dumps; add a ISP_VPORTS option
for virtual ports (24XX, coming soon).

Revision 1.876.4.1 / (download) - annotate - [select for diffs], Mon Mar 3 19:41:33 2008 UTC (6 years, 7 months ago) by cube
Branch: cube-autoconf
Changes since 1.876: +2 -1 lines
Diff to previous 1.876 (colored) next main 1.877 (colored)

Compile subr_device.c, too.

Revision 1.722.2.10 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:31 2008 UTC (6 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.722.2.9: +7 -2 lines
Diff to previous 1.722.2.9 (colored)

sync with head.

Revision 1.893 / (download) - annotate - [select for diffs], Sun Feb 24 05:29:31 2008 UTC (6 years, 7 months ago) by isaki
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Changes since 1.892: +2 -2 lines
Diff to previous 1.892 (colored)

slhci also shares usbroothub_subr.

Revision 1.892.2.1 / (download) - annotate - [select for diffs], Fri Feb 22 02:53:32 2008 UTC (6 years, 8 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.892: +4 -1 lines
Diff to previous 1.892 (colored)

imported Mobile IPv6 code developed by the SHISA project
(http://www.mobileip.jp/).

Revision 1.892.6.1 / (download) - annotate - [select for diffs], Thu Feb 21 20:44:55 2008 UTC (6 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.892: +5 -1 lines
Diff to previous 1.892 (colored)

Start where the mjf-devfs branch left off.

Revision 1.892 / (download) - annotate - [select for diffs], Wed Feb 20 21:43:36 2008 UTC (6 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.891: +6 -1 lines
Diff to previous 1.891 (colored)

Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.

Revision 1.869.4.5 / (download) - annotate - [select for diffs], Mon Feb 18 22:07:02 2008 UTC (6 years, 8 months ago) by mjf
Branch: mjf-devfs
Changes since 1.869.4.4: +5 -1 lines
Diff to previous 1.869.4.4 (colored) to branchpoint 1.869 (colored) next main 1.870 (colored)

Add some devfs code that's been sitting in my local tree for a while.

devfsd(8) is now the first daemon to be started after init(8). It tracks
device insertion (will eventually track removal) and devfs mounts.

Currently, we can mount multiple device file systems and have device
special files pushed into the mounts automatically, though, the device
special files aren't created with the correct major/minor number pairs
yet.

More work to come soon.

Revision 1.869.4.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:31 2008 UTC (6 years, 8 months ago) by mjf
Branch: mjf-devfs
Changes since 1.869.4.3: +31 -7 lines
Diff to previous 1.869.4.3 (colored) to branchpoint 1.869 (colored)

Sync with HEAD.

Revision 1.722.2.9 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:15 2008 UTC (6 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.722.2.8: +13 -4 lines
Diff to previous 1.722.2.8 (colored)

sync with head.

Revision 1.891 / (download) - annotate - [select for diffs], Sun Feb 3 13:25:57 2008 UTC (6 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: mjf-devfs-base
Changes since 1.890: +3 -1 lines
Diff to previous 1.890 (colored)

defflag CPU_IN_CKSUM

Revision 1.890 / (download) - annotate - [select for diffs], Sun Feb 3 10:57:11 2008 UTC (6 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.889: +7 -4 lines
Diff to previous 1.889 (colored)

share some code for USB root hub emulation which is common in the 3
host controller implementations, start with two little functions
which fake up string descriptors (which were inconststent, language
table fetching didn't interoperate with other code in the tree)

Revision 1.889 / (download) - annotate - [select for diffs], Mon Jan 28 14:31:15 2008 UTC (6 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.888: +2 -1 lines
Diff to previous 1.888 (colored)

Fix some race conditions in rename.
Introduce a per-FS rename lock and new vfsops to manipulate it.
Get this lock while renaming. Also add another relookup() in do_sys_rename,
which is a hack to kludge around some of the worst deficiencies of
ufs_rename.
reviewed-by: pooka (and an earlier rev by ad)
posted on tech-kern with no objections.

Revision 1.888 / (download) - annotate - [select for diffs], Fri Jan 25 21:12:14 2008 UTC (6 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.887: +4 -1 lines
Diff to previous 1.887 (colored)

Refactor in_cksum/in4_cksum/in6_cksum implementations:
- All three functions are included in the kernel by default.
  They call a backend function cpu_in_cksum after possibly
  computing the checksum of the pseudo header.
- cpu_in_cksum is the core to implement the one-complement sum.
  The default implementation is moderate fast on most platforms
  and provides a 32bit accumulator with 16bit addends for L32 platforms
  and a 64bit accumulator with 32bit addends for L64 platforms.
  It handles edge cases like very large mbuf chains (could happen with
  native IPv6 in the future) and provides a good base for new native
  implementations.
- Modify i386 and amd64 assembly to use the new interface.

This disables the MD implementations on !x86 until the conversion is
done. For Alpha, the portable version is faster.

Revision 1.722.2.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:42:18 2008 UTC (6 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.722.2.7: +34 -6 lines
Diff to previous 1.722.2.7 (colored)

sync with head

Revision 1.876.2.4 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:02 2008 UTC (6 years, 9 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.876.2.3: +5 -0 lines
Diff to previous 1.876.2.3 (colored) to branchpoint 1.876 (colored) next main 1.877 (colored)

Sync with HEAD

Revision 1.887 / (download) - annotate - [select for diffs], Thu Jan 17 20:14:49 2008 UTC (6 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.886: +2 -1 lines
Diff to previous 1.886 (colored)

Add a stub file that includes a bunch of kernel headers and always get
compiled with -g. For the initial set, netbsd on amd64 grows by around
80KB. This allows much easier use of GDB for post-mortem debugging as
it can understand the layout of data structures. The additional data can
be strip(1)ped off normally for size constraint environments.

Revision 1.886 / (download) - annotate - [select for diffs], Wed Jan 16 12:34:50 2008 UTC (6 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.885: +3 -1 lines
Diff to previous 1.885 (colored)

Pull in my modules code for review/test/hacking.

Revision 1.885 / (download) - annotate - [select for diffs], Tue Jan 15 03:37:10 2008 UTC (6 years, 9 months ago) by rmind
Branch: MAIN
Changes since 1.884: +2 -1 lines
Diff to previous 1.884 (colored)

Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.

Revision 1.884 / (download) - annotate - [select for diffs], Mon Jan 14 12:40:04 2008 UTC (6 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.883: +2 -1 lines
Diff to previous 1.883 (colored)

add a per-cpu storage allocator.

Revision 1.861.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:06 2008 UTC (6 years, 9 months ago) by matt
Branch: matt-armv6
Changes since 1.861.2.1: +46 -9 lines
Diff to previous 1.861.2.1 (colored)

sync with HEAD

Revision 1.876.2.3 / (download) - annotate - [select for diffs], Tue Jan 8 22:10:52 2008 UTC (6 years, 9 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.876.2.2: +2 -0 lines
Diff to previous 1.876.2.2 (colored) to branchpoint 1.876 (colored)

Sync with HEAD

Revision 1.883 / (download) - annotate - [select for diffs], Sun Jan 6 18:03:59 2008 UTC (6 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.882: +3 -1 lines
Diff to previous 1.882 (colored)

Add MODULAR option. Include kernel linker stuff if MODULAR.

Revision 1.876.2.2 / (download) - annotate - [select for diffs], Wed Jan 2 21:53:42 2008 UTC (6 years, 9 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.876.2.1: +15 -3 lines
Diff to previous 1.876.2.1 (colored) to branchpoint 1.876 (colored)

Sync with HEAD

Revision 1.882 / (download) - annotate - [select for diffs], Tue Jan 1 21:28:38 2008 UTC (6 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.881: +6 -1 lines
Diff to previous 1.881 (colored)

a simple performance monitor based profiler, inspired from linux oprofile.

Revision 1.881 / (download) - annotate - [select for diffs], Mon Dec 31 15:32:09 2007 UTC (6 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.880: +1 -3 lines
Diff to previous 1.880 (colored)

Remove systrace. Ok core@.

Revision 1.880 / (download) - annotate - [select for diffs], Mon Dec 31 13:39:02 2007 UTC (6 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.879: +1 -2 lines
Diff to previous 1.879 (colored)

Remove COMPAT_HPUX.

Revision 1.869.4.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:44:42 2007 UTC (6 years, 9 months ago) by mjf
Branch: mjf-devfs
Changes since 1.869.4.2: +16 -3 lines
Diff to previous 1.869.4.2 (colored) to branchpoint 1.869 (colored)

Sync with HEAD.

Revision 1.879 / (download) - annotate - [select for diffs], Wed Dec 26 22:11:53 2007 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.878: +7 -1 lines
Diff to previous 1.878 (colored)

Add PaX ASLR (Address Space Layout Randomization) [from elad and myself]

For regular (non PIE) executables randomization is enabled for:
    1. The data segment
    2. The stack

For PIE executables(*) randomization is enabled for:
    1. The program itself
    2. All shared libraries
    3. The data segment
    4. The stack

(*) To generate a PIE executable:
    - compile everything with -fPIC
    - link with -shared-libgcc -Wl,-pie

This feature is experimental, and might change. To use selectively add
    options PAX_ASLR=0
in your kernel.

Currently we are using 12 bits for the stack, program, and data segment and
16 or 24 bits for mmap, depending on __LP64__.

Revision 1.875.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:56:58 2007 UTC (6 years, 9 months ago) by ad
Branch: vmlocking2
Changes since 1.875: +16 -3 lines
Diff to previous 1.875 (colored) next main 1.876 (colored)

Sync with head.

Revision 1.876.2.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:55:13 2007 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.876: +6 -1 lines
Diff to previous 1.876 (colored)

Sync with HEAD

Revision 1.878 / (download) - annotate - [select for diffs], Thu Dec 13 21:23:48 2007 UTC (6 years, 10 months ago) by garbled
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.877: +5 -1 lines
Diff to previous 1.877 (colored)

Move the elink probe code from files.isa to the common conf/files so that
MCA without isa can compile.  fix by cube.

Revision 1.877 / (download) - annotate - [select for diffs], Thu Dec 13 17:25:19 2007 UTC (6 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.876: +6 -1 lines
Diff to previous 1.876 (colored)

Add glue for x86emu and build it as part of i386/ALL.

Revision 1.875.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:22:24 2007 UTC (6 years, 10 months ago) by yamt
Branch: yamt-kmem
Changes since 1.875: +7 -3 lines
Diff to previous 1.875 (colored) next main 1.876 (colored)

sync with head.

Revision 1.876 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:51 2007 UTC (6 years, 10 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, cube-autoconf-base
Branch point for: cube-autoconf, bouyer-xeni386
Changes since 1.875: +7 -3 lines
Diff to previous 1.875 (colored)

Merge jmcneill-pm branch.

Revision 1.869.4.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:15 2007 UTC (6 years, 10 months ago) by mjf
Branch: mjf-devfs
Changes since 1.869.4.1: +6 -1 lines
Diff to previous 1.869.4.1 (colored) to branchpoint 1.869 (colored)

Sync with HEAD.

Revision 1.856.4.10 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:01 2007 UTC (6 years, 10 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.856.4.9: +2 -2 lines
Diff to previous 1.856.4.9 (colored) to branchpoint 1.856 (colored) next main 1.857 (colored)

Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.722.2.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:29:13 2007 UTC (6 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.722.2.6: +6 -1 lines
Diff to previous 1.722.2.6 (colored)

sync with head

Revision 1.856.4.9 / (download) - annotate - [select for diffs], Wed Nov 21 21:53:58 2007 UTC (6 years, 11 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.856.4.8: +6 -1 lines
Diff to previous 1.856.4.8 (colored) to branchpoint 1.856 (colored)

Sync with HEAD.

Revision 1.869.2.3 / (download) - annotate - [select for diffs], Wed Nov 21 21:19:26 2007 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.869.2.2: +6 -1 lines
Diff to previous 1.869.2.2 (colored) to branchpoint 1.869 (colored) next main 1.870 (colored)

Sync with HEAD

Revision 1.875 / (download) - annotate - [select for diffs], Tue Nov 20 18:54:31 2007 UTC (6 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.874: +6 -1 lines
Diff to previous 1.874 (colored)

pud (userspace char/block drivers) build goo

Revision 1.869.4.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:47:38 2007 UTC (6 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.869: +13 -4 lines
Diff to previous 1.869 (colored)

Sync with HEAD.

Revision 1.869.2.2 / (download) - annotate - [select for diffs], Sun Nov 18 19:35:14 2007 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.869.2.1: +3 -3 lines
Diff to previous 1.869.2.1 (colored) to branchpoint 1.869 (colored)

Sync with HEAD

Revision 1.722.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:43:58 2007 UTC (6 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.722.2.5: +13 -4 lines
Diff to previous 1.722.2.5 (colored)

sync with head.

Revision 1.856.4.8 / (download) - annotate - [select for diffs], Wed Nov 14 19:04:21 2007 UTC (6 years, 11 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.856.4.7: +10 -5 lines
Diff to previous 1.856.4.7 (colored) to branchpoint 1.856 (colored)

Sync with HEAD.

Revision 1.874 / (download) - annotate - [select for diffs], Tue Nov 13 23:22:06 2007 UTC (6 years, 11 months ago) by cube
Branch: MAIN
Changes since 1.873: +4 -4 lines
Diff to previous 1.873 (colored)

Rename 'arc' into 'arcnet' to avoid conflict with
sys/arch/arc/conf/files.arc's machine statement.

Revision 1.869.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:00:47 2007 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.869: +10 -1 lines
Diff to previous 1.869 (colored)

Sync with HEAD

Revision 1.873 / (download) - annotate - [select for diffs], Mon Nov 12 14:30:55 2007 UTC (6 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.872: +2 -2 lines
Diff to previous 1.872 (colored)

Move putter code from directly under dev/ to dev/putter/

no functional change

Revision 1.872 / (download) - annotate - [select for diffs], Sun Nov 11 17:37:45 2007 UTC (6 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.871: +6 -1 lines
Diff to previous 1.871 (colored)

Add pseudo audio device driver. With this pseudo-device, audio played back
via the standard audio interfaces is redirected back to userland as raw
PCM data on /dev/padN.

One example usage is to stream audio to an AirTunes compatible device using
rtunes (http://www.nazgul.ch/dev_rtunes.html), ie:

	$ rtunes - < /dev/pad0
	$ mpg123 -a /dev/sound1 blah.mp3

Another option is to capture audio output from eg. Real Player, by simply
instructing Real Player to output to /dev/sound1, and running:

	$ cat /dev/pad0 > blah.pcm

Revision 1.871 / (download) - annotate - [select for diffs], Sun Nov 11 16:58:02 2007 UTC (6 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.870: +2 -2 lines
Diff to previous 1.870 (colored)

include putter only if it's actually defined

Revision 1.856.4.7 / (download) - annotate - [select for diffs], Sun Nov 11 16:47:25 2007 UTC (6 years, 11 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.856.4.6: +5 -1 lines
Diff to previous 1.856.4.6 (colored) to branchpoint 1.856 (colored)

Sync with HEAD.

Revision 1.870 / (download) - annotate - [select for diffs], Sat Nov 10 21:45:05 2007 UTC (6 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.869: +5 -1 lines
Diff to previous 1.869 (colored)

Part 2/n of extensive changes to request transport to/from userspace:

Rip the transport code completely out of puffs and generalize it
into an independent module which will be used for multiple purposes
in the future.  This module is called the Pass-to-Userspace
Transporter (known as "putter" among friends).

This is very much work-in-progress and one dependency with puffs
remains: the request framing format.

The device name is still /dev/puffs, but that will change soon.

Users of puffs need the following in their kernel configs now:
pseudo-device   putter

Revision 1.819.2.5.2.1 / (download) - annotate - [select for diffs], Sat Nov 10 02:57:00 2007 UTC (6 years, 11 months ago) by matt
Branch: matt-nb4-arm
Changes since 1.819.2.5: +10 -1 lines
Diff to previous 1.819.2.5 (colored) next main 1.820 (colored)

Add AT91 support from Sami Kantoluoto
Add TI OMAP2430 support from Marty Fouts @ Danger Inc

Revision 1.861.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:25:20 2007 UTC (6 years, 11 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.861: +12 -5 lines
Diff to previous 1.861 (colored)

sync with HEAD

Revision 1.722.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:29:52 2007 UTC (6 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.722.2.4: +12 -5 lines
Diff to previous 1.722.2.4 (colored)

sync with head.

Revision 1.856.4.6 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:06 2007 UTC (6 years, 11 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.856.4.5: +6 -1 lines
Diff to previous 1.856.4.5 (colored) to branchpoint 1.856 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.834.2.11 / (download) - annotate - [select for diffs], Tue Oct 23 20:17:04 2007 UTC (7 years ago) by ad
Branch: vmlocking
Changes since 1.834.2.10: +2 -1 lines
Diff to previous 1.834.2.10 (colored) next main 1.835 (colored)

Sync with head.

Revision 1.863.2.3 / (download) - annotate - [select for diffs], Thu Oct 18 08:33:04 2007 UTC (7 years ago) by yamt
Branch: yamt-x86pmap
Changes since 1.863.2.2: +2 -1 lines
Diff to previous 1.863.2.2 (colored) to branchpoint 1.863 (colored) next main 1.864 (colored)

sync with head.

Revision 1.869 / (download) - annotate - [select for diffs], Wed Oct 17 16:45:00 2007 UTC (7 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base
Branch point for: mjf-devfs, bouyer-xenamd64
Changes since 1.868: +2 -1 lines
Diff to previous 1.868 (colored)

Split I/O-related routines (getpages, putpages, etc.) which are heavily
tied to uvm out of genfs_vnops into genfs_io.c

Revision 1.712.2.11 / (download) - annotate - [select for diffs], Mon Oct 15 05:09:56 2007 UTC (7 years ago) by riz
Branch: netbsd-3
Changes since 1.712.2.10: +3 -1 lines
Diff to previous 1.712.2.10 (colored) to branchpoint 1.712 (colored) next main 1.713 (colored)

Pull up following revisions via patch (requested by bouyer in ticket #1838):
	distrib/sets/lists/man/mi: revision 1.997
	sbin/bioctl/strtonum.c: revision 1.1
	sys/dev/Makefile: revision 1.25
	sys/arch/amd64/conf/GENERIC: revision 1.139
	sbin/bioctl/strtonum.h: revision 1.1
	sys/dev/bio.c: revision 1.1
	sbin/bioctl/bioctl.c: revision 1.1
	share/man/man4/bio.4: revision 1.1
	sbin/bioctl/bioctl.8: revision 1.1
	sys/sys/envsys.h: revision 1.11
	sbin/bioctl/bioctl.8: revision 1.3
	sbin/bioctl/bioctl.8: revision 1.4
	sys/arch/i386/conf/XEN2_DOM0: revision 1.25
	distrib/sets/lists/base/mi: revision 1.704
	sys/conf/majors: revision 1.34
	share/man/man4/Makefile: revision 1.426
	etc/MAKEDEV.tmpl: revision 1.86
	sys/arch/i386/conf/GENERIC: revision 1.825
	distrib/sets/lists/comp/mi: revision 1.1022
	sys/conf/files: revision 1.839
	usr.sbin/envstat/envstat.c: revision 1.24
	sbin/Makefile: revision 1.105
	sys/dev/ic/mfi.c: revision 1.4
	sys/dev/biovar.h: revision 1.1
	sys/dev/ic/mfivar.h: revision 1.4
	sbin/bioctl/Makefile: revision 1.1
Fix typo.
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
Fix Dd argument (use full month names).
Use more markup.
Comment out references to safte(4) and softraid(4), which don't exist in
NetBSD.
Remove trailing whitespace.
Use macros instead of characters for HTML output (replace ">", "<"
with \*[Gt], \*[Lt]).
Sort sections.
Create /dev/bio

Revision 1.863.2.2 / (download) - annotate - [select for diffs], Sun Oct 14 11:47:57 2007 UTC (7 years ago) by yamt
Branch: yamt-x86pmap
Changes since 1.863.2.1: +5 -1 lines
Diff to previous 1.863.2.1 (colored) to branchpoint 1.863 (colored)

sync with head.

Revision 1.834.2.10 / (download) - annotate - [select for diffs], Wed Oct 10 23:03:22 2007 UTC (7 years ago) by rmind
Branch: vmlocking
Changes since 1.834.2.9: +3 -1 lines
Diff to previous 1.834.2.9 (colored)

Sync with HEAD.

Revision 1.868 / (download) - annotate - [select for diffs], Tue Oct 9 19:00:13 2007 UTC (7 years ago) by rmind
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, vmlocking-base
Changes since 1.867: +3 -1 lines
Diff to previous 1.867 (colored)

Import of SCHED_M2 - the implementation of new scheduler, which is based
on the original approach of SVR4 with some inspirations about balancing
and migration from Solaris.  It implements per-CPU runqueues, provides a
real-time (RT) and time-sharing (TS) queues, ready to support a POSIX
real-time extensions, and also prepared for the support of CPU affinity.

The following lines in the kernel config enables the SCHED_M2:

no options SCHED_4BSD
options SCHED_M2

The scheduler seems to be stable.  Further work will come soon.

http://mail-index.netbsd.org/tech-kern/2007/10/04/0001.html
http://www.netbsd.org/~rmind/m2/mysql_bench_ro_4x_local.png
Thanks <ad> for the benchmarks!

Revision 1.834.2.9 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:09 2007 UTC (7 years ago) by ad
Branch: vmlocking
Changes since 1.834.2.8: +2 -1 lines
Diff to previous 1.834.2.8 (colored)

Sync with head.

Revision 1.834.2.8 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:09 2007 UTC (7 years ago) by ad
Branch: vmlocking
Changes since 1.834.2.7: +6 -5 lines
Diff to previous 1.834.2.7 (colored)

Sync with head.

Revision 1.867 / (download) - annotate - [select for diffs], Mon Oct 8 15:51:02 2007 UTC (7 years ago) by ad
Branch: MAIN
Changes since 1.866: +2 -1 lines
Diff to previous 1.866 (colored)

Add stubs that provide new soft interrupt API from the vmlocking branch.
For now these just pass through to the current softintr code.

(The naming is different to allow softint/softintr to co-exist for a while.
I'm hoping that should make it easier to transition.)

Revision 1.866 / (download) - annotate - [select for diffs], Mon Oct 8 15:12:06 2007 UTC (7 years ago) by ad
Branch: MAIN
Changes since 1.865: +2 -1 lines
Diff to previous 1.865 (colored)

Merge file descriptor locking, cwdi locking and cross-call changes
from the vmlocking branch.

Revision 1.856.4.5 / (download) - annotate - [select for diffs], Sun Oct 7 13:25:02 2007 UTC (7 years ago) by joerg
Branch: jmcneill-pm
Changes since 1.856.4.4: +1 -2 lines
Diff to previous 1.856.4.4 (colored) to branchpoint 1.856 (colored)

Sync with HEAD.

Revision 1.863.2.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:30:16 2007 UTC (7 years ago) by yamt
Branch: yamt-x86pmap
Changes since 1.863: +2 -5 lines
Diff to previous 1.863 (colored)

sync with head.

Revision 1.865 / (download) - annotate - [select for diffs], Fri Oct 5 07:28:24 2007 UTC (7 years ago) by dogcow
Branch: MAIN
CVS Tags: yamt-x86pmap-base2
Changes since 1.864: +1 -2 lines
Diff to previous 1.864 (colored)

since ip_gre.c is gone, it's unhelpful to have dependencies on it.

Revision 1.856.4.4 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:16 2007 UTC (7 years ago) by joerg
Branch: jmcneill-pm
Changes since 1.856.4.3: +7 -4 lines
Diff to previous 1.856.4.3 (colored) to branchpoint 1.856 (colored)

Sync with HEAD.

Revision 1.864 / (download) - annotate - [select for diffs], Fri Sep 28 22:52:13 2007 UTC (7 years ago) by dyoung
Branch: MAIN
Changes since 1.863: +2 -4 lines
Diff to previous 1.863 (colored)

Always build & link net/link_proto.c, since net/if.c needs it.

Revision 1.852.2.3 / (download) - annotate - [select for diffs], Mon Sep 10 10:54:46 2007 UTC (7 years, 1 month ago) by skrll
Branch: nick-csl-alignment
Changes since 1.852.2.2: +6 -1 lines
Diff to previous 1.852.2.2 (colored) to branchpoint 1.852 (colored) next main 1.853 (colored)

Sync with HEAD.

Revision 1.863 / (download) - annotate - [select for diffs], Fri Sep 7 20:17:37 2007 UTC (7 years, 1 month ago) by plunky
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Changes since 1.862: +5 -1 lines
Diff to previous 1.862 (colored)

move the HID processing defs to a higher context, since it is used by
bluetooth and USB code.

Revision 1.862 / (download) - annotate - [select for diffs], Fri Sep 7 18:56:06 2007 UTC (7 years, 1 month ago) by rmind
Branch: MAIN
Changes since 1.861: +2 -1 lines
Diff to previous 1.861 (colored)

Implementation of POSIX message queues.

Reviewed by: <ad>, <tech-kern>

Revision 1.722.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:33:04 2007 UTC (7 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.722.2.3: +60 -12 lines
Diff to previous 1.722.2.3 (colored)

sync with head.

Revision 1.852.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 10:20:11 2007 UTC (7 years, 1 month ago) by skrll
Branch: nick-csl-alignment
Changes since 1.852.2.1: +3 -4 lines
Diff to previous 1.852.2.1 (colored) to branchpoint 1.852 (colored)

Sync with HEAD.

Revision 1.819.2.4.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:04:16 2007 UTC (7 years, 1 month ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.819.2.4: +6 -1 lines
Diff to previous 1.819.2.4 (colored) next main 1.819.2.5 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.819.2.5 / (download) - annotate - [select for diffs], Fri Aug 31 20:09:24 2007 UTC (7 years, 1 month ago) by pavel
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base
Branch point for: matt-nb4-arm
Changes since 1.819.2.4: +6 -1 lines
Diff to previous 1.819.2.4 (colored) to branchpoint 1.819 (colored) next main 1.820 (colored)

Pull up following revision(s) (requested by bouyer in ticket #678):
	distrib/sets/lists/man/mi: revision 1.1001
	doc/CHANGES: revision 1.853 via patch
	share/man/man4/Makefile: revision 1.428
	share/man/man4/jmide.4: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.143
	sys/arch/amd64/conf/INSTALL: revision 1.69
	sys/arch/i386/conf/GENERIC: revision 1.827
	sys/arch/i386/conf/INSTALL_LARGE: revision 1.2 via patch
	sys/arch/i386/conf/XEN2_DOM0: revision 1.26
	sys/conf/files: revision 1.844 via patch
	sys/dev/ic/ahcisata_core.c: revision 1.1 via patch
	sys/dev/ic/ahcisata_core.c: revision 1.3
	sys/dev/ic/ahcisatareg.h: revision 1.1
	sys/dev/ic/ahcisatavar.h: revision 1.1
	sys/dev/pci/ahcisata.c: delete
	sys/dev/pci/ahcisatareg.h: delete
	sys/dev/pci/ahcisata_pci.c: revision 1.1
	sys/dev/pci/files.pci: revision 1.287-1.288
	sys/dev/pci/jmide.c: revision 1.1-1.2
	sys/dev/pci/jmide_reg.h: revision 1.1
	sys/dev/pci/pcidevs: revision 1.878
Add JMicron Technology vendor ID, and their current PCIe SATA/PATA
controllers.

Split the ahcisata driver in pci front-end and bus-independant back-end.
add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).
Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.

Move mapping of AHCI register so that jmide knows if it fails, and avoids
calling ahci_intr() (which would cause a panic).
Try to use the pciide function for SATA drives if attaching ahci fails (this
doesn't seems to work though, it may be BIOS dependant).
Thanks to Gary Duzan for testing multiple pacthes.

We're not ready to handle ATAPI yet so just claim there's no drive to the
upper layer. This should work around a NULL pointer dereference when
an ATAPI device is detected on a AHCI device.

Revision 1.834.2.7 / (download) - annotate - [select for diffs], Sun Aug 26 12:04:46 2007 UTC (7 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.834.2.6: +2 -1 lines
Diff to previous 1.834.2.6 (colored)

- Add a generic cross-call facility. Right now this only does threaded cross
  calls but that should be extended to do IPIs. These are deliberately set
  up as bound kthreads (and not soft interrupts or something else) so that
  the called functions can use the spl framework or disable preemption in
  order to guarantee exclusive access to CPU-local data.

- Use cross calls to take CPUs online or offline. Ok to do since bound LWPs
  still execute on offline CPUs. As a result schedstate_percpu's::spc_flags
  is CPU-local again and doesn't need locking.

Revision 1.834.2.6 / (download) - annotate - [select for diffs], Mon Aug 20 21:27:22 2007 UTC (7 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.834.2.5: +15 -6 lines
Diff to previous 1.834.2.5 (colored)

Sync with HEAD.

Revision 1.856.4.3 / (download) - annotate - [select for diffs], Thu Aug 16 11:03:01 2007 UTC (7 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.856.4.2: +5 -5 lines
Diff to previous 1.856.4.2 (colored) to branchpoint 1.856 (colored)

Sync with HEAD.

Revision 1.861 / (download) - annotate - [select for diffs], Wed Aug 15 20:34:49 2007 UTC (7 years, 2 months ago) by ad
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.860: +2 -2 lines
Diff to previous 1.860 (colored)

subr_prf_bitmask.c -> subr_prf2.c

Revision 1.852.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:09 2007 UTC (7 years, 2 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.852: +12 -2 lines
Diff to previous 1.852 (colored)

Sync with HEAD.

Revision 1.860 / (download) - annotate - [select for diffs], Wed Aug 15 12:07:32 2007 UTC (7 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.859: +2 -3 lines
Diff to previous 1.859 (colored)

Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.

Revision 1.859 / (download) - annotate - [select for diffs], Wed Aug 15 03:53:09 2007 UTC (7 years, 2 months ago) by kiyohara
Branch: MAIN
Changes since 1.858: +2 -2 lines
Diff to previous 1.858 (colored)

Replace to Matthew Orgass's slhci(4).
http://mail-index.netbsd.org/tech-kern/2007/06/26/0001.html

Revision 1.858 / (download) - annotate - [select for diffs], Thu Aug 9 07:36:19 2007 UTC (7 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.857: +2 -1 lines
Diff to previous 1.857 (colored)

Shuffle routines which just roll values around from kern_clock.c
and kern_time.c to subr_time.c.

Revision 1.856.4.2 / (download) - annotate - [select for diffs], Sat Aug 4 12:33:08 2007 UTC (7 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.856.4.1: +4 -1 lines
Diff to previous 1.856.4.1 (colored) to branchpoint 1.856 (colored)

Sync with HEAD.

Revision 1.857.2.2 / (download) - annotate - [select for diffs], Sat Aug 4 11:03:00 2007 UTC (7 years, 2 months ago) by ad
Branch: matt-mips64
Changes since 1.857.2.1: +1540 -0 lines
Diff to previous 1.857.2.1 (colored) to branchpoint 1.857 (colored) next main 1.858 (colored)

Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.

Revision 1.857.2.1, Sat Aug 4 11:02:59 2007 UTC (7 years, 2 months ago) by ad
Branch: matt-mips64
Changes since 1.857: +0 -1540 lines
FILE REMOVED

file files was added on branch matt-mips64 on 2007-08-04 11:03:00 +0000

Revision 1.857 / (download) - annotate - [select for diffs], Sat Aug 4 11:02:59 2007 UTC (7 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: matt-mips64-base
Branch point for: matt-mips64
Changes since 1.856: +4 -1 lines
Diff to previous 1.856 (colored)

Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.

Revision 1.856.4.1 / (download) - annotate - [select for diffs], Fri Aug 3 22:17:12 2007 UTC (7 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.856: +7 -3 lines
Diff to previous 1.856 (colored)

Pull in power management changes from private branch.

Revision 1.856 / (download) - annotate - [select for diffs], Sun Jul 29 14:44:09 2007 UTC (7 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: hpcarm-cleanup
Branch point for: jmcneill-pm
Changes since 1.855: +2 -1 lines
Diff to previous 1.855 (colored)

Split vfs_subr.c into routines which need much of the kernel
infrastructure (vfs_subr.c) and routines which need little or none
of the kernel infra (vfs_subr2.c).

Revision 1.855 / (download) - annotate - [select for diffs], Sun Jul 29 09:38:02 2007 UTC (7 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.854: +2 -1 lines
Diff to previous 1.854 (colored)

Move bitmask_snprintf() from subr_prf.c to subr_prf_bitmask.c to permit
standalone compilation.  No functional change.

Revision 1.854 / (download) - annotate - [select for diffs], Sat Jul 28 12:53:53 2007 UTC (7 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.853: +2 -1 lines
Diff to previous 1.853 (colored)

Move hashinit() & hashdone() from kern_subr.c to subr_hash.c to
permit standalone compilation.  No functional change.

Revision 1.853 / (download) - annotate - [select for diffs], Thu Jul 19 20:48:51 2007 UTC (7 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.852: +4 -1 lines
Diff to previous 1.852 (colored)

Take steps to hide the radix_node implementation of the forwarding table
from the forwarding table's users:

        Introduce rt_walktree() for walking the routing table and
        applying a function to each rtentry.  Replace most
        rn_walktree() calls with it.

        Use rt_getkey()/rt_setkey() to get/set a route's destination.
        Keep a pointer to the sockaddr key in the rtentry, so that
        rtentry users do not have to grovel in the radix_node for
        the key.

        Add a RTM_GET method to rtrequest.  Use that instead of
        radix_node lookups in, e.g., carp(4).

Add sys/net/link_proto.c, which supplies sockaddr routines for
link-layer socket addresses (sockaddr_dl).

Cosmetic:

        Constify.  KNF.  Stop open-coding LIST_FOREACH, TAILQ_FOREACH,
        et cetera.  Use NULL instead of 0 for null pointers.  Use
        __arraycount().  Reduce gratuitous parenthesization.

        Stop using variadic arguments for rip6_output(), it is
        unnecessary.

        Remove the unnecessary rtentry member rt_genmask and the
        code to maintain it, since nothing actually used it.

        Make rt_maskedcopy() easier to read by using meaningful variable
        names.

        Extract a subroutine intern_netmask() for looking up a netmask in
        the masks table.

        Start converting backslash-ridden IPv6 macros in
        sys/netinet6/in6_var.h into inline subroutines that one
        can read without special eyeglasses.

One functional change: when the kernel serves an RTM_GET, RTM_LOCK,
or RTM_CHANGE request, it applies the netmask (if supplied) to a
destination before searching for it in the forwarding table.

I have changed sys/netinet/ip_carp.c, carp_setroute(), to remove
the unlawful radix_node knowledge.

Apart from the changes to carp(4), netiso, ATM, and strip(4), I
have run the changes on three nodes in my wireless routing testbed,
which involves IPv4 + IPv6 dynamic routing acrobatics, and it's
working beautifully so far.

Revision 1.852 / (download) - annotate - [select for diffs], Wed Jul 18 06:29:26 2007 UTC (7 years, 3 months ago) by he
Branch: MAIN
CVS Tags: nick-csl-alignment-base
Branch point for: nick-csl-alignment
Changes since 1.851: +2 -2 lines
Diff to previous 1.851 (colored)

After the recent mount changes, COMPAT_AOUT_M68K now depends on COMPAT_40.

Revision 1.834.2.5 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:20 2007 UTC (7 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.834.2.4: +2 -3 lines
Diff to previous 1.834.2.4 (colored)

Sync with head.

Revision 1.851 / (download) - annotate - [select for diffs], Sun Jul 15 08:40:22 2007 UTC (7 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.850: +2 -2 lines
Diff to previous 1.850 (colored)

Default MEMORY_DISK_SERVER to 1 instead of using 'undefined' to mean 1.

Revision 1.850 / (download) - annotate - [select for diffs], Sat Jul 14 10:52:14 2007 UTC (7 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.849: +1 -2 lines
Diff to previous 1.849 (colored)

kcont was removed.

Revision 1.834.4.2 / (download) - annotate - [select for diffs], Wed Jul 11 20:04:52 2007 UTC (7 years, 3 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.834.4.1: +42 -6 lines
Diff to previous 1.834.4.1 (colored) next main 1.835 (colored)

Sync with head.

Revision 1.849 / (download) - annotate - [select for diffs], Mon Jul 9 10:05:26 2007 UTC (7 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: mjf-ufs-trans-base
Changes since 1.848: +1 -2 lines
Diff to previous 1.848 (colored)

Remove kcont:

- There are no users in tree.
- Its functionality has largely been replaced by workqueues and generic
  soft interrupts.
- It's not MP friendly.

Revision 1.848 / (download) - annotate - [select for diffs], Fri Jun 29 23:30:26 2007 UTC (7 years, 3 months ago) by rumble
Branch: MAIN
Changes since 1.847: +2 -1 lines
Diff to previous 1.847 (colored)

Add read-only support for SGI's Extent File System.

Reviewed by pooka@.

Revision 1.834.2.4 / (download) - annotate - [select for diffs], Sun Jun 17 21:30:46 2007 UTC (7 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.834.2.3: +2 -1 lines
Diff to previous 1.834.2.3 (colored)

- Increase the number of thread priorities from 128 to 256. How the space
  is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
  is provided, with hooks for fast-path MD code that can run the interrupt
  threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
  locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.

Revision 1.834.2.3 / (download) - annotate - [select for diffs], Sat Jun 9 23:57:48 2007 UTC (7 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.834.2.2: +3 -2 lines
Diff to previous 1.834.2.2 (colored)

Sync with head.

Revision 1.834.2.2 / (download) - annotate - [select for diffs], Fri Jun 8 14:17:12 2007 UTC (7 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.834.2.1: +32 -3 lines
Diff to previous 1.834.2.1 (colored)

Sync with head.

Revision 1.847 / (download) - annotate - [select for diffs], Tue May 29 21:32:29 2007 UTC (7 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.846: +3 -2 lines
Diff to previous 1.846 (colored)

Add a sockaddr_storage member to "struct ifreq" maintaining backwards
compatibility with the older ioctls. This avoids stack smashing and
abuse of "struct sockaddr" when ioctls placed "struct sockaddr_foo's" that
were longer than "struct sockaddr".
XXX: Some of the emulations might be broken; I tried to add code for
them but I did not test them.

Revision 1.846 / (download) - annotate - [select for diffs], Thu May 24 21:30:41 2007 UTC (7 years, 5 months ago) by mjacob
Branch: MAIN
Changes since 1.845: +6 -3 lines
Diff to previous 1.845 (colored)

Major update to isp(4) driver to bring it in line with external sources.

The major changes are:

 + 4Gb (24XX) card support
 + Rewritten fabric and loop evaluation code
 + New f/w sets

The 4Gb changes required major rototilling, which caused a rewrite of
fabric and loop eval code. The latter can now be set up to tune for
dynamic device arrival/departure if the framework is set up for it,
or to be firm about waiting for devices.

Testing has been principally on amd64, i386 and sparc64 and seems to
not have broken things for me.

Revision 1.831.6.1 / (download) - annotate - [select for diffs], Tue May 22 14:57:31 2007 UTC (7 years, 5 months ago) by itohy
Branch: itohy-usb1
Changes since 1.831: +7 -5 lines
Diff to previous 1.831 (colored) next main 1.832 (colored)

Overhaul of USB stack, mostly DMA related

This applies to NetBSD 4.99.13 (March 1, 2007)

usbdi(9) interface is based on FreeBSD version, excluding
 - removal of portability code

Patch most NetBSD changes, excluding
 - DMA memory "reserve", since we don't need contiguous buffers any longer
 - volatiles in DMA structure, since it should not be needed
   with proper bus_dmamap_sync(9)s

DMA/non-DMA memory management overhaul
 - Move all DMA related code to usb_mem.[ch]
   (add usb_alloc_buffer_dma(), usb_free_buffer_dma(), etc.).
   XXX Should usb_mem.[ch] be renamed as usb_mem_dma.[ch] ?
 - Add corresponding non-DMA code to usb_mem_nodma.[ch] .
   Currently just use malloc(9).
 - Above files are conditionally used by config framework (added
   attributes to conf/files and dev/usb/files.usb).
 - Add diagnostic panics when resource allocation is requested
   on interrupt context.
 - Change memory allocations (that require context) from NOWAIT to WAITOK.

Allocate DMA/non-DMA buffer per host interface, not globally.
 advantage:	Buffers can be freed on detaching host interface.
		Activity of a host interface does not affect others.
 disadvantages:	It possibly consumes more memory.

API changes
 - usbd_alloc_xfer() is changed:
    old: usbd_xfer_handle usbd_alloc_xfer(usbd_device_handle dev);
    new: usbd_xfer_handle usbd_alloc_xfer(usbd_device_handle dev,
		usbd_pipe_handle pipe);
 - pipe argument of usbd_setup_*xfer() are now unused
   XXX the pipe argument should be removed?
 - add mapping APIs
 - async request will be processed as a task (kernel thread context),
   and delayed to some extent
 - usbdivar.h: struct usbd_xfer: renamed a member "allocbuf" to "hcbuffer"
   (mapped/allocated/refered buffer for HCI driver)
 - usb_port.h: change usb_proc_ptr from  struct ptoc *  to struct lwp *
 - usb_port.h: add usb_sigproc_ptr for psignal(9) (struct proc *)
 - usb.h: add UE_MAXPKTSZ(ep) and UE_MAXPKTSZ_MASK macros for USB 2.0

changes to USB device drivers
 - atu, aue, axe, cdce, cue, kue, rum, udav, upl, ural, url,
   uaudio, ubt, ucom, ugen, uhidev, uirda, ulpt, umidi, urio,
   uscanner, ustir, utoppy:
    * catch up API change of usbd_alloc_xfer()
 - umass, usscanner:
    * catch up API change of usbd_alloc_xfer()
    * eliminate memory copy for large transfer

ohci
 - free resources on detach
 - add lots of bus_dmamap_sync() operations
 - simplify the code of loading std chain
 - rewrite code of looking up TD/ITD from DMA addr by using allocation chunk
 - add workaround for CMD Tech 670 and 673 chipsets
 - make sure resources are not allocated in interrupt context
 - add support for mapping buffer and mbuf

slhci
 - allocate xfer and slhci_xfer at once, and simplify relevant code
 - add slhci_detach()
 - remove second arg of slhci_attach() since it is the same as the first arg.
 - add support for "mapping" (no, it doesn't map since it doesn't do DMA)
   buffer and mbuf
 - add pcmcia frontend
 - NOT TESTED, missing hardware

ehci
 - add lots of bus_dmamap_sync() operations, possibly too many
 - make sure resources are not allocated in interrupt context
 - add support for mapping buffer and mbuf
 - done only simple test

uhci
 - add lots of bus_dmamap_sync() operations, possibly too many
 - make sure resources are not allocated in interrupt context
 - add support for mapping buffer and mbuf

To do
 - review, test, debug
 - rewrite network drivers to utilize usbd_map_buffer_mbuf()
 - rewrite uaudio(4) to eliminate memcpy
 - "pipe" argument of usbd_setup_*xfer() should eventually be removed

Revision 1.845 / (download) - annotate - [select for diffs], Thu May 17 14:51:37 2007 UTC (7 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.844: +6 -1 lines
Diff to previous 1.844 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.831.2.8 / (download) - annotate - [select for diffs], Thu May 17 13:41:22 2007 UTC (7 years, 5 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.831.2.7: +15 -2 lines
Diff to previous 1.831.2.7 (colored) to branchpoint 1.831 (colored) next main 1.832 (colored)

sync with head.

Revision 1.819.2.4 / (download) - annotate - [select for diffs], Sun May 13 10:28:08 2007 UTC (7 years, 5 months ago) by jdc
Branch: netbsd-4
Branch point for: wrstuden-fixsa
Changes since 1.819.2.3: +4 -1 lines
Diff to previous 1.819.2.3 (colored) to branchpoint 1.819 (colored)

Pull up revision 1.842 (requested by manu in ticket #635).

Add the TFTPROOT kernel option for TFTP'ing root RAMdisk at root mount time.
This allows working around situations where a kernel with embedded RAMdisk
cannot be booted by the bootloader because the RAMdisk is too big.

Revision 1.819.2.3 / (download) - annotate - [select for diffs], Sun May 13 06:52:52 2007 UTC (7 years, 5 months ago) by pavel
Branch: netbsd-4
Changes since 1.819.2.2: +5 -0 lines
Diff to previous 1.819.2.2 (colored) to branchpoint 1.819 (colored)

Pull up patch (requested by xtraeme in ticket #633):
	sys/arch/amd64/conf/GENERIC:			patch
	sys/arch/i386/conf/ALL:				patch
	sys/arch/i386/conf/GENERIC:			patch
	sys/conf/files:					patch
	sys/dev/acpi/files.acpi:			patch
	sys/dev/acpi/ug_acpi.c:				patch
	sys/dev/ic/ug.c:				patch
	sys/dev/ic/ugreg.h:				patch
	sys/dev/ic/ugvar.h:				patch
	sys/dev/isa/files.isa:				patch
	sys/dev/isa/ug_isa.c:				patch
	share/man/man4/ug.4:				patch
	doc/CHANGES:					patch
	sys/dev/isa/ug.c:				delete
	sys/dev/isa/ugvar.h:				delete

Add an acpi attachement for the ug hardware monitor driver.

Revision 1.844 / (download) - annotate - [select for diffs], Sat May 12 11:04:58 2007 UTC (7 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.843: +6 -1 lines
Diff to previous 1.843 (colored)

Split the ahcisata driver in pci front-end and bus-independant back-end.

Revision 1.843 / (download) - annotate - [select for diffs], Tue May 8 16:48:37 2007 UTC (7 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.842: +6 -1 lines
Diff to previous 1.842 (colored)

Split the ug(4) driver in three components:

	* dev/ic/ug.c (main code shared by the attachments)
	* dev/isa/ug_isa.c (isa attachment)
	* dev/acpi/ug_acpi.c (acpi attachment)

That means that ug(4) can now be attached via ACPI.

Thanks to Mihai Chelaru for the good work.

Revision 1.819.2.2 / (download) - annotate - [select for diffs], Tue May 8 10:45:11 2007 UTC (7 years, 5 months ago) by pavel
Branch: netbsd-4
Changes since 1.819.2.1: +2 -0 lines
Diff to previous 1.819.2.1 (colored) to branchpoint 1.819 (colored)

Pull up following revision(s) (requested by bouyer in ticket #603):
	distrib/sets/lists/base/mi: revision 1.704
	distrib/sets/lists/comp/mi: revision 1.1022
	distrib/sets/lists/man/mi: revision 1.997
	doc/CHANGES: revision 1.839
	sbin/Makefile: patch
	sbin/bioctl/Makefile: revision 1.1
	sbin/bioctl/bioctl.8: revision 1.1
	sbin/bioctl/bioctl.c: revision 1.1
	sbin/bioctl/strtonum.c: revision 1.1
	sbin/bioctl/strtonum.h: revision 1.1
	share/man/man4/Makefile: revision 1.426
	share/man/man4/bio.4: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.139
	sys/arch/i386/conf/GENERIC: revision 1.825
	sys/arch/i386/conf/XEN2_DOM0: revision 1.25
	sys/conf/files: revision 1.839
	sys/conf/majors: patch
	sys/dev/Makefile: revision 1.25
	sys/dev/bio.c: patch
	sys/dev/biovar.h: patch
	sys/dev/ic/mfi.c: revision 1.4-1.5
	sys/dev/ic/mfivar.h: revision 1.4
	sys/sys/envsys.h: revision 1.11
	usr.sbin/envstat/envstat.c: revision 1.24
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.

note bio(4), envsys(4) DRIVE, and mfi(4) support for both.

tred->sensor is a u_int.

Revision 1.842 / (download) - annotate - [select for diffs], Tue May 8 06:10:27 2007 UTC (7 years, 5 months ago) by manu
Branch: MAIN
Changes since 1.841: +4 -1 lines
Diff to previous 1.841 (colored)

Add the TFTPROOT kernel option for TFTP'ing root RAMdisk at root mount time.
This allows working around situations where a kernel with embedded RAMdisk
cannot be booted by the bootloader because the RAMdisk is too big.

Revision 1.841 / (download) - annotate - [select for diffs], Mon May 7 22:22:20 2007 UTC (7 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.840: +2 -2 lines
Diff to previous 1.840 (colored)

Rename vfs_aio.c to sys_aio.c as decided in <tech-kern>.

Please note, that <tech-kern> people should note about
file names before commit. Otherwise, function may fail
with errno set to EDIRTY, and return -1. ;)

Revision 1.831.2.7 / (download) - annotate - [select for diffs], Mon May 7 10:55:21 2007 UTC (7 years, 5 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.831.2.6: +5 -1 lines
Diff to previous 1.831.2.6 (colored) to branchpoint 1.831 (colored)

sync with head.

Revision 1.840 / (download) - annotate - [select for diffs], Wed May 2 20:40:22 2007 UTC (7 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.839: +2 -1 lines
Diff to previous 1.839 (colored)

Eliminate address family-specific route caches (struct route, struct
route_in6, struct route_iso), replacing all caches with a struct
route.

The principle benefit of this change is that all of the protocol
families can benefit from route cache-invalidation, which is
necessary for correct routing.  Route-cache invalidation fixes an
ancient PR, kern/3508, at long last; it fixes various other PRs,
also.

Discussions with and ideas from Joerg Sonnenberger influenced this
work tremendously.  Of course, all design oversights and bugs are
mine.

DETAILS

1 I added to each address family a pool of sockaddrs.  I have
  introduced routines for allocating, copying, and duplicating,
  and freeing sockaddrs:

        struct sockaddr *sockaddr_alloc(sa_family_t af, int flags);
        struct sockaddr *sockaddr_copy(struct sockaddr *dst,
                                       const struct sockaddr *src);
        struct sockaddr *sockaddr_dup(const struct sockaddr *src, int flags);
        void sockaddr_free(struct sockaddr *sa);

  sockaddr_alloc() returns either a sockaddr from the pool belonging
  to the specified family, or NULL if the pool is exhausted.  The
  returned sockaddr has the right size for that family; sa_family
  and sa_len fields are initialized to the family and sockaddr
  length---e.g., sa_family = AF_INET and sa_len = sizeof(struct
  sockaddr_in).  sockaddr_free() puts the given sockaddr back into
  its family's pool.

  sockaddr_dup() and sockaddr_copy() work analogously to strdup()
  and strcpy(), respectively.  sockaddr_copy() KASSERTs that the
  family of the destination and source sockaddrs are alike.

  The 'flags' argumet for sockaddr_alloc() and sockaddr_dup() is
  passed directly to pool_get(9).

2 I added routines for initializing sockaddrs in each address
  family, sockaddr_in_init(), sockaddr_in6_init(), sockaddr_iso_init(),
  etc.  They are fairly self-explanatory.

3 structs route_in6 and route_iso are no more.  All protocol families
  use struct route.  I have changed the route cache, 'struct route',
  so that it does not contain storage space for a sockaddr.  Instead,
  struct route points to a sockaddr coming from the pool the sockaddr
  belongs to.  I added a new method to struct route, rtcache_setdst(),
  for setting the cache destination:

        int rtcache_setdst(struct route *, const struct sockaddr *);

  rtcache_setdst() returns 0 on success, or ENOMEM if no memory is
  available to create the sockaddr storage.

  It is now possible for rtcache_getdst() to return NULL if, say,
  rtcache_setdst() failed.  I check the return value for NULL
  everywhere in the kernel.

4 Each routing domain (struct domain) has a list of live route
  caches, dom_rtcache.  rtflushall(sa_family_t af) looks up the
  domain indicated by 'af', walks the domain's list of route caches
  and invalidates each one.

Revision 1.839 / (download) - annotate - [select for diffs], Tue May 1 17:18:55 2007 UTC (7 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.838: +3 -1 lines
Diff to previous 1.838 (colored)

Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.

Revision 1.838 / (download) - annotate - [select for diffs], Mon Apr 30 14:44:29 2007 UTC (7 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.837: +2 -1 lines
Diff to previous 1.837 (colored)

Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>

Revision 1.831.2.6 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:17 2007 UTC (7 years, 6 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.831.2.5: +5 -1 lines
Diff to previous 1.831.2.5 (colored) to branchpoint 1.831 (colored)

sync with head.

Revision 1.837 / (download) - annotate - [select for diffs], Sat Apr 14 19:33:29 2007 UTC (7 years, 6 months ago) by tnn
Branch: MAIN
Changes since 1.836: +5 -1 lines
Diff to previous 1.836 (colored)

Add envctrl(4): Sun Ultra Enterprise 450 environmental monitoring driver.
Also add accompanying i2c controller driver, pcf8584.
Both written by me. Some cosmetic improvements from Iain Hibbert.
ok <martin>

Revision 1.834.2.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:33 2007 UTC (7 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.834: +8 -2 lines
Diff to previous 1.834 (colored)

Sync with head.

Revision 1.834.4.1 / (download) - annotate - [select for diffs], Fri Mar 30 00:16:27 2007 UTC (7 years, 6 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.834: +2 -1 lines
Diff to previous 1.834 (colored)

Provide a test journal. It's just a wrapper to bwrite and doesn't
actually do any journaling, but we need something to give the
transactions to.

Revision 1.834.6.2 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:43 2007 UTC (7 years, 6 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.834.6.1: +6 -2 lines
Diff to previous 1.834.6.1 (colored) next main 1.835 (colored)

Pullup to -current

Revision 1.831.2.5 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:18 2007 UTC (7 years, 7 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.831.2.4: +8 -2 lines
Diff to previous 1.831.2.4 (colored) to branchpoint 1.831 (colored)

sync with head.

Revision 1.831.2.4 / (download) - annotate - [select for diffs], Sat Mar 24 11:36:01 2007 UTC (7 years, 7 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.831.2.3: +2 -1 lines
Diff to previous 1.831.2.3 (colored) to branchpoint 1.831 (colored)

initialize ci->ci_schedstate.spc_mutex of APs.
(sched_rqinit is called before APs are attached.)

Revision 1.836 / (download) - annotate - [select for diffs], Tue Mar 20 18:05:25 2007 UTC (7 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic
Changes since 1.835: +6 -2 lines
Diff to previous 1.835 (colored)

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
 the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
 BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test

Revision 1.834.6.1 / (download) - annotate - [select for diffs], Sun Mar 18 00:06:41 2007 UTC (7 years, 7 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.834: +3 -1 lines
Diff to previous 1.834 (colored)

First attempt to bring branch in sync with HEAD

Revision 1.835 / (download) - annotate - [select for diffs], Sat Mar 17 06:41:36 2007 UTC (7 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.834: +3 -1 lines
Diff to previous 1.834 (colored)

Let config(1) know that #define ATADEBUG goes in opt_ata.h.  In
dev/ic/wdc.c and in dev/ata/ata.c, #include "opt_ata.h", and make
both the files compile with or *without* ATADEBUG.  Do not compile
with ATADEBUG by default.

Revision 1.831.2.3 / (download) - annotate - [select for diffs], Mon Mar 12 05:53:01 2007 UTC (7 years, 7 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.831.2.2: +5 -1 lines
Diff to previous 1.831.2.2 (colored) to branchpoint 1.831 (colored)

Sync with HEAD.

Revision 1.834 / (download) - annotate - [select for diffs], Thu Mar 8 14:26:27 2007 UTC (7 years, 7 months ago) by njoly
Branch: MAIN
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.833: +4 -1 lines
Diff to previous 1.833 (colored)

High Precision Event Timer driver, following Intel specifications.

Allow attachement at both ACPI (hpet@acpi) and AMD8111 LPC Controller
(hpet@amdpcib).

Requested by xtraeme, and tested by a few users.

Revision 1.833 / (download) - annotate - [select for diffs], Tue Mar 6 11:28:45 2007 UTC (7 years, 7 months ago) by dillo
Branch: MAIN
Changes since 1.832: +2 -2 lines
Diff to previous 1.832 (colored)

Complete rename of hfsp to hfs, requested by thorpej.

Revision 1.832 / (download) - annotate - [select for diffs], Mon Mar 5 23:18:05 2007 UTC (7 years, 7 months ago) by dillo
Branch: MAIN
Changes since 1.831: +2 -1 lines
Diff to previous 1.831 (colored)

Integrate apmlabel and HFS+ file system.

Revision 1.722.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:46 2007 UTC (7 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.722.2.2: +22 -12 lines
Diff to previous 1.722.2.2 (colored)

sync with head.

Revision 1.831.2.2 / (download) - annotate - [select for diffs], Tue Feb 20 21:48:44 2007 UTC (7 years, 8 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.831.2.1: +4 -1 lines
Diff to previous 1.831.2.1 (colored) to branchpoint 1.831 (colored)

General Common Scheduler Framework (CSF) patch import. Huge thanks for
Daniel Sieger <dsieger at TechFak.Uni-Bielefeld de> for this work.

Short abstract: Split the dispatcher from the scheduler in order to
make the scheduler more modular. Introduce initial API for other
schedulers' implementations.

Discussed in tech-kern@
OK: yamt@, ad@

Note: further work will go soon.

Revision 1.831.2.1 / (download) - annotate - [select for diffs], Sat Feb 17 10:30:49 2007 UTC (7 years, 8 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.831: +2 -1 lines
Diff to previous 1.831 (colored)

- separate context switching and thread scheduling.
- introduce idle lwp.
- change some related MD/MI interfaces and implement i386 version.

Revision 1.831 / (download) - annotate - [select for diffs], Sat Feb 10 11:55:23 2007 UTC (7 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: itohy-usb1-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, itohy-usb1
Changes since 1.830: +2 -1 lines
Diff to previous 1.830 (colored)

A quick hack to get things building again: put back the SA system calls
with no arguments, and alias them to sys_nosys. To be revisited.

Revision 1.830 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:26 2007 UTC (7 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.829: +12 -3 lines
Diff to previous 1.829 (colored)

Merge newlock2 to head.

Revision 1.810.2.8 / (download) - annotate - [select for diffs], Fri Feb 9 21:03:50 2007 UTC (7 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.810.2.7: +2 -1 lines
Diff to previous 1.810.2.7 (colored) to branchpoint 1.810 (colored) next main 1.811 (colored)

Sync with HEAD.

Revision 1.829 / (download) - annotate - [select for diffs], Fri Feb 2 02:10:24 2007 UTC (7 years, 8 months ago) by ober
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.828: +2 -1 lines
Diff to previous 1.828 (colored)

Updates to allow Zaurus screen to rotate 90 degrees to a usable state with the keyboard. Patch from peter@ copied from OpenBSD. Feedback and OK from matt@

Revision 1.810.2.7 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:15 2007 UTC (7 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.810.2.6: +3 -1 lines
Diff to previous 1.810.2.6 (colored) to branchpoint 1.810 (colored)

Sync with head.

Revision 1.810.2.6 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:39 2007 UTC (7 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.810.2.5: +0 -1 lines
Diff to previous 1.810.2.5 (colored) to branchpoint 1.810 (colored)

Remove support for SA. Ok core@.

Revision 1.810.2.5 / (download) - annotate - [select for diffs], Fri Jan 19 20:49:54 2007 UTC (7 years, 9 months ago) by ad
Branch: newlock2
Changes since 1.810.2.4: +2 -1 lines
Diff to previous 1.810.2.4 (colored) to branchpoint 1.810 (colored)

Add some DEBUG code to check that items being freed were previously
allocated from the same source. Needs to be enabled via DDB.

Revision 1.828 / (download) - annotate - [select for diffs], Fri Jan 19 14:49:08 2007 UTC (7 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.827: +2 -1 lines
Diff to previous 1.827 (colored)

New file system suspension API to replace vn_start_write and vn_finished_write.
The suspension helpers are now put into file system specific operations.
This means every file system not supporting these helpers cannot be suspended
and therefore snapshots are no longer possible.

Implemented for file systems of type ffs.

The new API is enabled on a kernel option NEWVNGATE.  This option is
not enabled by default in any kernel config.

Presented and discussed on tech-kern with much input from
Bill Studenmund <wrstuden@netbsd.org> and YAMAMOTO Takashi <yamt@netbsd.org>.

Welcome to 4.99.9 (new vfs op vfs_suspendctl).

Revision 1.827 / (download) - annotate - [select for diffs], Tue Jan 16 05:28:45 2007 UTC (7 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.826: +2 -1 lines
Diff to previous 1.826 (colored)

Add sched_yield().

Revision 1.810.2.4 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:03 2007 UTC (7 years, 9 months ago) by ad
Branch: newlock2
Changes since 1.810.2.3: +19 -13 lines
Diff to previous 1.810.2.3 (colored) to branchpoint 1.810 (colored)

Sync with head.

Revision 1.826 / (download) - annotate - [select for diffs], Thu Jan 11 05:36:29 2007 UTC (7 years, 9 months ago) by mouse
Branch: MAIN
Changes since 1.825: +3 -1 lines
Diff to previous 1.825 (colored)

Hook srt into the rest of the kernel build machinery, so it works to
just uncomment the pseudo-device line (which arguably should go into
other ports' GENERICs too, and at some point may).

OKed by perry.

Revision 1.825 / (download) - annotate - [select for diffs], Thu Jan 11 00:00:41 2007 UTC (7 years, 9 months ago) by cube
Branch: MAIN
Changes since 1.824: +2 -1 lines
Diff to previous 1.824 (colored)

Remove netiso/if_cons.c.  It depends on x25 stuff that was removed a while
ago.

Obsolete option "TPCONS".

Revision 1.824 / (download) - annotate - [select for diffs], Tue Jan 9 19:19:09 2007 UTC (7 years, 9 months ago) by cube
Branch: MAIN
Changes since 1.823: +1 -7 lines
Diff to previous 1.823 (colored)

Remove stale config(5) entries for unexistent wl(4).

Ok'd by matt@.

Revision 1.823 / (download) - annotate - [select for diffs], Tue Jan 9 15:34:59 2007 UTC (7 years, 9 months ago) by cube
Branch: MAIN
Changes since 1.822: +3 -3 lines
Diff to previous 1.822 (colored)

Disable daic(4).  The driver is not finished.
Ok'd by martin@.

Revision 1.822 / (download) - annotate - [select for diffs], Tue Jan 9 13:41:30 2007 UTC (7 years, 9 months ago) by cube
Branch: MAIN
Changes since 1.821: +2 -2 lines
Diff to previous 1.821 (colored)

Add a lint-only value of "/dev/null" for ACPI_DSDT_FILE.

Bump required config(1) version.  Yes, it implies everybody will have to
rebuild config(1).  I can live with people hating me.

Revision 1.722.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:49 2006 UTC (7 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.722.2.1: +100 -34 lines
Diff to previous 1.722.2.1 (colored)

sync with head.

Revision 1.712.2.10 / (download) - annotate - [select for diffs], Sat Dec 23 16:43:19 2006 UTC (7 years, 10 months ago) by ghen
Branch: netbsd-3
Changes since 1.712.2.9: +5 -0 lines
Diff to previous 1.712.2.9 (colored) to branchpoint 1.712 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1609):
	sys/arch/i386/conf/INSTALL: revision 1.298
	sys/arch/i386/conf/GENERIC: revision 1.802
	sys/dev/pci/files.pci: revision 1.274
	sys/arch/amd64/conf/GENERIC: revision 1.122
	sys/dev/pci/mfi_pci.c: revision 1.1 via patch
	distrib/sets/lists/man/mi: revision 1.958
	sys/arch/amd64/conf/INSTALL: revision 1.61
	sys/dev/ic/mfireg.h: revision 1.1
	share/man/man4/Makefile: revision 1.416 via patch
	sys/dev/ic/mfi.c: revision 1.1
	sys/arch/i386/conf/XEN2_DOM0: revision 1.19
	sys/dev/ic/mfivar.h: revision 1.1
	sys/conf/files: revision 1.821
	share/man/man4/mfi.4: revision 1.1
	share/man/man4/mfi.4: revision 1.2
	sys/dev/pci/pcidevs via patch
Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.
Punctuation issues.

Revision 1.819.2.1 / (download) - annotate - [select for diffs], Thu Dec 21 12:46:22 2006 UTC (7 years, 10 months ago) by tron
Branch: netbsd-4
Changes since 1.819: +6 -1 lines
Diff to previous 1.819 (colored)

Pull up following revision(s) (requested by bouyer in ticket #286):
	sys/arch/i386/conf/INSTALL: revision 1.298
	sys/arch/i386/conf/GENERIC: revision 1.802
	sys/dev/pci/files.pci: revision 1.274
	sys/arch/amd64/conf/GENERIC: revision 1.122
	sys/dev/pci/mfi_pci.c: revision 1.1
	distrib/sets/lists/man/mi: revision 1.958
	sys/arch/amd64/conf/INSTALL: revision 1.61
	sys/arch/i386/conf/ALL: revision 1.75
	sys/dev/ic/mfireg.h: revision 1.1
	share/man/man4/Makefile: revision 1.416
	sys/dev/ic/mfi.c: revision 1.1
	sys/arch/i386/conf/XEN2_DOM0: revision 1.19
	sys/dev/ic/mfivar.h: revision 1.1
	sys/conf/files: revision 1.821
	share/man/man4/mfi.4: revision 1.1
Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.

Revision 1.811.2.3 / (download) - annotate - [select for diffs], Mon Dec 18 11:42:13 2006 UTC (7 years, 10 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.811.2.2: +6 -2 lines
Diff to previous 1.811.2.2 (colored) to branchpoint 1.811 (colored) next main 1.812 (colored)

sync with head.

Revision 1.821 / (download) - annotate - [select for diffs], Sun Dec 17 22:57:15 2006 UTC (7 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4
Changes since 1.820: +6 -1 lines
Diff to previous 1.820 (colored)

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.

Revision 1.820 / (download) - annotate - [select for diffs], Mon Dec 11 15:24:28 2006 UTC (7 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.819: +1 -2 lines
Diff to previous 1.819 (colored)

- remove a static configuration, FILEASSOC_NHOOKS.  do it dynamically instead.
- make fileassoc_t a pointer and remove FILEASSOC_INVAL.
- clean up kern_fileassoc.c.  unify duplicated code.
- unexport fileassoc_init using RUN_ONCE(9).
- plug memory leaks in fileassoc_file_delete and fileassoc_table_delete.
- always call callbacks, regardless of the value of the associated data.

ok'ed by elad.

Revision 1.811.2.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:52 2006 UTC (7 years, 10 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.811.2.1: +9 -5 lines
Diff to previous 1.811.2.1 (colored) to branchpoint 1.811 (colored)

sync with head.

Revision 1.819 / (download) - annotate - [select for diffs], Fri Nov 24 22:04:25 2006 UTC (7 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-splraiseipl-base3, netbsd-4-base
Branch point for: netbsd-4
Changes since 1.818: +2 -2 lines
Diff to previous 1.818 (colored)

s/independant/independent/, from Zafer.

Revision 1.818 / (download) - annotate - [select for diffs], Thu Nov 23 04:07:07 2006 UTC (7 years, 11 months ago) by rpaulo
Branch: MAIN
Changes since 1.817: +5 -1 lines
Diff to previous 1.817 (colored)

New EtherIP driver based on tap(4) and gif(4) by Hans Rosenfeld.
Notable changes:
	* Fixes PR 34268.
	* Separates the code from gif(4) (which is more cleaner).
	* Allows the usage of STP (Spanning Tree Protocol).
	* Removed EtherIP implementation from gif(4)/tap(4).

Some input from Christos.

Revision 1.817 / (download) - annotate - [select for diffs], Wed Nov 22 02:02:51 2006 UTC (7 years, 11 months ago) by elad
Branch: MAIN
Changes since 1.816: +3 -2 lines
Diff to previous 1.816 (colored)

Initial implementation of PaX Segvguard (this is still work-in-progress,
it's just to get it out of my local tree).

Revision 1.810.2.3 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:15 2006 UTC (7 years, 11 months ago) by ad
Branch: newlock2
Changes since 1.810.2.2: +12 -4 lines
Diff to previous 1.810.2.2 (colored) to branchpoint 1.810 (colored)

Sync with head.

Revision 1.816 / (download) - annotate - [select for diffs], Fri Oct 27 21:20:48 2006 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.815: +1 -3 lines
Diff to previous 1.815 (colored)

Merge kernel and userland rmd160 and sha2 implementation.
XXX: We still install rmd160.h and sha2.h in /usr/include/crypto, unlike
the other hash functions which get installed in /usr/include for compatibility.

Revision 1.815 / (download) - annotate - [select for diffs], Sun Oct 22 22:44:44 2006 UTC (8 years ago) by pooka
Branch: MAIN
Changes since 1.814: +2 -1 lines
Diff to previous 1.814 (colored)

add fs/puffs

Revision 1.811.2.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:27 2006 UTC (8 years ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.811: +6 -1 lines
Diff to previous 1.811 (colored)

sync with head

Revision 1.810.2.2 / (download) - annotate - [select for diffs], Sat Oct 21 14:27:00 2006 UTC (8 years ago) by ad
Branch: newlock2
Changes since 1.810.2.1: +8 -2 lines
Diff to previous 1.810.2.1 (colored) to branchpoint 1.810 (colored)

Add new files.

Revision 1.814 / (download) - annotate - [select for diffs], Sun Oct 8 04:21:53 2006 UTC (8 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.813: +2 -1 lines
Diff to previous 1.813 (colored)

Add subroutines for maintaining object-specific data for arbitrary
subsystems, based on work by YAMAMOTO Takashi.  This is intended to
be used by other subsystems (such as the proc_*() or lwp_*() routines)
rather than directly by consumers.

Revision 1.813 / (download) - annotate - [select for diffs], Mon Oct 2 07:57:46 2006 UTC (8 years ago) by gdamore
Branch: MAIN
Changes since 1.812: +4 -1 lines
Diff to previous 1.812 (colored)

Go ahead and include files.spi.  It is going to be used by my alchemy
commit and it appears to be harmless to other configs.  This is modeled
much like files.i2c.

Revision 1.812 / (download) - annotate - [select for diffs], Sun Sep 24 03:54:00 2006 UTC (8 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.811: +2 -1 lines
Diff to previous 1.811 (colored)

Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@

Revision 1.763.2.7 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:26 2006 UTC (8 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.763.2.6: +22 -3 lines
Diff to previous 1.763.2.6 (colored) to branchpoint 1.763 (colored) next main 1.764 (colored)

sync with head.

Revision 1.810.2.1 / (download) - annotate - [select for diffs], Mon Sep 11 18:56:28 2006 UTC (8 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.810: +4 -1 lines
Diff to previous 1.810 (colored)

Add kern_mutex.c, kern_rwlock.c, kern_turnstile.c

Revision 1.754.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:46:39 2006 UTC (8 years, 1 month ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.754: +127 -54 lines
Diff to previous 1.754 (colored) next main 1.755 (colored)

sync with head

Revision 1.811 / (download) - annotate - [select for diffs], Fri Sep 8 20:58:57 2006 UTC (8 years, 1 month ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Changes since 1.810: +6 -2 lines
Diff to previous 1.810 (colored)

First take at security model abstraction.

- Add a few scopes to the kernel: system, network, and machdep.

- Add a few more actions/sub-actions (requests), and start using them as
  opposed to the KAUTH_GENERIC_ISSUSER place-holders.

- Introduce a basic set of listeners that implement our "traditional"
  security model, called "bsd44". This is the default (and only) model we
  have at the moment.

- Update all relevant documentation.

- Add some code and docs to help folks who want to actually use this stuff:

  * There's a sample overlay model, sitting on-top of "bsd44", for
    fast experimenting with tweaking just a subset of an existing model.

    This is pretty cool because it's *really* straightforward to do stuff
    you had to use ugly hacks for until now...

  * And of course, documentation describing how to do the above for quick
    reference, including code samples.

All of these changes were tested for regressions using a Python-based
testsuite that will be (I hope) available soon via pkgsrc. Information
about the tests, and how to write new ones, can be found on:

	http://kauth.linbsd.org/kauthwiki

NOTE FOR DEVELOPERS: *PLEASE* don't add any code that does any of the
following:

  - Uses a KAUTH_GENERIC_ISSUSER kauth(9) request,
  - Checks 'securelevel' directly,
  - Checks a uid/gid directly.

(or if you feel you have to, contact me first)

This is still work in progress; It's far from being done, but now it'll
be a lot easier.

Relevant mailing list threads:

http://mail-index.netbsd.org/tech-security/2006/01/25/0011.html
http://mail-index.netbsd.org/tech-security/2006/03/24/0001.html
http://mail-index.netbsd.org/tech-security/2006/04/18/0000.html
http://mail-index.netbsd.org/tech-security/2006/05/15/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/01/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/25/0000.html

Many thanks to YAMAMOTO Takashi, Matt Thomas, and Christos Zoulas for help
stablizing kauth(9).

Full credit for the regression tests, making sure these changes didn't break
anything, goes to Matt Fleming and Jaime Fournier.

Happy birthday Randi! :)

Revision 1.810 / (download) - annotate - [select for diffs], Thu Sep 7 14:22:07 2006 UTC (8 years, 1 month ago) by itohy
Branch: MAIN
CVS Tags: rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Changes since 1.809: +5 -1 lines
Diff to previous 1.809 (colored)

Workbit NinjaATA-32 busmastering PIO IDE controller driver (njata)

This driver supports NinjaATA-32Bi and NPATA-32 chips,
which are used for CardBus ATA interface cards and
CardBus CompactFlash adapters.

Revision 1.500.2.5 / (download) - annotate - [select for diffs], Thu Sep 7 12:38:03 2006 UTC (8 years, 1 month ago) by ad
Branch: newlock
Changes since 1.500.2.4: +593 -639 lines
Diff to previous 1.500.2.4 (colored) to branchpoint 1.500 (colored) next main 1.501 (colored)

Sync with head.

Revision 1.809 / (download) - annotate - [select for diffs], Thu Sep 7 12:34:41 2006 UTC (8 years, 1 month ago) by itohy
Branch: MAIN
Changes since 1.808: +6 -2 lines
Diff to previous 1.808 (colored)

Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.

Revision 1.808 / (download) - annotate - [select for diffs], Thu Sep 7 01:12:00 2006 UTC (8 years, 1 month ago) by uwe
Branch: MAIN
Changes since 1.807: +6 -1 lines
Diff to previous 1.807 (colored)

MI part of the Ricoh RS5C313 real time clock todr(9) driver.
Based on the code from landisk port.  With help from gdamore@

Revision 1.807 / (download) - annotate - [select for diffs], Thu Sep 7 00:20:28 2006 UTC (8 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.806: +3 -1 lines
Diff to previous 1.806 (colored)

Add the 'lockstat' driver, which collects basic information about lock events.

Revision 1.763.2.6 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:47 2006 UTC (8 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.763.2.5: +31 -10 lines
Diff to previous 1.763.2.5 (colored) to branchpoint 1.763 (colored)

sync with head.

Revision 1.806 / (download) - annotate - [select for diffs], Sat Sep 2 20:18:00 2006 UTC (8 years, 1 month ago) by gdamore
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8
Changes since 1.805: +2 -1 lines
Diff to previous 1.805 (colored)

Add MI implementation of inittodr, todr_attach, and resettodr.

This is triggered upon __HAVE_GENRIC_TODR in machine/types.h.  Conversion of
evbmips port forthcoming.

Revision 1.805 / (download) - annotate - [select for diffs], Fri Sep 1 22:38:27 2006 UTC (8 years, 1 month ago) by cube
Branch: MAIN
Changes since 1.804: +2 -2 lines
Diff to previous 1.804 (colored)

Revert my commit that made SYSTRACE depend on PTRACE, this is no longer
necessary.  Thanks, Matt.

Revision 1.804 / (download) - annotate - [select for diffs], Thu Aug 31 17:49:12 2006 UTC (8 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.803: +1 -2 lines
Diff to previous 1.803 (colored)

Remove an extraneous line that snuck into my previous commit.

Revision 1.803 / (download) - annotate - [select for diffs], Thu Aug 31 17:46:16 2006 UTC (8 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.802: +4 -1 lines
Diff to previous 1.802 (colored)

Add a mode to gre(4) that sends GRE tunnel packets in UDP datagrams.
Fix MOBILE encapsulation.  Add many debugging printfs (mainly
concerning UDP mode).  Clean up the gre(4) code a bit.  Add the
capability to setup UDP tunnels to ifconfig.  Update documentation.

In UDP mode, gre(4) puts a GRE header onto transmitted packets,
and hands them to a UDP socket for transmission.  That is, the
encapsulation looks like this: IP+UDP+GRE+encapsulated packet.

There are two ways to set up a UDP tunnel.  One way is to tell the
source and destination IP+port to gre(4), and let gre(4) create
the socket.  The other way to create a UDP tunnel is for userland
to "delegate" a UDP socket to the kernel.

Revision 1.802 / (download) - annotate - [select for diffs], Wed Aug 30 14:07:09 2006 UTC (8 years, 1 month ago) by cube
Branch: MAIN
Changes since 1.801: +2 -2 lines
Diff to previous 1.801 (colored)

Make SYSTRACE depend on PTRACE because it uses process_domem().

Revision 1.801 / (download) - annotate - [select for diffs], Wed Aug 30 13:49:27 2006 UTC (8 years, 1 month ago) by cube
Branch: MAIN
Changes since 1.800: +2 -2 lines
Diff to previous 1.800 (colored)

Restore dependency on PTRACE for PROCFS.
Bump required config(1) version.

Revision 1.800 / (download) - annotate - [select for diffs], Wed Aug 30 11:08:15 2006 UTC (8 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.799: +2 -2 lines
Diff to previous 1.799 (colored)

sys_process.c is also used by KTRACE.

Revision 1.799 / (download) - annotate - [select for diffs], Tue Aug 29 23:34:48 2006 UTC (8 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.798: +9 -6 lines
Diff to previous 1.798 (colored)

Make PTRACE and COREDUMP optional.  Make the default (status quo) by putting
them in conf/std.

Revision 1.798 / (download) - annotate - [select for diffs], Sun Aug 27 15:44:16 2006 UTC (8 years, 1 month ago) by cube
Branch: MAIN
Changes since 1.797: +3 -1 lines
Diff to previous 1.797 (colored)

Require a config(1) supporting syntax version 20060604 now that we use
the "obsolete" statement.

Revision 1.797 / (download) - annotate - [select for diffs], Sun Aug 27 04:58:06 2006 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.796: +2 -2 lines
Diff to previous 1.796 (colored)

raid and ccd now use dk_lookup.

Revision 1.796 / (download) - annotate - [select for diffs], Sat Aug 26 22:06:37 2006 UTC (8 years, 1 month ago) by bjh21
Branch: MAIN
Changes since 1.795: +5 -1 lines
Diff to previous 1.795 (colored)

Move the sgimips "sbic" driver from arch/sgimips/hpc/sbic.c to
dev/ic/wd33c93.c.  This may not be the best WD33C93 driver we've
got, but it's the most recently worked on and probably the most
portable, so it seems like a good basis for further work (and in
particular an acorn26 driver for the Acorn SCSI card).  There's
no functional change in this commit, and sgimips kernels still
compile.

Revision 1.795 / (download) - annotate - [select for diffs], Fri Aug 25 17:32:27 2006 UTC (8 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.794: +6 -4 lines
Diff to previous 1.794 (colored)

Remove support for netns and netccitt.  For now, don't include files.netns
and files.netccitt.

Revision 1.794 / (download) - annotate - [select for diffs], Thu Aug 24 21:23:40 2006 UTC (8 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.793: +8 -1 lines
Diff to previous 1.793 (colored)

Create a linker map file.
Very useful when trying to find out where recent 'bloat' has come from,
as well as giving exact details of what is actually in the kernel.

Revision 1.763.2.5 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:51 2006 UTC (8 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.763.2.4: +30 -19 lines
Diff to previous 1.763.2.4 (colored) to branchpoint 1.763 (colored)

sync with head

Revision 1.793 / (download) - annotate - [select for diffs], Sat Aug 5 17:20:54 2006 UTC (8 years, 2 months ago) by pavel
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.792: +2 -1 lines
Diff to previous 1.792 (colored)

defflag PPPOE_SERVER and PPPOE_TERM_UNKNOWN_SESSIONS.

Revision 1.792 / (download) - annotate - [select for diffs], Tue Jul 25 18:04:03 2006 UTC (8 years, 2 months ago) by elad
Branch: MAIN
Changes since 1.791: +2 -2 lines
Diff to previous 1.791 (colored)

make veriexec.h be generated again; thanks cube@

Revision 1.791 / (download) - annotate - [select for diffs], Mon Jul 24 16:37:28 2006 UTC (8 years, 3 months ago) by elad
Branch: MAIN
Changes since 1.790: +2 -2 lines
Diff to previous 1.790 (colored)

some fixes:
  - adapt to NVERIEXEC in init_sysctl.c.
  - we now need "veriexec.h" for NVERIEXEC.
  - "opt_verified_exec.h" -> "opt_veriexec.h", and include it only where
    it is needed.

Revision 1.790 / (download) - annotate - [select for diffs], Sat Jul 22 10:34:26 2006 UTC (8 years, 3 months ago) by elad
Branch: MAIN
Changes since 1.789: +6 -7 lines
Diff to previous 1.789 (colored)

deprecate the VERIFIED_EXEC option; now we only need the pseudo-device to
enable it. while here, some config file tweaks.

tons of input from cube@ (thanks!) and okay blymn@.

Revision 1.789 / (download) - annotate - [select for diffs], Fri Jul 14 18:41:40 2006 UTC (8 years, 3 months ago) by elad
Branch: MAIN
Changes since 1.788: +7 -3 lines
Diff to previous 1.788 (colored)

okay, since there was no way to divide this to two commits, here it goes..

introduce fileassoc(9), a kernel interface for associating meta-data with
files using in-kernel memory. this is very similar to what we had in
veriexec till now, only abstracted so it can be used more easily by more
consumers.

this also prompted the redesign of the interface, making it work on vnodes
and mounts and not directly on devices and inodes. internally, we still
use file-id but that's gonna change soon... the interface will remain
consistent.

as a result, veriexec went under some heavy changes to conform to the new
interface. since we no longer use device numbers to identify file-systems,
the veriexec sysctl stuff changed too: kern.veriexec.count.dev_N is now
kern.veriexec.tableN.* where 'N' is NOT the device number but rather a
way to distinguish several mounts.

also worth noting is the plugging of unmount/delete operations
wrt/fileassoc and veriexec.

tons of input from yamt@, wrstuden@, martin@, and christos@.

Revision 1.788 / (download) - annotate - [select for diffs], Thu Jul 13 22:56:02 2006 UTC (8 years, 3 months ago) by gdamore
Branch: MAIN
Changes since 1.787: +3 -2 lines
Diff to previous 1.787 (colored)

Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@.  Fixes PR port-evbmips/32362.

Revision 1.781.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:16 2006 UTC (8 years, 3 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.781: +23 -16 lines
Diff to previous 1.781 (colored) next main 1.782 (colored)

Merge from HEAD.

Revision 1.787 / (download) - annotate - [select for diffs], Thu Jul 13 17:39:47 2006 UTC (8 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.786: +2 -2 lines
Diff to previous 1.786 (colored)

COMPAT_SUNOS* uses COMPAT_30 getfh too

Revision 1.786 / (download) - annotate - [select for diffs], Thu Jul 13 16:28:38 2006 UTC (8 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.785: +12 -12 lines
Diff to previous 1.785 (colored)

Make freebsd_sys_getfh use compat_30_sys_getfh

Revision 1.785 / (download) - annotate - [select for diffs], Fri Jun 30 13:56:25 2006 UTC (8 years, 3 months ago) by chap
Branch: MAIN
Changes since 1.784: +2 -1 lines
Diff to previous 1.784 (colored)

Ankh-Morpork, we have a MIDI driver....

Merge from chap-midi branch, after
~month for review
Comments by thorpej@ drochner@ and Alexandre Ratchov

Incorporated: points by thorpej@ drochner@; preliminary support for
a stats-collecting ioctl suggested by martin@ from comments by A.R.

PR kern/32441 kern/32442 kern/32567 kern/32588 kern/32694 kern/33590
kern/33614 and one instance of kern/32651

ok martin@

Revision 1.784 / (download) - annotate - [select for diffs], Mon Jun 26 16:13:21 2006 UTC (8 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.783: +6 -1 lines
Diff to previous 1.783 (colored)

add some common code to support the ACPI power management timer
independly of ACPI

Revision 1.763.2.4 / (download) - annotate - [select for diffs], Mon Jun 26 12:46:37 2006 UTC (8 years, 3 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.763.2.3: +18 -12 lines
Diff to previous 1.763.2.3 (colored) to branchpoint 1.763 (colored)

sync with head.

Revision 1.783 / (download) - annotate - [select for diffs], Sun Jun 25 08:00:01 2006 UTC (8 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6
Changes since 1.782: +3 -1 lines
Diff to previous 1.782 (colored)

1. implement solaris-like vmem.  (still primitive, though)
2. implement solaris-like kmem_alloc/free api, using #1.
   (note: this implementation is backed by kernel_map, thus can't be
   used from interrupt context.)

Revision 1.775.2.3 / (download) - annotate - [select for diffs], Thu Jun 22 03:39:48 2006 UTC (8 years, 4 months ago) by chap
Branch: chap-midi
Changes since 1.775.2.2: +2 -4 lines
Diff to previous 1.775.2.2 (colored) to branchpoint 1.775 (colored) next main 1.776 (colored)

Complete a sync sys/ with head.

Revision 1.722.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:00:01 2006 UTC (8 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.722: +97 -118 lines
Diff to previous 1.722 (colored)

sync with head.

Revision 1.782 / (download) - annotate - [select for diffs], Mon Jun 19 15:44:44 2006 UTC (8 years, 4 months ago) by gdamore
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base
Changes since 1.781: +2 -4 lines
Diff to previous 1.781 (colored)

Initial import of bluetooth stack on behalf of Iain Hibbert.  (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.

Revision 1.775.2.2 / (download) - annotate - [select for diffs], Mon Jun 19 03:46:56 2006 UTC (8 years, 4 months ago) by chap
Branch: chap-midi
Changes since 1.775.2.1: +15 -9 lines
Diff to previous 1.775.2.1 (colored) to branchpoint 1.775 (colored)

Sync with head.

Revision 1.781 / (download) - annotate - [select for diffs], Wed Jun 7 22:33:34 2006 UTC (8 years, 4 months ago) by kardel
Branch: MAIN
CVS Tags: gdamore-uart-base
Branch point for: gdamore-uart
Changes since 1.780: +6 -5 lines
Diff to previous 1.780 (colored)

merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.757.2.6 / (download) - annotate - [select for diffs], Wed Jun 7 16:05:41 2006 UTC (8 years, 4 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.757.2.5: +2 -2 lines
Diff to previous 1.757.2.5 (colored) next main 1.758 (colored)

Sync with head.

Revision 1.757.2.5 / (download) - annotate - [select for diffs], Wed Jun 7 15:49:38 2006 UTC (8 years, 4 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.757.2.4: +4 -4 lines
Diff to previous 1.757.2.4 (colored)

Sync with head.

Revision 1.780 / (download) - annotate - [select for diffs], Wed Jun 7 15:24:12 2006 UTC (8 years, 4 months ago) by rpaulo
Branch: MAIN
CVS Tags: simonb-timecounters-base
Changes since 1.779: +2 -2 lines
Diff to previous 1.779 (colored)

Fix a comment for ral.

Revision 1.779 / (download) - annotate - [select for diffs], Wed Jun 7 12:51:40 2006 UTC (8 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.778: +2 -2 lines
Diff to previous 1.778 (colored)

Now that rt2661.c uses firmware_*, ral needs attribute firmload.

Revision 1.778 / (download) - annotate - [select for diffs], Wed Jun 7 08:06:56 2006 UTC (8 years, 4 months ago) by dogcow
Branch: MAIN
Changes since 1.777: +3 -3 lines
Diff to previous 1.777 (colored)

add the dev/ic/ files for ral(4).

Revision 1.775.2.1 / (download) - annotate - [select for diffs], Tue Jun 6 21:33:16 2006 UTC (8 years, 4 months ago) by chap
Branch: chap-midi
Changes since 1.775: +2 -1 lines
Diff to previous 1.775 (colored)

Add midictl, a module dedicated to managing a MIDI controller/parameter
space, as a first step to getting the partial and duplicated controller-
handling logic OUT of the md synth chip drivers, and getting as much as
possible of the control effects that are common and well-defined (pitch
bend depth, say) handled centrally by midisyn itself.

Compiles, works in unit testing, added to 'files', but nothing else in
the kernel calls it yet.

Possibly some naming of private symbols to be revisited pending style
question posted on tech-kern.

Revision 1.757.2.4 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:01 2006 UTC (8 years, 4 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.757.2.3: +12 -2 lines
Diff to previous 1.757.2.3 (colored)

Sync with head.

Revision 1.777 / (download) - annotate - [select for diffs], Sun May 28 08:57:53 2006 UTC (8 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.776: +5 -1 lines
Diff to previous 1.776 (colored)

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.

Revision 1.776 / (download) - annotate - [select for diffs], Thu May 25 14:27:28 2006 UTC (8 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.775: +2 -1 lines
Diff to previous 1.775 (colored)

move wait points for kva from upper layers to vm_map.  PR/33185 #1.

XXX there is a concern about interaction with kva fragmentation.
see: http://mail-index.NetBSD.org/tech-kern/2006/05/11/0000.html

Revision 1.763.6.2 / (download) - annotate - [select for diffs], Wed May 24 15:48:29 2006 UTC (8 years, 5 months ago) by tron
Branch: peter-altq
Changes since 1.763.6.1: +19 -6 lines
Diff to previous 1.763.6.1 (colored) to branchpoint 1.763 (colored) next main 1.764 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.763.2.3 / (download) - annotate - [select for diffs], Wed May 24 10:57:35 2006 UTC (8 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.763.2.2: +9 -2 lines
Diff to previous 1.763.2.2 (colored) to branchpoint 1.763 (colored)

sync with head.

Revision 1.775 / (download) - annotate - [select for diffs], Thu May 18 09:05:51 2006 UTC (8 years, 5 months ago) by liamjfoy
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5
Branch point for: chap-midi
Changes since 1.774: +3 -1 lines
Diff to previous 1.774 (colored)

Integrate Common Address Redundancy Procotol (CARP) from OpenBSD

'pseudo-device	carp'

Thanks to: joerg@ christos@ riz@ and others who tested
Ok: core@

Revision 1.774 / (download) - annotate - [select for diffs], Tue May 16 00:08:25 2006 UTC (8 years, 5 months ago) by elad
Branch: MAIN
Changes since 1.773: +4 -1 lines
Diff to previous 1.773 (colored)

Introduce PaX MPROTECT -- mprotect(2) restrictions used to strengthen
W^X mappings.

Disabled by default.

First proposed in:

	http://mail-index.netbsd.org/tech-security/2005/12/18/0000.html

More information in:

	http://pax.grsecurity.net/docs/mprotect.txt

Read relevant parts of options(4) and sysctl(3) before using!

Lots of thanks to the PaX author and Matt Thomas.

Revision 1.773 / (download) - annotate - [select for diffs], Sun May 14 21:25:21 2006 UTC (8 years, 5 months ago) by elad
Branch: MAIN
Changes since 1.772: +2 -1 lines
Diff to previous 1.772 (colored)

integrate kauth.

Revision 1.763.4.3 / (download) - annotate - [select for diffs], Thu May 11 23:28:04 2006 UTC (8 years, 5 months ago) by elad
Branch: elad-kernelauth
Changes since 1.763.4.2: +1 -2 lines
Diff to previous 1.763.4.2 (colored) to branchpoint 1.763 (colored) next main 1.764 (colored)

sync with head

Revision 1.772 / (download) - annotate - [select for diffs], Fri May 5 18:26:19 2006 UTC (8 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.771: +1 -2 lines
Diff to previous 1.771 (colored)

Remove the obsolete (and now unused) propdb API.

Revision 1.757.2.3 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:21 2006 UTC (8 years, 6 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.757.2.2: +26 -13 lines
Diff to previous 1.757.2.2 (colored)

Sync with head.

Revision 1.763.4.2 / (download) - annotate - [select for diffs], Wed Apr 19 04:32:08 2006 UTC (8 years, 6 months ago) by elad
Branch: elad-kernelauth
Changes since 1.763.4.1: +18 -5 lines
Diff to previous 1.763.4.1 (colored) to branchpoint 1.763 (colored)

sync with head.

Revision 1.771 / (download) - annotate - [select for diffs], Mon Apr 17 03:39:39 2006 UTC (8 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.770: +2 -1 lines
Diff to previous 1.770 (colored)

Move securelevel-specific stuff to its own file.

Revision 1.770 / (download) - annotate - [select for diffs], Fri Apr 14 13:09:06 2006 UTC (8 years, 6 months ago) by blymn
Branch: MAIN
Changes since 1.769: +2 -1 lines
Diff to previous 1.769 (colored)

Make i/o statistics collection more generic, include tape drives and
nfs mounts in the set of devices that statistics will be reported on.

Revision 1.763.2.2 / (download) - annotate - [select for diffs], Tue Apr 11 11:53:50 2006 UTC (8 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.763.2.1: +11 -5 lines
Diff to previous 1.763.2.1 (colored) to branchpoint 1.763 (colored)

sync with head

Revision 1.662.2.9.2.2 / (download) - annotate - [select for diffs], Tue Apr 11 02:08:06 2006 UTC (8 years, 6 months ago) by riz
Branch: netbsd-2
Changes since 1.662.2.9.2.1: +6 -1 lines
Diff to previous 1.662.2.9.2.1 (colored) to branchpoint 1.662.2.9 (colored) next main 1.663 (colored)

Pull up following revision(s) (requested by he in ticket #10409):
	sys/conf/files: revision 1.764
Commit forgotten definition of the ciss driver.

Revision 1.712.2.9 / (download) - annotate - [select for diffs], Sat Apr 8 23:32:10 2006 UTC (8 years, 6 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.712.2.8: +5 -0 lines
Diff to previous 1.712.2.8 (colored) to branchpoint 1.712 (colored)

Pull up following revision(s) (requested by he in ticket #1247):
	sys/conf/files: revision 1.764
Commit forgotten definition of the ciss driver.

Revision 1.769 / (download) - annotate - [select for diffs], Fri Apr 7 18:55:22 2006 UTC (8 years, 6 months ago) by riz
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4
Changes since 1.768: +5 -1 lines
Diff to previous 1.768 (colored)

Dallas Semiconductor 1-Wire bus support, from OpenBSD.  Currently includes
gpioow(4), attaching a bit-banging driver via a GPIO pin.  Also,
owtemp(4) which supports some of the 1-Wire temperature sensors, including
the DS18b20 and DS1920 - temperatures are returned via the envsys(4)
framework.

Original drivers by Alexander Yurchenko (grange@openbsd), with envsys(4)
support and a fix to the 1-wire search algorithm (for discovering
devices on the bus) by me.

As discussed on tech-kern earlier this week.

Revision 1.768 / (download) - annotate - [select for diffs], Fri Apr 7 01:39:13 2006 UTC (8 years, 6 months ago) by gdamore
Branch: MAIN
Changes since 1.767: +4 -1 lines
Diff to previous 1.767 (colored)

Add common videomode include.  As requested by macallan@.

Revision 1.767 / (download) - annotate - [select for diffs], Wed Apr 5 06:54:26 2006 UTC (8 years, 6 months ago) by gdamore
Branch: MAIN
Changes since 1.766: +2 -4 lines
Diff to previous 1.766 (colored)

Rename AH_DEBUG, AH_ASSERT, and AH_DEBUG_ALQ to ATH_XXX.
Use the opt_ah.h for the provided HAL to get options like AH_REGOPS_FUNC.
Add AH_REGOPS_FUNC to a few opt_ah.h that don't have it in this version
of the HAL but need it.  (The next version from Sam should have this fixed
in it.  If it doesn't, then we'll have to take care at import time.)

Ultimately, this should make future imports even easier, and individual ports
should not have to worry about whether AH_REGOPS_FUNC is properly defined or
not, since the opt_ah.h will just take care of it automatically.

Ok'd by dyoung@.

Revision 1.766 / (download) - annotate - [select for diffs], Tue Apr 4 03:13:12 2006 UTC (8 years, 6 months ago) by gdamore
Branch: MAIN
Changes since 1.765: +2 -1 lines
Diff to previous 1.765 (colored)

Convert existing ath users to new Makefile, except for amd64, which needs
the rules due to needing to conditionally postprocess the HAL object file.

Macppc needs a a non-ELF HAL (EABI) object, so take care of that by default
in the atheros include file.

Revision 1.765 / (download) - annotate - [select for diffs], Sun Apr 2 05:52:14 2006 UTC (8 years, 6 months ago) by gdamore
Branch: MAIN
Changes since 1.764: +2 -2 lines
Diff to previous 1.764 (colored)

Reorganize ath layout as requested by sam@ and suggested by dyoung@ in
http://mail-index.netbsd.org/tech-net/2006/03/15/0000.html.

The new layout almost precisely matches FreeBSD, and should make
future imports much easier.

At the same time, import the current 0.9.16.16 HAL from FreeBSD.  According
to sam@, this is the proper version we should be using.

Revision 1.763.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:42 2006 UTC (8 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.763: +6 -1 lines
Diff to previous 1.763 (colored)

sync with head.

Revision 1.763.6.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:42:03 2006 UTC (8 years, 6 months ago) by tron
Branch: peter-altq
Changes since 1.763: +6 -1 lines
Diff to previous 1.763 (colored)

Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.

Revision 1.764 / (download) - annotate - [select for diffs], Tue Mar 21 22:33:07 2006 UTC (8 years, 7 months ago) by he
Branch: MAIN
CVS Tags: yamt-pdpolicy-base3
Changes since 1.763: +6 -1 lines
Diff to previous 1.763 (colored)

Commit forgotten definition of the ciss driver.

Revision 1.763.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 00:29:19 2006 UTC (8 years, 7 months ago) by elad
Branch: elad-kernelauth
Changes since 1.763: +2 -1 lines
Diff to previous 1.763 (colored)

Compile kern/kern_auth.c too.

Revision 1.763 / (download) - annotate - [select for diffs], Wed Mar 1 22:12:09 2006 UTC (8 years, 7 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.762: +2 -2 lines
Diff to previous 1.762 (colored)

Fix md(4) like raid(4) was fixed.

Revision 1.750.2.4 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:10 2006 UTC (8 years, 7 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.750.2.3: +6 -7 lines
Diff to previous 1.750.2.3 (colored) next main 1.751 (colored)

sync with head.

Revision 1.762 / (download) - annotate - [select for diffs], Sat Feb 25 01:32:10 2006 UTC (8 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Changes since 1.761: +1 -6 lines
Diff to previous 1.761 (colored)

remove vinum

Revision 1.761 / (download) - annotate - [select for diffs], Thu Feb 23 08:01:59 2006 UTC (8 years, 8 months ago) by macallan
Branch: MAIN
Changes since 1.760: +3 -2 lines
Diff to previous 1.760 (colored)

Add support for virtual consoles to igsfb.
Works fine on a Krups, needs testing on other ports.

Revision 1.760 / (download) - annotate - [select for diffs], Sun Feb 19 17:24:36 2006 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.759: +4 -1 lines
Diff to previous 1.759 (colored)

splash is MI; move it out of files.i386

Revision 1.750.2.3 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:02 2006 UTC (8 years, 8 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.750.2.2: +5 -2 lines
Diff to previous 1.750.2.2 (colored)

sync with head.

Revision 1.759 / (download) - annotate - [select for diffs], Sun Feb 12 01:32:06 2006 UTC (8 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.758: +2 -2 lines
Diff to previous 1.758 (colored)

convert "magiclinks" from a per-fs mount option to a system-wide sysctl.
as discussed on tech-kern quite some time ago.

Revision 1.758 / (download) - annotate - [select for diffs], Thu Feb 9 19:18:57 2006 UTC (8 years, 8 months ago) by manu
Branch: MAIN
Changes since 1.757: +2 -1 lines
Diff to previous 1.757 (colored)

Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

While I'm here, add SysV IPC to COMPAT_LINUX/amd64

Revision 1.757.2.2 / (download) - annotate - [select for diffs], Sat Feb 4 13:55:05 2006 UTC (8 years, 8 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.757.2.1: +2 -1 lines
Diff to previous 1.757.2.1 (colored)

Pull in timecounter support.

Revision 1.757.2.1 / (download) - annotate - [select for diffs], Sat Feb 4 13:54:17 2006 UTC (8 years, 8 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.757: +5 -5 lines
Diff to previous 1.757 (colored)

Sort defflags and defparams.

Revision 1.757 / (download) - annotate - [select for diffs], Fri Feb 3 11:04:46 2006 UTC (8 years, 8 months ago) by jmmv
Branch: MAIN
Branch point for: simonb-timecounters
Changes since 1.756: +2 -1 lines
Diff to previous 1.756 (colored)

Implement options string parsing of the form 'a=b c=d ...'.  This will be
initially used by i386's Multiboot support but will be useful in other
situations too (think refactoring mount(2)'s API).

Revision 1.756 / (download) - annotate - [select for diffs], Thu Feb 2 15:26:35 2006 UTC (8 years, 8 months ago) by reinoud
Branch: MAIN
Changes since 1.755: +2 -1 lines
Diff to previous 1.755 (colored)

Initial import of a UDF file system implementation for NetBSD.

Finally the logic glue and the set distribution lists modifications.

Revision 1.750.2.2 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:48 2006 UTC (8 years, 8 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.750.2.1: +5 -3 lines
Diff to previous 1.750.2.1 (colored)

sync with head.

Revision 1.755 / (download) - annotate - [select for diffs], Wed Feb 1 03:15:33 2006 UTC (8 years, 8 months ago) by cube
Branch: MAIN
Changes since 1.754: +2 -2 lines
Diff to previous 1.754 (colored)

Have vnd(4) devices automatically created when the user tries to
configure one.  That removes the compile-time constant that limits the
number of vnds.

Thanks xtraeme@ for testing.

Revision 1.712.2.8 / (download) - annotate - [select for diffs], Sat Jan 21 06:22:24 2006 UTC (8 years, 9 months ago) by snj
Branch: netbsd-3
Changes since 1.712.2.7: +2 -2 lines
Diff to previous 1.712.2.7 (colored) to branchpoint 1.712 (colored)

Pull up following revision(s) (requested by cube in ticket #1122):
	sys/conf/files: revision 1.752
tap(4) depends on arp:  it is an Ethernet interface, after all.
Solves PR 32548 by Pawel Chwalowski.

Revision 1.712.2.7 / (download) - annotate - [select for diffs], Fri Jan 20 20:48:41 2006 UTC (8 years, 9 months ago) by riz
Branch: netbsd-3
Changes since 1.712.2.6: +1 -2 lines
Diff to previous 1.712.2.6 (colored) to branchpoint 1.712 (colored)

Back out tickets 490, 559, and 560, which added "magic symlinks", at
the request of chs@ (thorpej@ concurs), as there is consensus that
this should be changed to a system-wide tunable, rather than a mount
option.

Revision 1.754 / (download) - annotate - [select for diffs], Tue Jan 17 06:52:43 2006 UTC (8 years, 9 months ago) by thorpej
Branch: MAIN
Branch point for: rpaulo-netinet-merge-pcb
Changes since 1.753: +3 -2 lines
Diff to previous 1.753 (colored)

Conditionalize firmload.c on the firmload attribute.

Revision 1.753 / (download) - annotate - [select for diffs], Tue Jan 17 06:08:48 2006 UTC (8 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.752: +2 -1 lines
Diff to previous 1.752 (colored)

Add an API for loading firmware images for devices.

Revision 1.752 / (download) - annotate - [select for diffs], Mon Jan 16 22:49:23 2006 UTC (8 years, 9 months ago) by cube
Branch: MAIN
Changes since 1.751: +2 -2 lines
Diff to previous 1.751 (colored)

tap(4) depends on arp:  it is an Ethernet interface, after all.
Solves PR 32548 by Pawel Chwalowski.

Revision 1.750.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 10:02:47 2006 UTC (8 years, 9 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.750: +2 -2 lines
Diff to previous 1.750 (colored)

sync with head.

Revision 1.751 / (download) - annotate - [select for diffs], Sat Jan 7 14:19:51 2006 UTC (8 years, 9 months ago) by peter
Branch: MAIN
Changes since 1.750: +2 -2 lines
Diff to previous 1.750 (colored)

Include net/pfil.c when pf is set.

Revision 1.750 / (download) - annotate - [select for diffs], Thu Dec 29 14:53:47 2005 UTC (8 years, 9 months ago) by tsutsui
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.749: +2 -1 lines
Diff to previous 1.749 (colored)

Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.

Revision 1.712.2.6 / (download) - annotate - [select for diffs], Thu Dec 29 00:57:09 2005 UTC (8 years, 9 months ago) by riz
Branch: netbsd-3
Changes since 1.712.2.5: +2 -1 lines
Diff to previous 1.712.2.5 (colored) to branchpoint 1.712 (colored)

Pull up following revision(s) (requested by thorpej in ticket #490):
	lib/libc/sys/mount.2: revision 1.33
	sys/sys/systm.h: revision 1.179
	sys/sys/fstypes.h: revision 1.4
	include/mntopts.h: revision 1.6
	sys/conf/newvers.sh: revision 1.41
	sys/kern/vfs_syscalls.c: revision 1.223
	sys/conf/files: revision 1.720
	sys/kern/vfs_lookup.c: revision 1.61
	share/man/man7/symlink.7: revision 1.7
	sbin/mount/mount.8: revision 1.47
	sys/kern/init_main.c: revision 1.248 via patch
	share/man/man4/options.4: revision 1.280 via patch
Implement expansion of special "magic" strings in symlinks into
system-specific values.  Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.
This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag.  It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.
The following magic strings are supported by the implementation:
@machine    value of MACHINE for the system
@machine_arch    value of MACHINE_ARCH for the system
@hostname    the system host name, as set with sethostname()
@domainname    the system domain name, as set with setdomainname()
@kernel_ident    the kernel config file name
@osrelease    the releaes number of the OS
@ostype        the name of the OS (always "NetBSD" for NetBSD)
Example usage:
mkdir /arch/i386/bin
mkdir /arch/sparc/bin
ln -s /arch/@machine_arch/bin /bin

Revision 1.749 / (download) - annotate - [select for diffs], Tue Dec 27 00:46:38 2005 UTC (8 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.748: +2 -2 lines
Diff to previous 1.748 (colored)

remove the COM_MPLOCK option.  always include the spinlock in the softc
and always call the simple_* locking functions.  the locking functions
are compiled out if they are not needed anyway, so a separate option
for this doesn't gain anything.

this also fixes the serial console on my alpha ES40 (which doesn't make much
sense since the com driver should still be under the big lock on alpha,
but whatever).

Revision 1.748 / (download) - annotate - [select for diffs], Wed Dec 21 10:57:22 2005 UTC (8 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.747: +2 -2 lines
Diff to previous 1.747 (colored)

defparam NMBCLUSTERS.

Revision 1.747 / (download) - annotate - [select for diffs], Tue Dec 20 05:35:30 2005 UTC (8 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.746: +1 -3 lines
Diff to previous 1.746 (colored)

Remove the tablet line discipline.

Revision 1.615.2.19 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:47 2005 UTC (8 years, 10 months ago) by christos
Branch: ktrace-lwp
Changes since 1.615.2.18: +10 -68 lines
Diff to previous 1.615.2.18 (colored) next main 1.616 (colored)

Sync with head.

Revision 1.746 / (download) - annotate - [select for diffs], Wed Dec 7 00:42:03 2005 UTC (8 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.745: +1 -2 lines
Diff to previous 1.745 (colored)

Remove the VNODE_OP_NOINLINE option.  We now NEVER inline vnode ops.
Briefly discussed on tech-kern not too long ago.

Revision 1.739.2.4 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:07 2005 UTC (8 years, 10 months ago) by yamt
Branch: yamt-readahead
Changes since 1.739.2.3: +10 -68 lines
Diff to previous 1.739.2.3 (colored) to branchpoint 1.739 (colored) next main 1.740 (colored)

sync with head.

Revision 1.745 / (download) - annotate - [select for diffs], Sun Nov 27 22:44:35 2005 UTC (8 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-readahead-base3
Changes since 1.744: +4 -22 lines
Diff to previous 1.744 (colored)

Move DDB files to files.ddb
XXX couple of kgdb references -- clean up later

Revision 1.744 / (download) - annotate - [select for diffs], Sun Nov 27 22:18:41 2005 UTC (8 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.743: +6 -32 lines
Diff to previous 1.743 (colored)

Move UVM files to files.uvm

Revision 1.743 / (download) - annotate - [select for diffs], Sun Nov 27 21:14:26 2005 UTC (8 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.742: +2 -16 lines
Diff to previous 1.742 (colored)

Move 802.11-specific files to files.net80211

Revision 1.742 / (download) - annotate - [select for diffs], Sat Nov 26 12:16:44 2005 UTC (8 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.741: +2 -1 lines
Diff to previous 1.741 (colored)

add a new option DDB_COMMANDONENTER.
which can be useful for eg. broken console input.

Revision 1.741 / (download) - annotate - [select for diffs], Fri Nov 25 17:33:56 2005 UTC (8 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.740: +2 -2 lines
Diff to previous 1.740 (colored)

Use a once control to call initialize the 802.11 layer when
ieee80211_ifattach() is called.  "wlan" no longer needs-flag,
and remove the ieee80211_init() call from main().

Revision 1.739.2.3 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:06 2005 UTC (8 years, 11 months ago) by yamt
Branch: yamt-readahead
Changes since 1.739.2.2: +2 -2 lines
Diff to previous 1.739.2.2 (colored) to branchpoint 1.739 (colored)

sync with head.

Revision 1.740 / (download) - annotate - [select for diffs], Fri Nov 18 21:55:14 2005 UTC (8 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-readahead-base2
Changes since 1.739: +2 -2 lines
Diff to previous 1.739 (colored)

Only call ieee80211_init() in kernels that include some wlan stuff.

Revision 1.739.2.2 / (download) - annotate - [select for diffs], Tue Nov 15 04:10:35 2005 UTC (8 years, 11 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile
Changes since 1.739.2.1: +1 -2 lines
Diff to previous 1.739.2.1 (colored) to branchpoint 1.739 (colored)

remove subr_vmem.c, which was added mistakenly.

Revision 1.739.2.1 / (download) - annotate - [select for diffs], Tue Nov 15 04:00:28 2005 UTC (8 years, 11 months ago) by yamt
Branch: yamt-readahead
Changes since 1.739: +3 -1 lines
Diff to previous 1.739 (colored)

add uvm_readahead.c.

Revision 1.615.2.18 / (download) - annotate - [select for diffs], Thu Nov 10 14:01:40 2005 UTC (8 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.17: +73 -39 lines
Diff to previous 1.615.2.17 (colored)

Sync with HEAD. Here we go again...

Revision 1.736.2.2 / (download) - annotate - [select for diffs], Wed Nov 2 11:57:56 2005 UTC (8 years, 11 months ago) by yamt
Branch: yamt-vop
Changes since 1.736.2.1: +3 -1 lines
Diff to previous 1.736.2.1 (colored) to branchpoint 1.736 (colored) next main 1.737 (colored)

sync with head.

Revision 1.739 / (download) - annotate - [select for diffs], Sat Oct 29 11:23:19 2005 UTC (8 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.738: +3 -1 lines
Diff to previous 1.738 (colored)

physio: make requests with large buffers faster,
by queueing more i/o simultaneously.

Revision 1.736.2.1 / (download) - annotate - [select for diffs], Wed Oct 26 08:32:45 2005 UTC (8 years, 11 months ago) by yamt
Branch: yamt-vop
Changes since 1.736: +4 -3 lines
Diff to previous 1.736 (colored)

sync with head

Revision 1.738 / (download) - annotate - [select for diffs], Fri Oct 21 04:07:48 2005 UTC (9 years ago) by dyoung
Branch: MAIN
CVS Tags: yamt-vop-base2, thorpej-vnode-attr-base, thorpej-vnode-attr
Changes since 1.737: +2 -2 lines
Diff to previous 1.737 (colored)

Switch to John Bicket's SampleRate algorithm for bitrate adaptation
on Atheros cards.

Revision 1.737 / (download) - annotate - [select for diffs], Wed Oct 19 09:04:23 2005 UTC (9 years ago) by dyoung
Branch: MAIN
Changes since 1.736: +3 -2 lines
Diff to previous 1.736 (colored)

For clarify, use the name opt_athhal.h instead of opt_ah.h for the
file where Atheros HAL options go.

Revision 1.736 / (download) - annotate - [select for diffs], Sat Oct 15 17:29:11 2005 UTC (9 years ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base
Branch point for: yamt-vop
Changes since 1.735: +2 -1 lines
Diff to previous 1.735 (colored)

- change the way to specify a bufq strategy.  (by string rather than by number)
- rather than embedding bufq_state in driver softc,
  have a pointer to the former.
- move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c.
- rename method to strategy for consistency.
- move some definitions which don't need to be exposed to the rest of kernel
  from sys/bufq.h to sys/bufq_impl.h.
  (is it better to move it to kern/ or somewhere?)
- fix some obvious breakage in dev/qbus/ts.c.  (not tested)

Revision 1.735 / (download) - annotate - [select for diffs], Wed Oct 5 14:16:46 2005 UTC (9 years ago) by cube
Branch: MAIN
Changes since 1.734: +2 -2 lines
Diff to previous 1.734 (colored)

tap doesn't expose any locator...  It's just a trick to get a cfdriver
structure.

Revision 1.734 / (download) - annotate - [select for diffs], Tue Sep 27 02:41:10 2005 UTC (9 years ago) by jmcneill
Branch: MAIN
Changes since 1.733: +7 -1 lines
Diff to previous 1.733 (colored)

Add gpio files and majors.

Revision 1.733 / (download) - annotate - [select for diffs], Mon Sep 26 14:14:26 2005 UTC (9 years ago) by yamt
Branch: MAIN
Changes since 1.732: +5 -5 lines
Diff to previous 1.732 (colored)

- defflag bufq_fcfs and bufq_disksort.
- make them on by default.

Revision 1.732 / (download) - annotate - [select for diffs], Fri Sep 23 12:10:31 2005 UTC (9 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.731: +2 -1 lines
Diff to previous 1.731 (colored)

Apply the NFS exports list rototill patch:

- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.

Revision 1.731 / (download) - annotate - [select for diffs], Sat Sep 17 14:38:40 2005 UTC (9 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.730: +5 -3 lines
Diff to previous 1.730 (colored)

make VMSWAP optional again.

Revision 1.730 / (download) - annotate - [select for diffs], Sat Sep 10 19:20:51 2005 UTC (9 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.729: +2 -1 lines
Diff to previous 1.729 (colored)

Initial addition of tmpfs, an efficient memory file-system.  This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).

Revision 1.712.2.5 / (download) - annotate - [select for diffs], Thu Sep 8 21:06:30 2005 UTC (9 years, 1 month ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.712.2.4: +9 -1 lines
Diff to previous 1.712.2.4 (colored) to branchpoint 1.712 (colored)

Apply patch (requested by elad in ticket #740):
Defopt VERIFIED_EXEC.

Revision 1.712.2.4 / (download) - annotate - [select for diffs], Tue Aug 23 14:45:20 2005 UTC (9 years, 2 months ago) by tron
Branch: netbsd-3
Changes since 1.712.2.3: +1 -9 lines
Diff to previous 1.712.2.3 (colored) to branchpoint 1.712 (colored)

Backout ticket 685. It causes build failures.

Revision 1.712.2.3 / (download) - annotate - [select for diffs], Tue Aug 23 13:45:30 2005 UTC (9 years, 2 months ago) by tron
Branch: netbsd-3
Changes since 1.712.2.2: +9 -1 lines
Diff to previous 1.712.2.2 (colored) to branchpoint 1.712 (colored)

Pull up revision 1.725 (requested by elad in ticket #685):
Defopt VERIFIED_EXEC*

Revision 1.729 / (download) - annotate - [select for diffs], Fri Aug 19 02:04:03 2005 UTC (9 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.728: +3 -2 lines
Diff to previous 1.728 (colored)

64 bit inode changes.

Revision 1.712.2.2 / (download) - annotate - [select for diffs], Sun Aug 14 21:14:29 2005 UTC (9 years, 2 months ago) by riz
Branch: netbsd-3
Changes since 1.712.2.1: +3 -2 lines
Diff to previous 1.712.2.1 (colored) to branchpoint 1.712 (colored)

Pull up revision 1.726 via patch (requested by hubertf in ticket #625):
Add support for reading cloop2 compressed filesystem images,
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.

Revision 1.728 / (download) - annotate - [select for diffs], Sun Jul 31 04:04:46 2005 UTC (9 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.727: +3 -5 lines
Diff to previous 1.727 (colored)

revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.

Revision 1.727 / (download) - annotate - [select for diffs], Sat Jul 30 06:33:36 2005 UTC (9 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.726: +5 -3 lines
Diff to previous 1.726 (colored)

defflag VMSWAP.

Revision 1.726 / (download) - annotate - [select for diffs], Sun Jul 17 00:08:27 2005 UTC (9 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.725: +3 -2 lines
Diff to previous 1.725 (colored)

Add support for reading cloop2 compressed filesystem image,
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.

Revision 1.725 / (download) - annotate - [select for diffs], Sat Jul 16 22:50:15 2005 UTC (9 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.724: +9 -1 lines
Diff to previous 1.724 (colored)

Defopt VERIFIED_EXEC*

Revision 1.724 / (download) - annotate - [select for diffs], Mon Jul 11 15:37:04 2005 UTC (9 years, 3 months ago) by kiyohara
Branch: MAIN
Changes since 1.723: +2 -15 lines
Diff to previous 1.723 (colored)

ieee1394 import from FreeBSD.

Revision 1.723 / (download) - annotate - [select for diffs], Sat Jul 9 01:05:23 2005 UTC (9 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.722: +2 -1 lines
Diff to previous 1.722 (colored)

Move VFS extended attribute support to its own file.

Revision 1.722 / (download) - annotate - [select for diffs], Fri Jul 1 20:11:20 2005 UTC (9 years, 3 months ago) by drochner
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.721: +6 -1 lines
Diff to previous 1.721 (colored)

add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually

Revision 1.721 / (download) - annotate - [select for diffs], Mon Jun 27 21:41:45 2005 UTC (9 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.720: +3 -1 lines
Diff to previous 1.720 (colored)

Create the file opt_ah.h, which appears to be needed. Can we please
s/AH_/ATHHAL_/ everywhere?

Revision 1.720 / (download) - annotate - [select for diffs], Thu Jun 23 00:30:28 2005 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.719: +2 -1 lines
Diff to previous 1.719 (colored)

Implement expansion of special "magic" strings in symlinks into
system-specific values.  Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.

This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag.  It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.

The following magic strings are supported by the implementation:

	@machine	value of MACHINE for the system
	@machine_arch	value of MACHINE_ARCH for the system
	@hostname	the system host name, as set with sethostname()
	@domainname	the system domain name, as set with setdomainname()
	@kernel_ident	the kernel config file name
	@osrelease	the releaes number of the OS
	@ostype		the name of the OS (always "NetBSD" for NetBSD)

Example usage:

	mkdir /arch/i386/bin
	mkdir /arch/sparc/bin
	ln -s /arch/@machine_arch/bin /bin

Revision 1.719 / (download) - annotate - [select for diffs], Wed Jun 22 06:14:52 2005 UTC (9 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.718: +20 -13 lines
Diff to previous 1.718 (colored)

Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD.  Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]).  Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.

Revision 1.718 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:32 2005 UTC (9 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.717: +3 -2 lines
Diff to previous 1.717 (colored)

Reduce INSTALL_TINY by 1.3KB.

Support for a.out coredumps is now conditional on EXEC_AOUT, EXEC_COFF,
EXEC_ECOFF, or EXEC_MACHO, or LKM.  Since coredump_netbsd is the only user
of cpu_coredump, make that conditional too.  Lastly, add 'no options EXEC_AOUT'
so the EXEC_AOUT option in std.i386 can be overridden.

Revision 1.712.2.1 / (download) - annotate - [select for diffs], Fri Jun 10 14:49:18 2005 UTC (9 years, 4 months ago) by tron
Branch: netbsd-3
Changes since 1.712: +4 -4 lines
Diff to previous 1.712 (colored)

Pull up revision 1.717 (requested by elad in ticket #389):
Rototill of the verified exec functionality.
* We now use hash tables instead of a list to store the in kernel
fingerprints.
* Fingerprint methods handling has been made more flexible, it is now
even simpler to add new methods.
* the loader no longer passes in magic numbers representing the
fingerprint method so veriexecctl is not longer kernel specific.
* fingerprint methods can be tailored out using options in the kernel
config file.
* more fingerprint methods added - rmd160, sha256/384/512
* veriexecctl can now report the fingerprint methods supported by the
running kernel.
* regularised the naming of some portions of veriexec.

Revision 1.662.2.9.2.1 / (download) - annotate - [select for diffs], Fri May 13 17:09:34 2005 UTC (9 years, 5 months ago) by riz
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.662.2.9: +4 -1 lines
Diff to previous 1.662.2.9 (colored)

Pull up revision 1.703 (requested by bad in ticket #1479):
defparam USB_MEM_RESERVE

Revision 1.707.2.2 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:43 2005 UTC (9 years, 5 months ago) by kent
Branch: kent-audio2
Changes since 1.707.2.1: +24 -7 lines
Diff to previous 1.707.2.1 (colored) next main 1.708 (colored)

sync with -current

Revision 1.717 / (download) - annotate - [select for diffs], Wed Apr 20 13:44:45 2005 UTC (9 years, 6 months ago) by blymn
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.716: +4 -4 lines
Diff to previous 1.716 (colored)

Rototill of the verified exec functionality.
  * We now use hash tables instead of a list to store the in kernel
    fingerprints.
  * Fingerprint methods handling has been made more flexible, it is now
    even simpler to add new methods.
  * the loader no longer passes in magic numbers representing the
    fingerprint method so veriexecctl is not longer kernel specific.
  * fingerprint methods can be tailored out using options in the kernel
    config file.
  * more fingerprint methods added - rmd160, sha256/384/512
  * veriexecctl can now report the fingerprint methods supported by the
    running kernel.
  * regularised the naming of some portions of veriexec.

Revision 1.716 / (download) - annotate - [select for diffs], Wed Apr 6 11:33:54 2005 UTC (9 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.715: +2 -1 lines
Diff to previous 1.715 (colored)

make blist compilable on netbsd.

Revision 1.715 / (download) - annotate - [select for diffs], Sun Apr 3 11:21:44 2005 UTC (9 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.714: +6 -1 lines
Diff to previous 1.714 (colored)

Add driver for MCA Tiara LANCard / Fujitsu mb86950 EtherStar. Driver provided
in PR kern/26899 by Dave Barnes.

Revision 1.615.2.17 / (download) - annotate - [select for diffs], Fri Apr 1 14:29:36 2005 UTC (9 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.16: +6 -1 lines
Diff to previous 1.615.2.16 (colored)

Sync with HEAD.

Revision 1.709.2.3 / (download) - annotate - [select for diffs], Sat Mar 26 18:19:18 2005 UTC (9 years, 6 months ago) by yamt
Branch: yamt-km
Changes since 1.709.2.2: +4 -1 lines
Diff to previous 1.709.2.2 (colored) to branchpoint 1.709 (colored) next main 1.710 (colored)

sync with head.

Revision 1.714 / (download) - annotate - [select for diffs], Fri Mar 25 23:06:19 2005 UTC (9 years, 7 months ago) by cube
Branch: MAIN
CVS Tags: yamt-km-base4
Changes since 1.713: +4 -1 lines
Diff to previous 1.713 (colored)

Add attimer(4) driver, with ISA and ACPI attachments.

attimer(4) is the new body of the part of pcppi(4) that mapped the TIMER1
register to set the pitch of the bell.  It was necessary to separate them
in order to have a working ACPI attachment (as the two appear as different
devices in the ACPI structures).

Revision 1.709.2.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:49 2005 UTC (9 years, 7 months ago) by yamt
Branch: yamt-km
Changes since 1.709.2.1: +4 -2 lines
Diff to previous 1.709.2.1 (colored) to branchpoint 1.709 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.713 / (download) - annotate - [select for diffs], Fri Mar 18 11:11:50 2005 UTC (9 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base3
Changes since 1.712: +3 -1 lines
Diff to previous 1.712 (colored)

add agr(4), a pseudo network device driver for link aggregation.

Revision 1.615.2.16 / (download) - annotate - [select for diffs], Fri Mar 4 16:40:43 2005 UTC (9 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.15: +2 -2 lines
Diff to previous 1.615.2.15 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.712 / (download) - annotate - [select for diffs], Sat Feb 26 23:04:16 2005 UTC (9 years, 7 months ago) by perry
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.711: +2 -2 lines
Diff to previous 1.711 (colored)

nuke trailing whitespace

Revision 1.709.2.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:42 2005 UTC (9 years, 8 months ago) by yamt
Branch: yamt-km
Changes since 1.709: +6 -2 lines
Diff to previous 1.709 (colored)

sync with head.

Revision 1.615.2.15 / (download) - annotate - [select for diffs], Fri Feb 4 11:45:09 2005 UTC (9 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.14: +6 -2 lines
Diff to previous 1.615.2.14 (colored)

Sync with HEAD.

Revision 1.711 / (download) - annotate - [select for diffs], Tue Feb 1 16:00:50 2005 UTC (9 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-km-base2, matt-timespec
Changes since 1.710: +2 -2 lines
Diff to previous 1.710 (colored)

don't compile isp_target.c if ISP_TARGET_MODE is not required

Revision 1.710 / (download) - annotate - [select for diffs], Mon Jan 31 06:09:03 2005 UTC (9 years, 8 months ago) by joff
Branch: MAIN
Changes since 1.709: +5 -1 lines
Diff to previous 1.709 (colored)

new attribute matrixkp

Revision 1.615.2.14 / (download) - annotate - [select for diffs], Mon Jan 24 08:35:18 2005 UTC (9 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.13: +3 -2 lines
Diff to previous 1.615.2.13 (colored)

Sync with HEAD.

Revision 1.709 / (download) - annotate - [select for diffs], Fri Jan 21 12:32:18 2005 UTC (9 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base
Branch point for: yamt-km
Changes since 1.708: +2 -1 lines
Diff to previous 1.708 (colored)

- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.

Revision 1.708 / (download) - annotate - [select for diffs], Wed Jan 19 10:17:00 2005 UTC (9 years, 9 months ago) by cube
Branch: MAIN
Changes since 1.707: +2 -2 lines
Diff to previous 1.707 (colored)

if_tap.c needs NBPFILTER flag.

Revision 1.615.2.13 / (download) - annotate - [select for diffs], Mon Jan 17 19:30:38 2005 UTC (9 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.12: +10 -4 lines
Diff to previous 1.615.2.12 (colored)

Sync with HEAD.

Revision 1.707.2.1 / (download) - annotate - [select for diffs], Sun Jan 16 15:05:11 2005 UTC (9 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.707: +3 -1 lines
Diff to previous 1.707 (colored)

add AUDIO_KMIXER option.
  AUDIO_KMIXER is not defined or AUDIO_KMIXER is 1:
	a /dev/audioN can be opened just once.
  AUDIO_KMIXER is <= 0:
	a /dev/audioN can be opened unlimitedly.
  AUDIO_KMIXER is > 0 and <= INT_MAX:
	a /dev/audioN can be opened AUDIO_KMIXER times simultaneously.

Revision 1.707 / (download) - annotate - [select for diffs], Thu Jan 13 20:16:02 2005 UTC (9 years, 9 months ago) by petrov
Branch: MAIN
Branch point for: kent-audio2
Changes since 1.706: +2 -2 lines
Diff to previous 1.706 (colored)

Correct NKMEMPAGES_MIN option name.

Revision 1.706 / (download) - annotate - [select for diffs], Mon Jan 10 22:01:36 2005 UTC (9 years, 9 months ago) by kent
Branch: MAIN
Changes since 1.705: +2 -2 lines
Diff to previous 1.705 (colored)

merge kent-audio1 branch, which introduces audio filter pipeline to the MI
audio framework


Summary of changes:

* struct audio_params
  - remove sw_code, factor, factor_denom, hw_sample_rate,
hw_encoding ,hw_precision, and hw_channels.  Conversion information
is conveyed by stream_filter_list_t.
  - change the type of sample_rate: u_long -> u_int
  - add `validbits,' which represents the valid data size in
precision bits.  It is required in order to distinguish 24/32bit
from 24/24bit or 32/32bit.

* audio_hw_if
 - add two parameters to set_params()
	stream_filter_list_t *pfil, stream_filter_list *rfil
   A HW driver should set filter recipes for requested formats
 - constify audio_params parameters of trigger_output() and
trigger_input().  They represent audio formats for the hardware.
 - make open() and close() optional
 - add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
 to round_blocksize()

* sw_code is replaced with stream_filter_t.
  stream_filer_t converts audio data in an input buffer and writes
into another output buffer unlike sw_code, which converts data in
single buffer.
  converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c,
dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are
reimplemented as stream_filter_t

* MI audio
 - audiosetinfo() builds filter pipelines from stream_filter_list_t
filled by audio_hw_if::set_params()
 - audiosetinfo() returns with EINVAL if mmapped and set_params()
requests filters
 - audio_write(), audio_pint(), and audio_rint() invoke a filter
pipeline.
 - ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS,
AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for
AUDIO_GETINFO handle values for a buffer nearest to userland.

* add `struct device *' parameter to ac97_attach()

* all of audio HW drivers follow audio_hw_if and ac97 changes

Revision 1.705 / (download) - annotate - [select for diffs], Sat Jan 8 22:27:54 2005 UTC (9 years, 9 months ago) by cube
Branch: MAIN
CVS Tags: kent-audio1-beforemerge
Changes since 1.704: +3 -1 lines
Diff to previous 1.704 (colored)

Addition of tap(4).

NAME
     tap - virtual Ethernet device

SYNOPSIS
     pseudo-device tap

DESCRIPTION
     The tap driver allows the creation and use of virtual Ethernet devices.
     Those interfaces appear just as any real Ethernet NIC to the kernel, but
     can also be accessed by userland through a character device node in order
     to read frames being sent by the system or to inject frames.

     In that respect it is very similar to what tun(4) provides, but the added
     Ethernet layer allows easy integration with machine emulators or virtual
     Ethernet networks through the use of bridge(4) with tunneling.

``Qui tacet consentire videtur.''

Revision 1.704 / (download) - annotate - [select for diffs], Sat Jan 8 02:57:08 2005 UTC (9 years, 9 months ago) by joff
Branch: MAIN
Changes since 1.703: +3 -2 lines
Diff to previous 1.703 (colored)

add tscs

Revision 1.702.2.1 / (download) - annotate - [select for diffs], Mon Jan 3 16:36:14 2005 UTC (9 years, 9 months ago) by kent
Branch: kent-audio1
Changes since 1.702: +2 -2 lines
Diff to previous 1.702 (colored) next main 1.703 (colored)

mulaw depends on dev/auconv.c

Revision 1.703 / (download) - annotate - [select for diffs], Tue Dec 21 16:36:53 2004 UTC (9 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.702: +4 -1 lines
Diff to previous 1.702 (colored)

defparam USB_MEM_RESERVE

Revision 1.615.2.12 / (download) - annotate - [select for diffs], Sat Dec 18 09:31:56 2004 UTC (9 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.11: +6 -6 lines
Diff to previous 1.615.2.11 (colored)

Sync with HEAD.

Revision 1.702 / (download) - annotate - [select for diffs], Sun Dec 5 05:43:04 2004 UTC (9 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: kent-audio1-base
Branch point for: kent-audio1
Changes since 1.701: +4 -4 lines
Diff to previous 1.701 (colored)

clonify strip and sl.

Revision 1.701 / (download) - annotate - [select for diffs], Sat Dec 4 16:10:25 2004 UTC (9 years, 10 months ago) by peter
Branch: MAIN
Changes since 1.700: +2 -2 lines
Diff to previous 1.700 (colored)

Convert lo(4) to a clonable device.

This also removes the loif array and changes all code to use the new
lo0ifp pointer which points to the lo0 ifnet structure.

Approved by christos.

Revision 1.700 / (download) - annotate - [select for diffs], Tue Nov 30 04:28:43 2004 UTC (9 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.699: +2 -2 lines
Diff to previous 1.699 (colored)

Clonify bpf. I am not changing /dev/bpfX -> /dev/bpf until all userland
programs have been fixed.

Revision 1.615.2.11 / (download) - annotate - [select for diffs], Mon Nov 29 07:24:06 2004 UTC (9 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.10: +10 -6 lines
Diff to previous 1.615.2.10 (colored)

Sync with HEAD.

Revision 1.699 / (download) - annotate - [select for diffs], Thu Nov 25 06:52:14 2004 UTC (9 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.698: +1 -8 lines
Diff to previous 1.698 (colored)

revert unintended changes in the previous.  pointed by matthew green.

Revision 1.698 / (download) - annotate - [select for diffs], Thu Nov 25 04:52:23 2004 UTC (9 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.697: +17 -6 lines
Diff to previous 1.697 (colored)

lookup bufq using link_set rather than a switch statement.

Revision 1.615.2.10 / (download) - annotate - [select for diffs], Sun Nov 14 08:15:43 2004 UTC (9 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.9: +12 -9 lines
Diff to previous 1.615.2.9 (colored)

Sync with HEAD.

Revision 1.697 / (download) - annotate - [select for diffs], Sat Nov 13 07:58:14 2004 UTC (9 years, 11 months ago) by kent
Branch: MAIN
Changes since 1.696: +3 -3 lines
Diff to previous 1.696 (colored)

add `needs-flag' to the file line for mulaw.
move the file line for aurateconv.

Revision 1.530.2.2 / (download) - annotate - [select for diffs], Thu Nov 11 23:28:51 2004 UTC (9 years, 11 months ago) by he
Branch: netbsd-1-6
Changes since 1.530.2.1: +5 -1 lines
Diff to previous 1.530.2.1 (colored) to branchpoint 1.530 (colored) next main 1.531 (colored)

Pull up revision 1.682 (via patch, requested by itohy in ticket #1741):
  Add support for the Workbit NinjaSCSI-32 PCI/Cardbus
  SCSI driver, njs(4).

Revision 1.696 / (download) - annotate - [select for diffs], Thu Nov 11 19:21:46 2004 UTC (9 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.695: +7 -7 lines
Diff to previous 1.695 (colored)

ptyfs moved from miscfs/ to fs/

sort file system includes

Revision 1.695 / (download) - annotate - [select for diffs], Thu Nov 11 03:32:05 2004 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.694: +2 -1 lines
Diff to previous 1.694 (colored)

Add ptyfs; from Geoff Wing.

Revision 1.694 / (download) - annotate - [select for diffs], Wed Nov 10 17:26:16 2004 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.693: +4 -2 lines
Diff to previous 1.693 (colored)

Update to the split pty driver.

Revision 1.615.2.9 / (download) - annotate - [select for diffs], Tue Nov 2 07:51:07 2004 UTC (9 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.8: +3 -1 lines
Diff to previous 1.615.2.8 (colored)

Sync with HEAD.

Revision 1.693 / (download) - annotate - [select for diffs], Sat Oct 23 17:25:14 2004 UTC (10 years ago) by thorpej
Branch: MAIN
Changes since 1.692: +3 -1 lines
Diff to previous 1.692 (colored)

MBR partition table support for wedges, enabled by the DKWEDGE_METHOD_MBR
option.

Revision 1.615.2.8 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:44 2004 UTC (10 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.7: +19 -1 lines
Diff to previous 1.615.2.7 (colored)

Sync with HEAD

Revision 1.692 / (download) - annotate - [select for diffs], Thu Oct 14 05:12:28 2004 UTC (10 years ago) by yamt
Branch: MAIN
Changes since 1.691: +5 -1 lines
Diff to previous 1.691 (colored)

move i/o schedulers to their own files.
namely, from kern/subr_disk.c to kern/bufq_{fcfs,disksort,readprio,priocscan}.c.

Revision 1.691 / (download) - annotate - [select for diffs], Mon Oct 4 01:16:39 2004 UTC (10 years ago) by thorpej
Branch: MAIN
Changes since 1.690: +3 -1 lines
Diff to previous 1.690 (colored)

Add a parsing module for 4.4BSD/NetBSD disklabels.  This module supports
disklabels nested inside an MBR "NetBSD" or "386BSD" partition (first
one found is considered authoritative for the disk), or in one of several
known locations for various NetBSD platforms.  It can read native or other-
endian disklabels (code is there, but not tested).

If you want to play with this, exercise caution; you can't currently
mountroot on a wedge (setroot() needs some work).  Enabled by the
DKWEDGE_METHOD_BSDLABEL kernel option.

Revision 1.690 / (download) - annotate - [select for diffs], Mon Oct 4 01:07:57 2004 UTC (10 years ago) by thorpej
Branch: MAIN
Changes since 1.689: +1 -2 lines
Diff to previous 1.689 (colored)

Remove something mistakenly committed in last.

Revision 1.689 / (download) - annotate - [select for diffs], Mon Oct 4 01:07:25 2004 UTC (10 years ago) by thorpej
Branch: MAIN
Changes since 1.688: +4 -3 lines
Diff to previous 1.688 (colored)

Move wedge code to a subdirectory, as suggested by Christos.

Revision 1.688 / (download) - annotate - [select for diffs], Fri Oct 1 05:16:04 2004 UTC (10 years ago) by thorpej
Branch: MAIN
Changes since 1.687: +3 -1 lines
Diff to previous 1.687 (colored)

Break out the wedge discovery methods into true modules, and add some
infrastructure that allows new ones to be added.  The discovery methods
are prioritized, and only one can exist at a given priority.

The DKWEDGE_METHOD_GPT option causes GPT support to be included.  GPT is
at priority 0; we prefer GPT above all others.

Revision 1.687 / (download) - annotate - [select for diffs], Sun Sep 26 03:03:17 2004 UTC (10 years ago) by dyoung
Branch: MAIN
Changes since 1.686: +8 -1 lines
Diff to previous 1.686 (colored)

Add rtw(4).

Revision 1.686 / (download) - annotate - [select for diffs], Sat Sep 25 03:30:44 2004 UTC (10 years ago) by thorpej
Branch: MAIN
Changes since 1.685: +4 -1 lines
Diff to previous 1.685 (colored)

Work-in-progress implementation of "wedges", a new way to represent
partitions in the NetBSD kernel.  See discussion on tech-kern for details.

Revision 1.615.2.7 / (download) - annotate - [select for diffs], Fri Sep 24 10:53:27 2004 UTC (10 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.6: +2 -1 lines
Diff to previous 1.615.2.6 (colored)

Sync with HEAD.

Revision 1.615.2.6 / (download) - annotate - [select for diffs], Tue Sep 21 13:26:15 2004 UTC (10 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.5: +1 -1 lines
Diff to previous 1.615.2.5 (colored)

Fix the sync with head I botched.

Revision 1.685 / (download) - annotate - [select for diffs], Tue Sep 21 03:10:35 2004 UTC (10 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.684: +2 -1 lines
Diff to previous 1.684 (colored)

Add a new VNODE_LOCKDEBUG option, which enables checks in the VOP_*()
calls to ensure that the vnode lock state is as expected when the VOP
call is made.  Modify vnode_if.src to set the expected state according
to the documenting lock table for each VOP.  Modify vnode_if.sh to emit
the checks.

Notes:
- The checks are only performed if the vnode has the VLOCKSWORK bit
  set.  Some file systems (e.g. specfs) don't even bother with vnode
  locks, so of course the checks will fail.
- We can't actually run with VNODE_LOCKDEBUG because there are so many
  vnode locking problems, not the least of which is the "use SHARED for
  VOP_READ()" issue, which screws things up for the entire call chain.

Inspired by similar changes in OpenBSD, but implemented differently.

Revision 1.615.2.5 / (download) - annotate - [select for diffs], Sat Sep 18 14:44:18 2004 UTC (10 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.4: +1 -2 lines
Diff to previous 1.615.2.4 (colored)

Sync with HEAD.

Revision 1.684 / (download) - annotate - [select for diffs], Tue Sep 14 16:57:31 2004 UTC (10 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.683: +1 -2 lines
Diff to previous 1.683 (colored)

remove COMPAT_AOUT

Revision 1.615.2.4 / (download) - annotate - [select for diffs], Fri Sep 3 12:45:16 2004 UTC (10 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.3: +9 -1 lines
Diff to previous 1.615.2.3 (colored)

Sync with HEAD

Revision 1.662.2.9 / (download) - annotate - [select for diffs], Mon Aug 30 09:24:33 2004 UTC (10 years, 1 month ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Changes since 1.662.2.8: +5 -1 lines
Diff to previous 1.662.2.8 (colored) to branchpoint 1.662 (colored) next main 1.663 (colored)

Pull up revision 1.682 (requested by itohy in ticket #800):
Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)

Revision 1.683 / (download) - annotate - [select for diffs], Thu Aug 26 16:48:06 2004 UTC (10 years, 1 month ago) by jkunz
Branch: MAIN
Changes since 1.682: +5 -1 lines
Diff to previous 1.682 (colored)

Import STI wscons(4) driver from OpenBSD and add new driver for PS/2
keyboard / mouse pots of LASI.

Revision 1.682 / (download) - annotate - [select for diffs], Thu Aug 26 14:13:46 2004 UTC (10 years, 1 month ago) by itohy
Branch: MAIN
Changes since 1.681: +5 -1 lines
Diff to previous 1.681 (colored)

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)

Revision 1.615.2.3 / (download) - annotate - [select for diffs], Wed Aug 25 06:57:34 2004 UTC (10 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.2: +5 -1 lines
Diff to previous 1.615.2.2 (colored)

Sync with HEAD.

Revision 1.681 / (download) - annotate - [select for diffs], Wed Aug 18 12:19:29 2004 UTC (10 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.680: +5 -1 lines
Diff to previous 1.680 (colored)

add a "drvctl" pseudo-device as userland interface to the autoconf
rescan() and detach() functions

Revision 1.615.2.2 / (download) - annotate - [select for diffs], Thu Aug 12 11:41:22 2004 UTC (10 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.615.2.1: +4 -3 lines
Diff to previous 1.615.2.1 (colored)

Sync with HEAD.

Revision 1.680 / (download) - annotate - [select for diffs], Thu Aug 12 04:23:02 2004 UTC (10 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.679: +4 -3 lines
Diff to previous 1.679 (colored)

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.

Revision 1.615.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:44:43 2004 UTC (10 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.615: +145 -45 lines
Diff to previous 1.615 (colored)

Sync with HEAD

Revision 1.679 / (download) - annotate - [select for diffs], Wed Jul 7 08:41:35 2004 UTC (10 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.678: +5 -1 lines
Diff to previous 1.678 (colored)

Move spc into the MI area.

Revision 1.678 / (download) - annotate - [select for diffs], Thu Jul 1 12:44:26 2004 UTC (10 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.677: +2 -1 lines
Diff to previous 1.677 (colored)

defparam HZ.

Revision 1.677 / (download) - annotate - [select for diffs], Tue Jun 22 14:17:07 2004 UTC (10 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.676: +2 -1 lines
Diff to previous 1.676 (colored)

PF from openbsd 3.5.  missing features:
- pfsync (due to protocol # assignment issues)
- carp (not really a PF portion, but thought important to mention)
- PF and ALTQ are mutually-exclusive.  this will be sorted out when
  kjc@csl.sony.co.jp updates ALTQ and PF (and API inbetween)

reviewed by matt, christos, perry

torture-test is very welcomed.

Revision 1.662.2.8 / (download) - annotate - [select for diffs], Mon Jun 21 16:44:48 2004 UTC (10 years, 4 months ago) by tron
Branch: netbsd-2-0
Changes since 1.662.2.7: +2 -2 lines
Diff to previous 1.662.2.7 (colored) to branchpoint 1.662 (colored)

Pull up revision 1.675 (requested by toshii in ticket #517):
Link rtl81x9.c when re* is defined (hi, Toshi!)

Revision 1.662.2.7 / (download) - annotate - [select for diffs], Mon Jun 21 16:41:01 2004 UTC (10 years, 4 months ago) by tron
Branch: netbsd-2-0
Changes since 1.662.2.6: +4 -0 lines
Diff to previous 1.662.2.6 (colored) to branchpoint 1.662 (colored)

Pull up revision 1.673 (requested by toshii in ticket #517):
Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.

Revision 1.676 / (download) - annotate - [select for diffs], Fri Jun 18 15:02:29 2004 UTC (10 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.675: +4 -3 lines
Diff to previous 1.675 (colored)

ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM

Revision 1.675 / (download) - annotate - [select for diffs], Sat May 29 12:12:28 2004 UTC (10 years, 4 months ago) by sekiya
Branch: MAIN
Changes since 1.674: +2 -2 lines
Diff to previous 1.674 (colored)

Link rtl81x9.c when re* is defined (hi, Toshi!)

Revision 1.674 / (download) - annotate - [select for diffs], Fri May 28 23:26:27 2004 UTC (10 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.673: +2 -1 lines
Diff to previous 1.673 (colored)

Add common routines for SATA controllers.  Right now, we have sata_speed(),
which reports the speed encoded in the SStatus register.

Revision 1.673 / (download) - annotate - [select for diffs], Fri May 28 15:35:41 2004 UTC (10 years, 4 months ago) by toshii
Branch: MAIN
Changes since 1.672: +5 -1 lines
Diff to previous 1.672 (colored)

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.

Revision 1.672 / (download) - annotate - [select for diffs], Thu May 27 02:56:38 2004 UTC (10 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.671: +3 -2 lines
Diff to previous 1.671 (colored)

Unix 98 pty multiplexor device; original code from OpenBSD.

Revision 1.662.2.6 / (download) - annotate - [select for diffs], Sat May 22 15:58:37 2004 UTC (10 years, 5 months ago) by he
Branch: netbsd-2-0
Changes since 1.662.2.5: +2 -2 lines
Diff to previous 1.662.2.5 (colored) to branchpoint 1.662 (colored)

Pull up revision 1.666 (requested by cl in ticket #337):
	Upgrade xen support:
	 - add block device driver
	 - network device driver bug fixes
	 - support for vga/keyboard/mouse
	 - support for domain0 operations
	 - fix /dev/mem and i386_iopl, reboot, event dispatch
	 - fix clock support, cpu speed report, lazy fpu switching
	 - add xen12load loader
	 - sys/arch/xen parts of build.sh release support
	[cl, ticket #337]

Revision 1.662.2.5 / (download) - annotate - [select for diffs], Sun May 9 09:00:58 2004 UTC (10 years, 5 months ago) by jdc
Branch: netbsd-2-0
Changes since 1.662.2.4: +2 -2 lines
Diff to previous 1.662.2.4 (colored) to branchpoint 1.662 (colored)

Pull up revision 1.671 (requested by petrov in ticket #270)

Revert default uvm counters, rename UVMMAP_COUNTERS to UVMMAP_NOCOUNTERS.

Revision 1.662.2.4 / (download) - annotate - [select for diffs], Sun May 9 08:53:48 2004 UTC (10 years, 5 months ago) by jdc
Branch: netbsd-2-0
Changes since 1.662.2.3: +2 -2 lines
Diff to previous 1.662.2.3 (colored) to branchpoint 1.662 (colored)

Pull up revision 1.670 (requested by petrov in ticket #269)

Replace uvm counters with evcnt, initialize them through __link_set (from Matt
Thomas),
disable counters by default and add configuration option UVMMAP_COUNTERS.

Revision 1.671 / (download) - annotate - [select for diffs], Mon May 3 20:10:35 2004 UTC (10 years, 5 months ago) by petrov
Branch: MAIN
Changes since 1.670: +2 -2 lines
Diff to previous 1.670 (colored)

Revert default uvm counters, rename UVMMAP_COUNTERS to UVMMAP_NOCOUNTERS.

Revision 1.670 / (download) - annotate - [select for diffs], Sat May 1 19:40:39 2004 UTC (10 years, 5 months ago) by petrov
Branch: MAIN
Changes since 1.669: +2 -2 lines
Diff to previous 1.669 (colored)

Replace uvm counters with evcnt, initialize them through __link_set (from Matt Thomas),
disable counters by default and add configuration option UVMMAP_COUNTERS.

Revision 1.669 / (download) - annotate - [select for diffs], Sat May 1 19:06:24 2004 UTC (10 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.668: +2 -2 lines
Diff to previous 1.668 (colored)

defflag COM_PXA2X0.

Revision 1.668 / (download) - annotate - [select for diffs], Sat May 1 19:03:59 2004 UTC (10 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.667: +4 -3 lines
Diff to previous 1.667 (colored)

Rename the COM16650 option to COM_16650, for consistency with other
com variant options.

Revision 1.667 / (download) - annotate - [select for diffs], Wed Apr 21 12:44:13 2004 UTC (10 years, 6 months ago) by drochner
Branch: MAIN
Changes since 1.666: +3 -2 lines
Diff to previous 1.666 (colored)

defopt COMPAT_20

Revision 1.666 / (download) - annotate - [select for diffs], Sat Apr 17 12:56:26 2004 UTC (10 years, 6 months ago) by cl
Branch: MAIN
Changes since 1.665: +2 -2 lines
Diff to previous 1.665 (colored)

add block device driver

Revision 1.662.2.3 / (download) - annotate - [select for diffs], Fri Apr 9 20:14:37 2004 UTC (10 years, 6 months ago) by jmc
Branch: netbsd-2-0
Changes since 1.662.2.2: +2 -2 lines
Diff to previous 1.662.2.2 (colored) to branchpoint 1.662 (colored)

Pullup rev 1.665 (requested by atatat in ticket #109)

s/SYSCTL_USE_DESCR/SYSCTL_INCLUDE_DESCR/g since the latter name seems
more popular.  Or at least, less unpopular.

Revision 1.665 / (download) - annotate - [select for diffs], Fri Apr 9 19:01:38 2004 UTC (10 years, 6 months ago) by atatat
Branch: MAIN
Changes since 1.664: +2 -2 lines
Diff to previous 1.664 (colored)

s/SYSCTL_USE_DESCR/SYSCTL_INCLUDE_DESCR/g since the latter name seems
more popular.  Or at least, less unpopular.

Revision 1.662.2.2 / (download) - annotate - [select for diffs], Fri Apr 9 18:34:14 2004 UTC (10 years, 6 months ago) by jmc
Branch: netbsd-2-0
Changes since 1.662.2.1: +2 -2 lines
Diff to previous 1.662.2.1 (colored) to branchpoint 1.662 (colored)

Pullup rev 1.664 (requested by atatat in ticket #107)

Invert the meaning of SYSCTL_NO_DESCR by calling it SYSCTL_USE_DESCR
instead.  This makes it an option to include the descriptions, as
opposed to an option to *exclude* them.

Revision 1.664 / (download) - annotate - [select for diffs], Fri Apr 9 18:13:36 2004 UTC (10 years, 6 months ago) by atatat
Branch: MAIN
Changes since 1.663: +2 -2 lines
Diff to previous 1.663 (colored)

Invert the meaning of SYSCTL_NO_DESCR by calling it SYSCTL_USE_DESCR
instead.  This makes it an option to include the descriptions, as
opposed to an option to *exclude* them.

Revision 1.662.2.1 / (download) - annotate - [select for diffs], Thu Apr 8 19:31:18 2004 UTC (10 years, 6 months ago) by jdc
Branch: netbsd-2-0
Changes since 1.662: +7 -1 lines
Diff to previous 1.662 (colored)

Pull up revision 1.663 (requested by atatat in ticket #86)

Create opt_sysctl.h which will hold sysctl related options.  I suspect
most of these won't be used (well, the description related one will
be), but it's good to formalize things.

Revision 1.663 / (download) - annotate - [select for diffs], Thu Apr 8 03:43:38 2004 UTC (10 years, 6 months ago) by atatat
Branch: MAIN
Changes since 1.662: +7 -1 lines
Diff to previous 1.662 (colored)

Create opt_sysctl.h which will hold sysctl related options.  I suspect
most of these won't be used (well, the description related one will
be), but it's good to formalize things.

Revision 1.662 / (download) - annotate - [select for diffs], Sun Mar 28 22:43:56 2004 UTC (10 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.661: +4 -3 lines
Diff to previous 1.661 (colored)

Make kernel continuations optional for now.

Revision 1.661 / (download) - annotate - [select for diffs], Sat Mar 20 03:12:47 2004 UTC (10 years, 7 months ago) by jonathan
Branch: MAIN
Changes since 1.660: +2 -1 lines
Diff to previous 1.660 (colored)

Pull in sys/kern_kcont. Size is 1.4k, hardly worth making an option
(though it could be made so, if something breaks on platforms without
generic soft-ints).

Revision 1.660 / (download) - annotate - [select for diffs], Sun Mar 14 13:52:12 2004 UTC (10 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.659: +2 -4 lines
Diff to previous 1.659 (colored)

pckbc_machdep_cnattach has been replaced by pckbport_machdep_cnattach, so the
former attribute can be removed.

Revision 1.659 / (download) - annotate - [select for diffs], Sat Mar 13 22:45:23 2004 UTC (10 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.658: +4 -2 lines
Diff to previous 1.658 (colored)

Add pckbport attribute, and apply it to pckbc.  Somehow I missed this file
in the main commit of pckbport.  *blush*

Revision 1.658 / (download) - annotate - [select for diffs], Fri Mar 12 11:37:17 2004 UTC (10 years, 7 months ago) by jkunz
Branch: MAIN
Changes since 1.657: +6 -1 lines
Diff to previous 1.657 (colored)

Import MI part of new Intel i82596 Ethernet driver.

Revision 1.657 / (download) - annotate - [select for diffs], Tue Feb 17 05:03:15 2004 UTC (10 years, 8 months ago) by rtr
Branch: MAIN
Changes since 1.656: +2 -1 lines
Diff to previous 1.656 (colored)

split off the evcnt code (which is unrelated to autoconfiguration)
into a separate file

approved by simonb@

Revision 1.656 / (download) - annotate - [select for diffs], Sat Feb 14 16:35:58 2004 UTC (10 years, 8 months ago) by junyoung
Branch: MAIN
Changes since 1.655: +8 -8 lines
Diff to previous 1.655 (colored)

device<tab>
attach<tab>
file<tab>

Revision 1.655 / (download) - annotate - [select for diffs], Sat Feb 14 14:33:29 2004 UTC (10 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.654: +4 -2 lines
Diff to previous 1.654 (colored)

Add a new MI attribute, pckbc_machdep_cnattach, and change pckbc_cnattach()
to only call pckbc_machdep_cnattach() if this is present.  This allows
pckbc_machdep_cnattach() to be omitted entirely on most ports, where it only
returns ENXIO anyway.

The devices with this attribute at the moment are pc(4) on i386 and bebox, and
pckbc on sparc, where pckbc_machdep_cnattach() mysteriously returns 0 rather
than ENXIO.

Revision 1.654 / (download) - annotate - [select for diffs], Fri Feb 13 10:05:49 2004 UTC (10 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.653: +3 -3 lines
Diff to previous 1.653 (colored)

RealTek -> Realtek.

Revision 1.653 / (download) - annotate - [select for diffs], Tue Feb 3 19:46:18 2004 UTC (10 years, 8 months ago) by tsarna
Branch: MAIN
Changes since 1.652: +2 -2 lines
Diff to previous 1.652 (colored)

an(4) needs wlan support

Revision 1.652 / (download) - annotate - [select for diffs], Thu Jan 29 02:00:02 2004 UTC (10 years, 8 months ago) by tsarna
Branch: MAIN
Changes since 1.651: +2 -1 lines
Diff to previous 1.651 (colored)

uuidgen(2) syscall.  Originally from FreeBSD, ported by John Franklin in
PR#23470, with minor updates by me. This is only the syscall support
from that PR, for now.

Changes: port over fix from FreeBSD for multicast address generation.
Changed bcopy to memcpy.  For now, #ifdef notyet the portions of
kern_uuid.c that are meant to be used by (currently nonexistent) other
things in the kernel.  Added syscall to COMPAT_FREEBSD as well, though
that's currently not useful, as any program new enough to use this call
also uses other syscalls we don't (yet) emulate.

Revision 1.651 / (download) - annotate - [select for diffs], Tue Jan 20 19:58:01 2004 UTC (10 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.650: +6 -4 lines
Diff to previous 1.650 (colored)

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
  is included there too; dev/ic/lpt.c is not included if ppbus is
  configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
  glue moved to conf/files and dev/pci/files.pci respectively; remove
  device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
  glue

Revision 1.650 / (download) - annotate - [select for diffs], Sat Jan 17 20:55:59 2004 UTC (10 years, 9 months ago) by bjh21
Branch: MAIN
Changes since 1.649: +6 -1 lines
Diff to previous 1.649 (colored)

Simple code to provide a console bell through a generic audio device, for
systems that don't have a dedicated feeper.  It's up to MD code to enable
this by having the "audiobell" attribute and calling audiobell() at the
appropriate moment.

Code for making noise in the kernel from Richard Earnshaw.  Simple synthesizer
design from the RISC OS Programmer's Reference manual.

Revision 1.649 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:23 2003 UTC (10 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.648: +1 -2 lines
Diff to previous 1.648 (colored)

Replace the traditional buffer memory management -- based on fixed per buffer
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.

Revision 1.648 / (download) - annotate - [select for diffs], Fri Dec 12 20:54:30 2003 UTC (10 years, 10 months ago) by scw
Branch: MAIN
Changes since 1.647: +2 -2 lines
Diff to previous 1.647 (colored)

Pull in netinet/ip_ecn.c if FAST_IPSEC is defined.

Revision 1.647 / (download) - annotate - [select for diffs], Wed Dec 10 11:40:11 2003 UTC (10 years, 10 months ago) by hannken
Branch: MAIN
Changes since 1.646: +3 -1 lines
Diff to previous 1.646 (colored)

The file system snapshot pseudo driver.

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>

Revision 1.646 / (download) - annotate - [select for diffs], Sun Dec 7 05:30:22 2003 UTC (10 years, 10 months ago) by dyoung
Branch: MAIN
Changes since 1.645: +2 -1 lines
Diff to previous 1.645 (colored)

Add the RSSI-based rate-adaptation library to the build.

Revision 1.645 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:23 2003 UTC (10 years, 10 months ago) by atatat
Branch: MAIN
Changes since 1.644: +2 -1 lines
Diff to previous 1.644 (colored)

Dynamic sysctl.

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.

Revision 1.644 / (download) - annotate - [select for diffs], Sun Nov 16 12:10:41 2003 UTC (10 years, 11 months ago) by tls
Branch: MAIN
Changes since 1.643: +2 -1 lines
Diff to previous 1.643 (colored)

Oops.  I missed this file in my previous commit.  Add inclusion of
"files.skipjack" now that Skipjack has been moved from
sys/opencrypto to crypto/skipjack.

Revision 1.643 / (download) - annotate - [select for diffs], Wed Oct 29 17:00:40 2003 UTC (10 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.642: +6 -1 lines
Diff to previous 1.642 (colored)

Add MI driver for mc146818 based time-of-day clock with todr(9) support.

Revision 1.642 / (download) - annotate - [select for diffs], Fri Oct 17 18:16:42 2003 UTC (11 years ago) by cdi
Branch: MAIN
Changes since 1.641: +3 -1 lines
Diff to previous 1.641 (colored)

Introduce null console. This pseudo device acts as a normal console with the
exception that it discards any output, and is useful for booting the kernel
on headless boxes.

Revision 1.641 / (download) - annotate - [select for diffs], Mon Oct 13 08:34:15 2003 UTC (11 years ago) by dyoung
Branch: MAIN
Changes since 1.640: +16 -2 lines
Diff to previous 1.640 (colored)

Complete replacement of the old 802.11 layer with the new.

Revision 1.640 / (download) - annotate - [select for diffs], Fri Oct 10 21:26:38 2003 UTC (11 years ago) by jdolecek
Branch: MAIN
Changes since 1.639: +2 -2 lines
Diff to previous 1.639 (colored)

move MI majors config file from sys/dev/majors to sys/conf/majors

Revision 1.639 / (download) - annotate - [select for diffs], Fri Oct 10 06:13:02 2003 UTC (11 years ago) by grog
Branch: MAIN
Changes since 1.638: +6 -1 lines
Diff to previous 1.638 (colored)

Include Vinum.

Revision 1.638 / (download) - annotate - [select for diffs], Wed Oct 8 20:57:59 2003 UTC (11 years ago) by bouyer
Branch: MAIN
Changes since 1.637: +6 -6 lines
Diff to previous 1.637 (colored)

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.

Revision 1.637 / (download) - annotate - [select for diffs], Wed Oct 8 10:58:12 2003 UTC (11 years ago) by bouyer
Branch: MAIN
Changes since 1.636: +9 -6 lines
Diff to previous 1.636 (colored)

Make the ATA mid-layer appears as atabus, as proposed in
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.

Revision 1.636 / (download) - annotate - [select for diffs], Sun Oct 5 08:04:24 2003 UTC (11 years ago) by jdolecek
Branch: MAIN
Changes since 1.635: +4 -1 lines
Diff to previous 1.635 (colored)

Add some framework for MI assignment of device majors - add sys/dev/majors
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@

Revision 1.635 / (download) - annotate - [select for diffs], Tue Sep 30 00:35:30 2003 UTC (11 years ago) by thorpej
Branch: MAIN
Changes since 1.634: +4 -9 lines
Diff to previous 1.634 (colored)

New generic I2C framework.  Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc.  Primarily written by Steve Woodford,
with some modification by me.

Revision 1.634 / (download) - annotate - [select for diffs], Thu Sep 25 15:58:14 2003 UTC (11 years ago) by pooka
Branch: MAIN
Changes since 1.633: +11 -1 lines
Diff to previous 1.633 (colored)

autoconf goop for iavc

Revision 1.633 / (download) - annotate - [select for diffs], Mon Sep 22 17:26:14 2003 UTC (11 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.632: +10 -4 lines
Diff to previous 1.632 (colored)

Make COMPAT_xx imply all later COMPAT_yy.  (COMPAT_09 implies all whereas
COMPAT_14 just implies COMPAT_1[56]).  This means COMPAT_xy implies NetBSD
compatibility for NetBSD x.y OR LATER.

Revision 1.632 / (download) - annotate - [select for diffs], Fri Sep 12 11:20:57 2003 UTC (11 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.631: +3 -3 lines
Diff to previous 1.631 (colored)

merge netipsec/key* into netkey/key*.  no need for both.
change confusing filename

Revision 1.631 / (download) - annotate - [select for diffs], Tue Aug 26 19:23:49 2003 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.630: +1 -5 lines
Diff to previous 1.630 (colored)

Duh, remove clock_subr attribute; I am blind today.

Revision 1.630 / (download) - annotate - [select for diffs], Tue Aug 26 19:20:44 2003 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.629: +5 -5 lines
Diff to previous 1.629 (colored)

Slight cosmetic tweak to last.

Revision 1.629 / (download) - annotate - [select for diffs], Tue Aug 26 19:19:36 2003 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.628: +5 -1 lines
Diff to previous 1.628 (colored)

Define an attribute for clock_subr.c

Revision 1.628 / (download) - annotate - [select for diffs], Tue Aug 26 17:54:33 2003 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.627: +2 -4 lines
Diff to previous 1.627 (colored)

Some slight cleanup.

Revision 1.627 / (download) - annotate - [select for diffs], Sun Aug 24 19:21:11 2003 UTC (11 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.626: +1 -2 lines
Diff to previous 1.626 (colored)

Move the opencrypto defpseudo into files.opencrypto.

Revision 1.626 / (download) - annotate - [select for diffs], Sun Aug 24 19:19:54 2003 UTC (11 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.625: +6 -8 lines
Diff to previous 1.625 (colored)

Make opencrypto explicitly depend on the "des" attribute.  Also pull
in zlib.c explicitly if opencrypto is included.

Revision 1.625 / (download) - annotate - [select for diffs], Fri Aug 8 18:54:39 2003 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.624: +1 -2 lines
Diff to previous 1.624 (colored)

exec_elf_common.c is no more.

Revision 1.624 / (download) - annotate - [select for diffs], Mon Jul 28 21:28:24 2003 UTC (11 years, 2 months ago) by jonathan
Branch: MAIN
Changes since 1.623: +9 -1 lines
Diff to previous 1.623 (colored)

Clean up dependencies between opencrypto framework and sys/crypto,
by making the sys/crypto transforms depend on
	(per-transform-config-keyword|opencrypto)

Thanks to  Martin Husemann for double-checking the changes.

Revision 1.623 / (download) - annotate - [select for diffs], Sun Jul 27 01:17:37 2003 UTC (11 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.622: +2 -1 lines
Diff to previous 1.622 (colored)

Since everyone uses clock_subr.c (or should, if they don't currently),
list it in conf/files instead of in every port's files.*.

Revision 1.622 / (download) - annotate - [select for diffs], Sat Jul 26 10:26:59 2003 UTC (11 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.621: +2 -2 lines
Diff to previous 1.621 (colored)

Disable opencrypto for now - the previous commit obviously has not even been
test compiled on a single arch.

Revision 1.621 / (download) - annotate - [select for diffs], Fri Jul 25 21:12:39 2003 UTC (11 years, 3 months ago) by jonathan
Branch: MAIN
Changes since 1.620: +4 -1 lines
Diff to previous 1.620 (colored)

Commit initial NetBSD port of the OpenCrypto Framework (OCF).  This
code is derived from Sam Leffler's FreeBSD port of OCF, which is in
turn a port of Angelos Keromytis's OpenBSD work.
Credit to Sam and Angelos, any blame for the NetBSD port to me.

Revision 1.620 / (download) - annotate - [select for diffs], Fri Jul 25 10:00:51 2003 UTC (11 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.619: +2 -1 lines
Diff to previous 1.619 (colored)

add AH/ESP algorithms: hmac-ripemd160 (AH), AES XCBC MAC (AH),
AES counter mode (ESP)

Revision 1.619 / (download) - annotate - [select for diffs], Tue Jul 22 03:24:23 2003 UTC (11 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.618: +2 -1 lines
Diff to previous 1.618 (colored)

add hmac-sha2 support.  various cleanups (like avoid hardcoding '16').
from kame

Revision 1.618 / (download) - annotate - [select for diffs], Mon Jul 21 05:35:49 2003 UTC (11 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.617: +6 -6 lines
Diff to previous 1.617 (colored)

Include sysmon earlier.

Revision 1.617 / (download) - annotate - [select for diffs], Sun Jul 6 22:56:08 2003 UTC (11 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.616: +6 -1 lines
Diff to previous 1.616 (colored)

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.

Revision 1.616 / (download) - annotate - [select for diffs], Thu Jul 3 01:42:10 2003 UTC (11 years, 3 months ago) by enami
Branch: MAIN
Changes since 1.615: +2 -1 lines
Diff to previous 1.615 (colored)

defparam SOMAXKVA.

Revision 1.615 / (download) - annotate - [select for diffs], Mon Jun 2 22:51:49 2003 UTC (11 years, 4 months ago) by uwe
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.614: +2 -2 lines
Diff to previous 1.614 (colored)

igsfb needs-flag.

Revision 1.614 / (download) - annotate - [select for diffs], Mon Jun 2 04:12:07 2003 UTC (11 years, 4 months ago) by gmcgarry
Branch: MAIN
Changes since 1.613: +2 -1 lines
Diff to previous 1.613 (colored)

Add gpibdev attribute

Revision 1.613 / (download) - annotate - [select for diffs], Mon May 26 21:11:04 2003 UTC (11 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.612: +2 -2 lines
Diff to previous 1.612 (colored)

Add KGDB_DEVPORT, for machines where KGDB_DEVADDR describes (for example)
a dual uart and we need a port discriminator to decide where to attach
kgdb.

Revision 1.612 / (download) - annotate - [select for diffs], Wed May 14 22:45:03 2003 UTC (11 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.611: +1 -2 lines
Diff to previous 1.611 (colored)

no need to compile net_osdep.c.  simplify net_osdep.h conditions (remove
bsdi/freebsd/openbsd stuff)

Revision 1.611 / (download) - annotate - [select for diffs], Tue May 13 15:42:33 2003 UTC (11 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.610: +2 -1 lines
Diff to previous 1.610 (colored)

Add support for the user-generated command interface and event logging
required by the ICP-Vortex management tools.  Many thanks to Achim Leubner
at ICP-Vortex for a few bug fixes and for testing.

Revision 1.610 / (download) - annotate - [select for diffs], Thu Apr 24 20:04:03 2003 UTC (11 years, 6 months ago) by ragge
Branch: MAIN
Changes since 1.609: +3 -2 lines
Diff to previous 1.609 (colored)

Include kern_ksyms if ksyms | ddb | lkm. Never include db_elf.c.

Revision 1.609 / (download) - annotate - [select for diffs], Sat Apr 19 19:29:10 2003 UTC (11 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.608: +8 -1 lines
Diff to previous 1.608 (colored)

Changes for newer ahc driver, and ahd driver (the latter is a placeholder
until it's actually added, soon).

Revision 1.608 / (download) - annotate - [select for diffs], Wed Apr 16 22:02:59 2003 UTC (11 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.607: +5 -5 lines
Diff to previous 1.607 (colored)

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters.  Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley.  Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.

Revision 1.607 / (download) - annotate - [select for diffs], Fri Apr 11 14:45:27 2003 UTC (11 years, 6 months ago) by drochner
Branch: MAIN
Changes since 1.606: +3 -2 lines
Diff to previous 1.606 (colored)

Rename the IPR_VJ option into IRIP_VJ (as irip(4) told all the time),
create an opt_ header and make the dependency on slcompress.c more exact.
(OK by martin)

Revision 1.606 / (download) - annotate - [select for diffs], Thu Apr 10 22:06:51 2003 UTC (11 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.605: +1 -2 lines
Diff to previous 1.605 (colored)

Bye Bye UCONSOLE

Revision 1.605 / (download) - annotate - [select for diffs], Sun Apr 6 09:48:41 2003 UTC (11 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.604: +5 -1 lines
Diff to previous 1.604 (colored)

Add MI NCR/Symbios 53c700 SCSI driver.
This "oosiop" driver was originally written by Shuichiro URATA
for arc port, and then it was modified by me to make it work
also on hp700.

This driver has been tested on my NEC Express5800/240 with 53c700-66
for several months, and also tested on HP9000 735/125 with 53c700
(though current hp700 port has been broken since SA merge).
Both sync transfer and disconnect/reselect work fine,
but tagged queuing is not implemented yet.

Revision 1.604 / (download) - annotate - [select for diffs], Sun Mar 16 11:50:27 2003 UTC (11 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.603: +2 -2 lines
Diff to previous 1.603 (colored)

union fs moved from miscfs/union to fs/union
omission pointed out by Martti Kuparinen

Revision 1.603 / (download) - annotate - [select for diffs], Thu Feb 27 19:22:49 2003 UTC (11 years, 7 months ago) by perseant
Branch: MAIN
Changes since 1.602: +2 -1 lines
Diff to previous 1.602 (colored)

Make BRIDGE_IPF an option, and document it.  Add it (commented) to GENERIC.
Let brconfig tell whether the bridge is using the ipfilter hook, or not.

Revision 1.602 / (download) - annotate - [select for diffs], Wed Feb 26 06:31:08 2003 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.601: +2 -1 lines
Diff to previous 1.601 (colored)

Add MBUFTRACE kernel option.
Do a little mbuf rework while here.  Change all uses of MGET*(*, M_WAIT, *)
to m_get*(M_WAIT, *).  These are not performance critical and making them
call m_get saves considerable space.  Add m_clget analogue of MCLGET and
make corresponding change for M_WAIT uses.
Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE.
Begin to change netstat to use sysctl.

Revision 1.601 / (download) - annotate - [select for diffs], Thu Feb 20 22:16:06 2003 UTC (11 years, 8 months ago) by atatat
Branch: MAIN
Changes since 1.600: +2 -1 lines
Diff to previous 1.600 (colored)

Introduce "top down" memory management for mmap()ed allocations.  This
means that the dynamic linker gets mapped in at the top of available
user virtual memory (typically just below the stack), shared libraries
get mapped downwards from that point, and calls to mmap() that don't
specify a preferred address will get mapped in below those.

This means that the heap and the mmap()ed allocations will grow
towards each other, allowing one or the other to grow larger than
before.  Previously, the heap was limited to MAXDSIZ by the placement
of the dynamic linker (and the process's rlimits) and the space
available to mmap was hobbled by this reservation.

This is currently only enabled via an *option* for the i386 platform
(though other platforms are expected to follow).  Add "options
USE_TOPDOWN_VM" to your kernel config file, rerun config, and rebuild
your kernel to take advantage of this.

Note that the pmap_prefer() interface has not yet been modified to
play nicely with this, so those platforms require a bit more work
(most notably the sparc) before they can use this new memory
arrangement.

This change also introduces a VM_DEFAULT_ADDRESS() macro that picks
the appropriate default address based on the size of the allocation or
the size of the process's text segment accordingly.  Several drivers
and the SYSV SHM address assignment were changed to use this instead
of each one picking their own "default".

Revision 1.600 / (download) - annotate - [select for diffs], Tue Feb 18 12:20:19 2003 UTC (11 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.599: +2 -1 lines
Diff to previous 1.599 (colored)

need to include netsmb/files.netsmb

Revision 1.599 / (download) - annotate - [select for diffs], Tue Feb 18 12:18:28 2003 UTC (11 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.598: +1 -14 lines
Diff to previous 1.598 (colored)

move netsmb-specific entries to netsmb/files.netsmb
g/c options SMB and opt_smb.h
rename the pseudo device to nsmb, and use needs-flag instead needs-count,
 adjust nsmbattach() appropriately
replace SMB_CHECKMINOR() with explicit code in smb_dev.c, to improve readability

Revision 1.598 / (download) - annotate - [select for diffs], Mon Feb 10 15:20:04 2003 UTC (11 years, 8 months ago) by atatat
Branch: MAIN
Changes since 1.597: +1 -2 lines
Diff to previous 1.597 (colored)

Sorry.  That's not for public consumption yet.

Revision 1.597 / (download) - annotate - [select for diffs], Mon Feb 10 00:35:17 2003 UTC (11 years, 8 months ago) by atatat
Branch: MAIN
Changes since 1.596: +4 -1 lines
Diff to previous 1.596 (colored)

Add a kern.dump_on_panic sysctl variable (and documentation, and a
kernel config option) that controls whether the kernel dumps to the
dump device on panic.  Dumps can still be forced via the ``sync''
command from ddb.  Defaults to ``on''.

Revision 1.596 / (download) - annotate - [select for diffs], Wed Feb 5 18:07:46 2003 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.595: +4 -2 lines
Diff to previous 1.595 (colored)

Add ${EXTRA_OBJ} so that pre-compiled .o's can be linked into the kernel.

Revision 1.595 / (download) - annotate - [select for diffs], Tue Feb 4 01:21:03 2003 UTC (11 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.594: +2 -1 lines
Diff to previous 1.594 (colored)

New callout implementation.  This is based on callwheel implementation
done by Artur Grabowski and Thomas Nordin for OpenBSD, which is more
efficient in several ways than the callwheel implementation that it is
replacing.  It has been adapted to our pre-existing callout API, and
also provides the slightly more efficient (and much more intuitive)
API (adapted to the callout_*() naming scheme) that the OpenBSD version
provides.

Among other things, this shaves a bunch of cycles off rescheduling-in-
the-future a callout which is already scheduled, which the common case
for TCP timers (notably REXMT and KEEP).

The API has been simplified a bit, as well.  The (very confusing to
a good many people) "ACTIVE" state for callouts has gone away.  There
is now only "PENDING" (scheduled to fire in the future) and "EXPIRED"
(has fired, and the function called).

Kernel version bump not done; we'll ride the 1.6N bump that happened
with the malloc(9) change.

Revision 1.594 / (download) - annotate - [select for diffs], Mon Feb 3 23:02:42 2003 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.593: +2 -1 lines
Diff to previous 1.593 (colored)

Allow "the forcing of root on md0a to single user" to be overriden by using
options MEMORY_RBFLAGS=0    (XXX forcing to single user needs to die).

Revision 1.593 / (download) - annotate - [select for diffs], Fri Jan 31 21:57:23 2003 UTC (11 years, 8 months ago) by tsutsui
Branch: MAIN
Changes since 1.592: +2 -1 lines
Diff to previous 1.592 (colored)

Changes to allow machines which don't use text mode at the boot time
to use generic VGA driver(s):
- Allow VGA drivers to use wsfont instead of builtin font.
- Add vga_reset() function, which will be called from MD consinit(),
  to put VGA into text mode. This function is enabled by options VGA_RESET.

Revision 1.592 / (download) - annotate - [select for diffs], Mon Jan 20 20:02:01 2003 UTC (11 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.591: +3 -1 lines
Diff to previous