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.1304.2.1 / (download) - annotate - [select for diffs], Fri Jan 13 19:00:21 2023 UTC (2 weeks, 4 days ago) by martin
Branch: netbsd-10
Changes since 1.1304: +1 -2 lines
Diff to previous 1.1304 (colored) next main 1.1305 (colored)

Pull up following revision(s) (requested by jakllsch in ticket #45):

	sys/secmodel/suser/secmodel_suser.c: revision 1.56
	sys/sys/kauth.h: revision 1.88
	sys/arch/sparc/conf/INSTALL: revision 1.106
	share/examples/secmodel/secmodel_example.c: revision 1.29
	sys/conf/files: revision 1.1306

remove lingering strip(4) remnants

more strip(4) removal, this time in kauth(9)

Revision 1.1306 / (download) - annotate - [select for diffs], Wed Dec 28 18:19:44 2022 UTC (4 weeks, 6 days ago) by jakllsch
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1305: +1 -2 lines
Diff to previous 1.1305 (colored)

remove lingering strip(4) remnants

Revision 1.1305 / (download) - annotate - [select for diffs], Mon Dec 19 23:19:51 2022 UTC (6 weeks, 1 day ago) by pgoyette
Branch: MAIN
Changes since 1.1304: +3 -2 lines
Diff to previous 1.1304 (colored)

Create compat_100 module infrastructure now that we have branched
for NetBSD-10

Revision 1.1304 / (download) - annotate - [select for diffs], Sat Dec 3 01:04:42 2022 UTC (8 weeks, 4 days ago) by brad
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.1303: +5 -1 lines
Diff to previous 1.1303 (colored)



Split the BMP280 / BME280 driver into common code and create I2C and
SPI attachments.

Revision 1.1303 / (download) - annotate - [select for diffs], Sat Nov 5 17:31:38 2022 UTC (2 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.1302: +6 -1 lines
Diff to previous 1.1302 (colored)

Add driver for Cadence I2C controller.

Revision 1.1302 / (download) - annotate - [select for diffs], Fri Oct 28 07:16:34 2022 UTC (3 months ago) by skrll
Branch: MAIN
Changes since 1.1301: +3 -1 lines
Diff to previous 1.1301 (colored)

MI PMAP EFI_RUNTIME support

Revision 1.1301 / (download) - annotate - [select for diffs], Sun Jul 24 18:04:48 2022 UTC (6 months, 1 week ago) by mrg
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.1300: +2 -2 lines
Diff to previous 1.1300 (colored)

use defparam; noted by tnn@.

Revision 1.1300 / (download) - annotate - [select for diffs], Sat Jul 23 19:15:28 2022 UTC (6 months, 1 week ago) by mrg
Branch: MAIN
Changes since 1.1299: +3 -1 lines
Diff to previous 1.1299 (colored)

make MAXLWP a real option that triggers rebuilds properly.

Revision 1.1299 / (download) - annotate - [select for diffs], Wed Jul 20 10:01:11 2022 UTC (6 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.1298: +3 -1 lines
Diff to previous 1.1298 (colored)

drm: Use CPPFLAGS.drmkms in all local drm drivers too.

This way we don't pollute the NetBSD kernel namespace with all the
Linux compat shim definitions needed to build drm, except for the
local drm drivers that need the API.

Revision 1.1298 / (download) - annotate - [select for diffs], Sun Jun 5 13:35:52 2022 UTC (7 months, 3 weeks ago) by rjs
Branch: MAIN
Changes since 1.1297: +2 -2 lines
Diff to previous 1.1297 (colored)

bwfm(4) uses firmload.

Revision 1.1297 / (download) - annotate - [select for diffs], Sat May 7 04:30:41 2022 UTC (8 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.1296: +2 -1 lines
Diff to previous 1.1296 (colored)

Add MODULAR_DEFAULT_VERBOSE option.

Revision 1.1296 / (download) - annotate - [select for diffs], Thu Mar 24 02:24:24 2022 UTC (10 months, 1 week ago) by manu
Branch: MAIN
Changes since 1.1295: +5 -1 lines
Diff to previous 1.1295 (colored)

Add initial support for Intel GPIO chips

Revision 1.1295 / (download) - annotate - [select for diffs], Wed Feb 16 20:14:30 2022 UTC (11 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.1294: +8 -1 lines
Diff to previous 1.1294 (colored)

sys: Include files.acpica unconditionally.

This way acpica.h always exists unconditionally, so MI code can be
conditional on NACPICA.

It is not great to have such conditionals, but it's better to have

	#include "acpica.h"

	#ifdef NACPICA > 0

than to have

	#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
	#include "acpica.h"
	#endif

	#ifdef NACPICA > 0

and we can still grep for NACPICA to find places that could be
factored better.

Revision 1.1294 / (download) - annotate - [select for diffs], Mon Jan 17 16:33:00 2022 UTC (12 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.1293: +5 -1 lines
Diff to previous 1.1293 (colored)

Re-factor and overhaul the "mcp23s17gpio" driver as "mcpgpio", and
add support for 8-bit and I2C variants of the chip:
- MCP23008 / MCP23S08: 8-bit (I2C / SPI)
- MCP23017 / MCP23S17: 16-bit (I2C / SPI)
- MCP23018 / MCP23S18: 16-bit (I2C / SPI), open-drain outputs

The MCP23x17 and MCP23x18 are essentially identical, software-wise; we
merely report different GPIO pin capabilities (no push-pull output for
MCP23x18).  Also, remove the tri-state capability that was previously
advertised by the old version of this driver; these chips have no way
to put the pin into a HI-Z mode.

All 3 I2C versions are supported, but the SPI front-end still only
supports the MCP23S17 for now (SPI autoconfiguration needs an overhaul).

mcp23s17gpio(4) remains present as a link to the new mcpgpio(4) man page.

XXX Still to-do: FDT integration, interrupt suppoort.

(File missed in prior commit.)

Revision 1.1293 / (download) - annotate - [select for diffs], Mon Jan 3 17:19:41 2022 UTC (12 months, 4 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.1292: +6 -2 lines
Diff to previous 1.1292 (colored)

Add driver for DesignWare Ethernet Quality-of-Service controller.

Revision 1.1292 / (download) - annotate - [select for diffs], Sat Jan 1 10:32:29 2022 UTC (13 months ago) by msaitoh
Branch: MAIN
Changes since 1.1291: +3 -3 lines
Diff to previous 1.1291 (colored)

s/sytem/system/

Revision 1.1291 / (download) - annotate - [select for diffs], Tue Dec 7 17:39:54 2021 UTC (13 months, 3 weeks ago) by brad
Branch: MAIN
Changes since 1.1290: +5 -1 lines
Diff to previous 1.1290 (colored)



A driver and user land utility for the Sparkfun Serial Controlled Motor
Driver module as illustrated here:

https://www.sparkfun.com/products/13911

A SCMD module is a ARM SOC simular to a Arduino in front of a motor
driver chip.  The single SCMD module can control two motors and up to
16 additional modules can be chained together using an internal I2C
bus.  One can interface with the SCMD using tty uart commands, SPI or
I2C.  The driver in this commit adds a kernel driver for the I2C and
SPI interfaces.  The command line utility provides a set of
convenience commands that support most of the functions of the SCMD
and is able to use the tty uart mode, SPI user land or the included
kernel driver in a uniform manor.

The use of the SCMD module is mostly for small robots and the like,
but it can control anything that is controllable by voltage.

Revision 1.1290 / (download) - annotate - [select for diffs], Fri Nov 19 23:46:54 2021 UTC (14 months, 1 week ago) by rin
Branch: MAIN
Changes since 1.1289: +2 -1 lines
Diff to previous 1.1289 (colored)

ahcisata(4): Introduce AHCI_QUIRK_EXTRA_DELAY quirk for devices that
need extra delays as done by AHCISATA_EXTRA_DELAY option.

Enable this quirk for "C600/X79 AHCI". Also add commented out quirk
entries for "Bay Trail SATA (AHCI)" and "Mobile AHCI SATA Controller",
for which non-reproducible failures worked around by extra delays have
been reported.

500 ms of delays inserted by these option/quirk may be too much. Add
AHCISATA_EXTRA_DELAY_MS option to adjust number of delays in ms, like:

----
options 	AHCISATA_EXTRA_DELAY_MS=200
----

Thanks prlw1@ and jun@ for testing!

Revision 1.1173.2.10 / (download) - annotate - [select for diffs], Mon Oct 25 15:49:48 2021 UTC (15 months, 1 week ago) by martin
Branch: netbsd-8
Changes since 1.1173.2.9: +2 -1 lines
Diff to previous 1.1173.2.9 (colored) to branchpoint 1.1173 (colored) next main 1.1174 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1703):

	sys/conf/files: revision 1.1288
	sys/kern/uipc_mbuf.c: revision 1.244
	share/man/man4/options.4: revision 1.520

Fix a bug that NMBCLUSTERS(kern.mbuf.nmbclusters) can't be changed by sysctl.

Update the description of the NMBCLUSTERS. Add NMBCLUSTERS_MAX.

defparam NMBCLUSTERS_MAX.

Revision 1.1237.2.6 / (download) - annotate - [select for diffs], Mon Oct 25 15:47:50 2021 UTC (15 months, 1 week ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.1237.2.5: +2 -1 lines
Diff to previous 1.1237.2.5 (colored) to branchpoint 1.1237 (colored) next main 1.1238 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1368):

	sys/conf/files: revision 1.1288
	sys/kern/uipc_mbuf.c: revision 1.244
	share/man/man4/options.4: revision 1.520

Fix a bug that NMBCLUSTERS(kern.mbuf.nmbclusters) can't be changed by sysctl.

Update the description of the NMBCLUSTERS. Add NMBCLUSTERS_MAX.

defparam NMBCLUSTERS_MAX.

Revision 1.1289 / (download) - annotate - [select for diffs], Mon Oct 11 13:42:33 2021 UTC (15 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.1288: +2 -1 lines
Diff to previous 1.1288 (colored)

add defflag for AHCISATA_EXTRA_DELAY

Revision 1.1288 / (download) - annotate - [select for diffs], Mon Oct 11 03:50:45 2021 UTC (15 months, 3 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.1287: +2 -1 lines
Diff to previous 1.1287 (colored)

defparam NMBCLUSTERS_MAX.

Revision 1.1279.4.2 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:20 2021 UTC (18 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.1279.4.1: +2 -1 lines
Diff to previous 1.1279.4.1 (colored) to branchpoint 1.1279 (colored) next main 1.1280 (colored)

Sync with HEAD.

Revision 1.1287 / (download) - annotate - [select for diffs], Wed Jul 21 23:16:09 2021 UTC (18 months, 1 week ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.1286: +2 -1 lines
Diff to previous 1.1286 (colored)

Separate MI smbios interface from MD specific code.

Revision 1.1279.4.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:27 2021 UTC (19 months, 2 weeks ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.1279: +9 -1 lines
Diff to previous 1.1279 (colored)

Sync w/ HEAD.

Revision 1.1286 / (download) - annotate - [select for diffs], Tue Jun 1 03:51:33 2021 UTC (20 months ago) by yamaguchi
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x
Changes since 1.1285: +2 -1 lines
Diff to previous 1.1285 (colored)

Fix not to do if_down() before reconnect

Almost network interface do not use if_down() even when there is no
connectivity. So, pppoe(4) is also made be not used it.
This behavior can be rollbacked by SPPP_IFDOWN_RECONNECT option.

Revision 1.1279.6.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:17 2021 UTC (20 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.1279: +8 -1 lines
Diff to previous 1.1279 (colored) next main 1.1280 (colored)

sync with head

Revision 1.1285 / (download) - annotate - [select for diffs], Sat May 29 12:03:34 2021 UTC (20 months ago) by simonb
Branch: MAIN
CVS Tags: cjep_staticlib_x-base1
Changes since 1.1284: +2 -1 lines
Diff to previous 1.1284 (colored)

Put the MSGBUFSIZE option in opt_param.h so that changes of its setting
in kernel config files will be picked up automatically without needing
a "make clean".  Added to opt_param.h since ports define their default
MSGBUFSIZE settings in their <arch/include/param.h> (or equivalent).

Revision 1.1284 / (download) - annotate - [select for diffs], Wed May 19 03:44:46 2021 UTC (20 months, 2 weeks ago) by yamaguchi
Branch: MAIN
Changes since 1.1283: +2 -1 lines
Diff to previous 1.1283 (colored)

Added a kernel option to change the number of processing packets
at one pppoeintr()

Revision 1.1283 / (download) - annotate - [select for diffs], Mon May 17 04:07:43 2021 UTC (20 months, 2 weeks ago) by yamaguchi
Branch: MAIN
Changes since 1.1282: +2 -1 lines
Diff to previous 1.1282 (colored)

Add a new link-aggregation pseudo interface named lagg(4)

 - FreeBSD's lagg(4) based implementation
 - MP-safe and MP-scalable

Revision 1.1282 / (download) - annotate - [select for diffs], Fri May 14 08:41:25 2021 UTC (20 months, 2 weeks ago) by yamaguchi
Branch: MAIN
Changes since 1.1281: +2 -1 lines
Diff to previous 1.1281 (colored)

Add a parameter to change keepalive interval in each PPPoE I/F

Revision 1.1281 / (download) - annotate - [select for diffs], Fri May 14 08:31:14 2021 UTC (20 months, 2 weeks ago) by yamaguchi
Branch: MAIN
Changes since 1.1280: +2 -1 lines
Diff to previous 1.1280 (colored)

Added SPPP_NORECV_TIME option to change pp_max_noreceive

Revision 1.1280 / (download) - annotate - [select for diffs], Fri May 14 08:06:32 2021 UTC (20 months, 2 weeks ago) by yamaguchi
Branch: MAIN
Changes since 1.1279: +3 -1 lines
Diff to previous 1.1279 (colored)

Introduce SPPP_KEEPALIVE_INTERVAL option
to change the interval between LCP echo requests

Revision 1.1277.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:42 2021 UTC (21 months, 4 weeks ago) by thorpej
Branch: thorpej-futex
Changes since 1.1277: +2 -2 lines
Diff to previous 1.1277 (colored) next main 1.1278 (colored)

Sync with HEAD.

Revision 1.1279 / (download) - annotate - [select for diffs], Sat Feb 6 16:03:31 2021 UTC (23 months, 3 weeks ago) by dbj
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.1278: +2 -1 lines
Diff to previous 1.1278 (colored)

defflag USBHIST_PRINT

Revision 1.1278 / (download) - annotate - [select for diffs], Sat Jan 16 23:51:50 2021 UTC (2 years ago) by chs
Branch: MAIN
Changes since 1.1277: +1 -2 lines
Diff to previous 1.1277 (colored)

remove unused "_DIAGNOSTIC" option and opt_diagnostic.h.
note that this is unrelated to the widely used "DIAGNOSTIC" option.

Revision 1.1277 / (download) - annotate - [select for diffs], Tue Oct 27 08:57:11 2020 UTC (2 years, 3 months ago) by ryo
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.1276: +4 -1 lines
Diff to previous 1.1276 (colored)

move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling

- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h},
  and split the attach part of the cpufeaturebus and fdt
- add aarch64 vmware backdoor op
- add include guard to vmt{reg,var}.h
- Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb

Revision 1.1276 / (download) - annotate - [select for diffs], Sun Sep 27 19:08:11 2020 UTC (2 years, 4 months ago) by roy
Branch: MAIN
Changes since 1.1275: +2 -1 lines
Diff to previous 1.1275 (colored)

Wups, forgot to commit this with vether.

Revision 1.1275 / (download) - annotate - [select for diffs], Thu Aug 20 21:21:31 2020 UTC (2 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.1274: +8 -1 lines
Diff to previous 1.1274 (colored)

[ozaki-r] Changes to the kernel core for wireguard

Revision 1.1274 / (download) - annotate - [select for diffs], Sat Aug 1 08:20:52 2020 UTC (2 years, 6 months ago) by maxv
Branch: MAIN
Changes since 1.1273: +1 -2 lines
Diff to previous 1.1273 (colored)

Remove references to BRIDGE_IPF, it is now compiled in by default.

Revision 1.1273 / (download) - annotate - [select for diffs], Sat Jul 25 22:46:34 2020 UTC (2 years, 6 months ago) by riastradh
Branch: MAIN
Changes since 1.1272: +2 -1 lines
Diff to previous 1.1272 (colored)

New ChaCha API in kernel.

This will enable us to adopt MD vectorized implementations of ChaCha.

Revision 1.1272 / (download) - annotate - [select for diffs], Sat Jul 25 22:26:23 2020 UTC (2 years, 6 months ago) by riastradh
Branch: MAIN
Changes since 1.1271: +2 -2 lines
Diff to previous 1.1271 (colored)

Convert ieee80211_crypto_ccmp.c to new aes_ccm API.

This will make it easier to provide better hardware acceleration
without fpu enabling/disabling overhead for each block of data.

Revision 1.1271 / (download) - annotate - [select for diffs], Mon Jun 29 23:44:01 2020 UTC (2 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.1270: +3 -2 lines
Diff to previous 1.1270 (colored)

New cgd cipher adiantum.

Adiantum is a wide-block cipher, built out of AES, XChaCha12,
Poly1305, and NH, defined in

   Paul Crowley and Eric Biggers, `Adiantum: length-preserving
   encryption for entry-level processors', IACR Transactions on
   Symmetric Cryptology 2018(4), pp. 39--61.

Adiantum provides better security than a narrow-block cipher with CBC
or XTS, because every bit of each sector affects every other bit,
whereas with CBC each block of plaintext only affects the following
blocks of ciphertext in the disk sector, and with XTS each block of
plaintext only affects its own block of ciphertext and nothing else.

Adiantum generally provides much better performance than
constant-time AES-CBC or AES-XTS software do without hardware
support, and performance comparable to or better than the
variable-time (i.e., leaky) AES-CBC and AES-XTS software we had
before.  (Note: Adiantum also uses AES as a subroutine, but only once
per disk sector.  It takes only a small fraction of the time spent by
Adiantum, so there's relatively little performance impact to using
constant-time AES software over using variable-time AES software for
it.)

Adiantum naturally scales to essentially arbitrary disk sector sizes;
sizes >=1024-bytes take the most advantage of Adiantum's design for
performance, so 4096-byte sectors would be a natural choice if we
taught cgd to change the disk sector size.  (However, it's a
different cipher for each disk sector size, so it _must_ be a cgd
parameter.)

The paper presents a similar construction HPolyC.  The salient
difference is that HPolyC uses Poly1305 directly, whereas Adiantum
uses Poly1395(NH(...)).  NH is annoying because it requires a
1072-byte key, which means the test vectors are ginormous, and
changing keys is costly; HPolyC avoids these shortcomings by using
Poly1305 directly, but HPolyC is measurably slower, costing about
1.5x what Adiantum costs on 4096-byte sectors.

For the purposes of cgd, we will reuse each key for many messages,
and there will be very few keys in total (one per cgd volume) so --
except for the annoying verbosity of test vectors -- the tradeoff
weighs in the favour of Adiantum, especially if we teach cgd to do
>>512-byte sectors.

For now, everything that Adiantum needs beyond what's already in the
kernel is gathered into a single file, including NH, Poly1305, and
XChaCha12.  We can split those out -- and reuse them, and provide MD
tuned implementations, and so on -- as needed; this is just a first
pass to get Adiantum implemented for experimentation.

Revision 1.1270 / (download) - annotate - [select for diffs], Mon Jun 29 23:33:05 2020 UTC (2 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.1269: +2 -2 lines
Diff to previous 1.1269 (colored)

cgd(4): Switch from legacy rijndael API to new aes API.

Revision 1.1269 / (download) - annotate - [select for diffs], Mon Jun 29 23:27:52 2020 UTC (2 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.1268: +2 -2 lines
Diff to previous 1.1268 (colored)

Rework AES in kernel to finally address CVE-2005-1797.

1. Rip out old variable-time reference implementation.
2. Replace it by BearSSL's constant-time 32-bit logic.
   => Obtained from commit dda1f8a0c46e15b4a235163470ff700b2f13dcc5.
   => We could conditionally adopt the 64-bit logic too, which would
      likely give a modest performance boost on 64-bit platforms
      without AES-NI, but that's a bit more trouble.
3. Select the AES implementation at boot-time; allow an MD override.
   => Use self-tests to verify basic correctness at boot.
   => The implementation selection policy is rather rudimentary at
      the moment but it is isolated to one place so it's easy to
      change later on.

This (a) plugs a host of timing attacks on, e.g., cgd, and (b) paves
the way to take advantage of CPU support for AES -- both things we
should've done a decade ago.  Downside: Computing AES takes 2-3x the
CPU time.  But that's what hardware support will be coming for.

Rudimentary measurement of performance impact done by:

mount -t tmpfs tmpfs /tmp
dd if=/dev/zero of=/tmp/disk bs=1m count=512
vnconfig -cv vnd0 /tmp/disk
cgdconfig -s cgd0 /dev/vnd0 aes-cbc 256 < /dev/zero
dd if=/dev/rcgd0d of=/dev/null bs=64k
dd if=/dev/zero of=/dev/rcgd0d bs=64k

The AES-CBC encryption performance impact is closer to 3x because it
is inherently sequential; the AES-CBC decryption impact is closer to
2x because the bitsliced AES logic can process two blocks at once.

Discussed on tech-kern:

https://mail-index.NetBSD.org/tech-kern/2020/06/18/msg026505.html

Revision 1.1268 / (download) - annotate - [select for diffs], Sun Jun 7 09:45:19 2020 UTC (2 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.1267: +2 -1 lines
Diff to previous 1.1267 (colored)

Add fault(4).

Revision 1.1267 / (download) - annotate - [select for diffs], Wed May 20 09:18:25 2020 UTC (2 years, 8 months ago) by hkenken
Branch: MAIN
Changes since 1.1266: +2 -2 lines
Diff to previous 1.1266 (colored)

i.MX support merged into GENERIC kernel.

Revision 1.1264.2.2 / (download) - annotate - [select for diffs], Sat Apr 25 11:23:58 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.1264.2.1: +3 -3 lines
Diff to previous 1.1264.2.1 (colored) to branchpoint 1.1264 (colored) next main 1.1265 (colored)

Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.1266 / (download) - annotate - [select for diffs], Wed Apr 22 09:15:40 2020 UTC (2 years, 9 months ago) by rin
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.1265: +3 -3 lines
Diff to previous 1.1265 (colored)

Make crypto/rijindael optional again as cprng_strong does no longer
depend on it. Dependency is explicitly declared in files.foo if a
component requires it.

Revision 1.1200.2.3 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:14 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.1200.2.2: +1 -0 lines
Diff to previous 1.1200.2.2 (colored) to branchpoint 1.1200 (colored) next main 1.1201 (colored)

Sync with HEAD

Revision 1.1264.2.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:02 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.1264: +2 -1 lines
Diff to previous 1.1264 (colored)

Sync with HEAD

Revision 1.1265 / (download) - annotate - [select for diffs], Wed Apr 15 17:16:22 2020 UTC (2 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20200421, bouyer-xenpvh-base1
Changes since 1.1264: +2 -1 lines
Diff to previous 1.1264 (colored)

Introduce POOL_NOCACHE, simple option to cancel pool_caches and go directly
to the pool layer. It is taken out of POOL_QUARANTINE.

Advertise POOL_NOCACHE for kMSan rather than POOL_QUARANTINE. With kMSan
we are only interested in the no-caching effect, not the quarantine. This
reduces memory pressure on kMSan kernels.

Revision 1.1200.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:17 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.1200.2.1: +37 -50 lines
Diff to previous 1.1200.2.1 (colored) to branchpoint 1.1200 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.1264 / (download) - annotate - [select for diffs], Sat Apr 4 19:02:53 2020 UTC (2 years, 9 months ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Changes since 1.1263: +1 -2 lines
Diff to previous 1.1263 (colored)

remove also files.netsmb from here

Revision 1.1263 / (download) - annotate - [select for diffs], Sat Apr 4 15:43:22 2020 UTC (2 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.1262: +1 -2 lines
Diff to previous 1.1262 (colored)

remove SMBFS and nsmb(4) - kernel part

it's unmaintained and supports only obsolete SMB1

Revision 1.1262 / (download) - annotate - [select for diffs], Tue Mar 31 03:42:10 2020 UTC (2 years, 10 months ago) by nisimura
Branch: MAIN
Changes since 1.1261: +2 -2 lines
Diff to previous 1.1261 (colored)

dme needs mii

Revision 1.1237.2.5 / (download) - annotate - [select for diffs], Sun Mar 8 10:18:04 2020 UTC (2 years, 10 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.1237.2.4: +11 -1 lines
Diff to previous 1.1237.2.4 (colored) to branchpoint 1.1237 (colored)

Pull up following revision(s) (requested by pgoyette in ticket #757):

	sys/conf/files: revision 1.1257
	sys/conf/files: revision 1.1258
	sys/conf/files: revision 1.1259

mips64 has compat_netbsd32 but cannot have exec_aout; all other users
of compat_netbsd32 need exec_aout

Addresses PR kern/55037.
XXX pullup-9

Fix comment - thanks Ryo Shimizu

Also exclude EXEC_AOUT stuff for aarch64
XXX Pullup-9 and -8

Revision 1.1173.2.9 / (download) - annotate - [select for diffs], Sun Mar 8 09:42:29 2020 UTC (2 years, 10 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.1173.2.8: +7 -1 lines
Diff to previous 1.1173.2.8 (colored) to branchpoint 1.1173 (colored)

Pull up following revision(s) (requested by pgoyette in ticket #1514):

	sys/conf/files: revision 1.1257
	sys/conf/files: revision 1.1258

mips64 has compat_netbsd32 but cannot have exec_aout; all other users
of compat_netbsd32 need exec_aout
Addresses PR kern/55037.
XXX pullup-9

Fix comment - thanks Ryo Shimizu

Revision 1.1261 / (download) - annotate - [select for diffs], Sun Mar 8 00:18:41 2020 UTC (2 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.1260: +1 -3 lines
Diff to previous 1.1260 (colored)

undo previous since config has been fixed

Revision 1.1260 / (download) - annotate - [select for diffs], Sat Mar 7 18:08:47 2020 UTC (2 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.1259: +4 -2 lines
Diff to previous 1.1259 (colored)

Fix MIPS builds by working around an apparent bug in config(8)'s elif
handling.

Revision 1.1259 / (download) - annotate - [select for diffs], Thu Mar 5 21:08:36 2020 UTC (2 years, 10 months ago) by pgoyette
Branch: MAIN
Changes since 1.1258: +5 -3 lines
Diff to previous 1.1258 (colored)

Also exclude EXEC_AOUT stuff for aarch64

XXX Pullup-9 and -8

Revision 1.1258 / (download) - annotate - [select for diffs], Thu Mar 5 13:11:30 2020 UTC (2 years, 10 months ago) by pgoyette
Branch: MAIN
Changes since 1.1257: +3 -3 lines
Diff to previous 1.1257 (colored)

Fix comment - thanks Ryo Shimizu

Revision 1.1257 / (download) - annotate - [select for diffs], Wed Mar 4 02:20:56 2020 UTC (2 years, 10 months ago) by pgoyette
Branch: MAIN
Changes since 1.1256: +9 -1 lines
Diff to previous 1.1256 (colored)

mips64 has compat_netbsd32 but cannot have exec_aout; all other users
of compat_netbsd32 need exec_aout

Addresses PR kern/55037.

XXX pullup-9

Revision 1.1248.2.3 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:00 2020 UTC (2 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.1248.2.2: +5 -2 lines
Diff to previous 1.1248.2.2 (colored) to branchpoint 1.1248 (colored) next main 1.1249 (colored)

Sync with head.

Revision 1.1256 / (download) - annotate - [select for diffs], Sat Feb 22 00:28:35 2020 UTC (2 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.1255: +5 -1 lines
Diff to previous 1.1255 (colored)

Add support for Broadcom GENET v5 ethernet controller as found on the
Raspberry Pi 4 (BCM2711).

Revision 1.1255 / (download) - annotate - [select for diffs], Sat Feb 8 07:07:07 2020 UTC (2 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.1254: +1 -2 lines
Diff to previous 1.1254 (colored)

Retire KLEAK.

KLEAK was a nice feature and served its purpose; it allowed us to detect
dozens of info leaks on the kernel->userland boundary, and thanks to it we
tackled a good part of the infoleak problem 1.5 years ago.

Nowadays however, we have kMSan, which can detect uninitialized memory in
the kernel. kMSan supersedes KLEAK: it can detect what KLEAK was able to
detect, but in addition, (1) it operates in all of the kernel and not just
the kernel->userland boundary, (2) it requires no user interaction, and (3)
it is deterministic and not statistical.

That makes kMSan the feature of choice to detect info leaks nowadays;
people interested in detecting info leaks should boot a kMSan kernel and
just wait for the magic to happen.

KLEAK was a good ride, and a fun project, but now is time for it to go.

Discussed with several people, including Thomas Barabosch.

Revision 1.1248.2.2 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:45 2020 UTC (3 years ago) by ad
Branch: ad-namecache
Changes since 1.1248.2.1: +3 -29 lines
Diff to previous 1.1248.2.1 (colored) to branchpoint 1.1248 (colored)

Sync with head.

Revision 1.1237.2.4 / (download) - annotate - [select for diffs], Tue Jan 21 15:53:39 2020 UTC (3 years ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.1237.2.3: +2 -2 lines
Diff to previous 1.1237.2.3 (colored) to branchpoint 1.1237 (colored)

Pull up following revision(s) (requested by pgoyette in ticket #639):

	sys/conf/files: revision 1.1254

COMPAT_43 requires COMPAT_60

Revision 1.1237.2.3 / (download) - annotate - [select for diffs], Tue Jan 21 10:39:58 2020 UTC (3 years ago) by martin
Branch: netbsd-9
Changes since 1.1237.2.2: +5 -1 lines
Diff to previous 1.1237.2.2 (colored) to branchpoint 1.1237 (colored)

Pull up following revision(s) (requested by mrg in ticket #616):

	sys/dev/ic/anx_dp.c: revision 1.2
	sys/arch/evbarm/conf/GENERIC64: revision 1.126
	sys/dev/ic/anx_dp.h: revision 1.1
	sys/arch/evbarm/conf/GENERIC64: revision 1.128
	sys/dev/ic/anx_dp.h: revision 1.2
	sys/dev/fdt/dwcmmc_fdt.c: revision 1.9
	sys/dev/i2c/cwfg.c: revision 1.1
	sys/conf/files: revision 1.1247
	sys/dev/fdt/pwm_backlight.c: revision 1.5
	sys/dev/fdt/pwm_backlight.c: revision 1.6
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.14
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.15
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.16
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.17
	sys/dev/ic/dwc_mmc.c: revision 1.20
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.18
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.19
	sys/dev/usb/usbdevs: revision 1.775
	sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.4
	sys/dev/fdt/simple_amplifier.c: revision 1.1
	sys/dev/i2c/files.i2c: revision 1.105
	sys/arch/evbarm/conf/GENERIC64: revision 1.117
	sys/arch/evbarm/conf/GENERIC64: revision 1.118
	sys/dev/i2c/files.i2c: revision 1.107
	sys/dev/fdt/files.fdt: revision 1.49
	sys/arch/arm/rockchip/rk_anxdp.c: revision 1.1
	sys/dev/ic/dwc_mmc_var.h: revision 1.9
	sys/dev/i2c/rkpmic.c: revision 1.4
	sys/arch/arm/rockchip/rk_anxdp.c: revision 1.2
	sys/dev/i2c/rkpmic.c: revision 1.5
	sys/dev/i2c/rkpmic.c: revision 1.6
	sys/arch/arm/rockchip/rk_vop.c: revision 1.4
	sys/arch/arm/rockchip/rk_vop.c: revision 1.5
	sys/dev/i2c/rkpmic.c: revision 1.8
	sys/arch/arm/dts/rk3399-pinebook-pro.dts: revision 1.1
	sys/dev/usb/ums.c: revision 1.96 (via patch)
	sys/arch/arm/rockchip/rk_pwm.c: revision 1.3
	sys/arch/arm/dts/rk3399-pinebook-pro.dts: revision 1.2
	sys/dev/i2c/es8316ac.c: revision 1.1
	sys/dev/fdt/dwcmmc_fdt.c: revision 1.10
	sys/dev/i2c/es8316ac.c: revision 1.2
	sys/dev/fdt/fdt_panel.c: revision 1.1
	sys/dev/ic/dwc_mmc.c: revision 1.18
	sys/dev/fdt/fdt_panel.c: revision 1.2
	sys/dev/ic/dwc_mmc.c: revision 1.19
	sys/arch/arm/dts/rk3399-rockpro64.dts: revision 1.10
	sys/dev/fdt/fdt_port.c: revision 1.5
	sys/dev/ic/dwc_mmc_var.h: revision 1.10
	sys/dev/fdt/fdt_port.c: revision 1.6
	sys/arch/evbarm/conf/GENERIC64: revision 1.122
	sys/dev/ic/dwc_mmc_var.h: revision 1.11
	sys/dev/fdt/files.fdt: revision 1.50
	sys/arch/evbarm/conf/GENERIC64: revision 1.123
	sys/arch/arm/rockchip/rk_i2s.c: revision 1.2
	sys/arch/arm/rockchip/files.rockchip: revision 1.23
	sys/arch/evbarm/conf/GENERIC64: revision 1.124
	sys/dev/ic/anx_dp.c: revision 1.1

rkpmic: add RTC support; register w/ todr(9)
rkpmic: correct delay
Add support for SDIO interrupts.
fix copy/paste error in mux_pll_src_cpll_gpll_ppll_parents[]
add RK3399 eDP clocks
add RK3399 DisplayPort clocks
style fix/KNF
rk3399_cru: implement dclk_vop0_frac and dclk_vop1_frac
Move drm_encoder from rkvop(4) to the SoC-layer output pipe drivers (rk_dwhdmi).
rkvop: set stride using virtual framebuffer width instead of display mode
rk3399_cru: Reparent dclk_vop[01] to gpll via dclk_vop[01]_frac.
The previous source of dclk_vop[01] was vpll via dclk_vop[01]_div.
vpll is apparently used directly as a pixel clock source for the
HDMI PHY, and we don't want the other VOP's dclk changing out from
under it because we can't handle finding a replacement clock source
with the right rate yet.
gpll happens to run at 594MHz, which works well as a basis for pixel
clocks.
Linux suggests that the source clock of the fractional divider needs
to be more than twenty times greater than the resulting clock (or some
intermediate clock?) for output stability.  This may not be the case
with 594MHz and the common pixel clocks I see used by displays in my
area of the wild, but it works for now.
add Analogix DisplayPort core driver
add Rockchip (RK3399) glue for Analogix DisplayPort core
add anxdp(4)
Add another panel@fdt driver, this time for DRM-style panels.
To do: migrate away from other panel driver.
enable panel at fdt drivers
paper over the rkpwm get_conf function that otherwise doesn't seem to
let things work
add template bits for optional eDP panel on RockPro64
Abort panel driver attach if required regulator is missing.
Add clk provider
Add Pinebook Pro dts, from Manjaro Linux.
https://gitlab.manjaro.org/tsys/linux-pinebook-pro/blob/877ca0e7283596f37845de50dc36bff5b88b91e1/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
+ rk3399-pinebook-pro.dts
Attach mmcpwrseq resource earlier
dwcmmc improvements:
 - Use mmcpwrseq resources if available
 - Only set 4- or 8-bit mode if specified in the dt properties
 - Add quirk for implementations with inverted power enable logic
 - Support switching signal voltage between 1.8V and 3.3V
 - Fix a clock divider issue on Rockchip SoCs
Fix performance regression with previous
Quiet chatty printfs
No need to print all supported levels at attach, print the range and total number of steps
Disable SPI for now (rkspi driver hangs at boot)
Add driver for simple-audio-amplifier binding
Add driver for Everest Semi ES8316 Low Power Audio CODEC
add es8316, simpleamp
Avoid sleeping while the audio intr lock is held.
If the rockchip,system-power-controller property is present, try to power off with the PMIC
Add HAILUCK keyboard (product 1e)
Add a quirk for the HAILUCK USB keyboard / touchpad device with product 1e.
The keyboard does not function properly unless the touchpad's intr endpoint
is active.
Add driver for CellWise CW2015 Fuel Gauge IC.
add cwfg
Emit PMFE_DISPLAY_{ON,OFF} events in response to DPMS requests.
If the backlight node does not have an enable gpio, set the lowest duty
cycle to turn the display off instead.
Attach psci as early as possible. This allows other power controllers to
register their own poweroff / reset callbacks with a higher preference.
Add 2000 MHz to available armclkb rates
Remove debug printfs

Revision 1.1254 / (download) - annotate - [select for diffs], Mon Jan 20 22:18:39 2020 UTC (3 years ago) by pgoyette
Branch: MAIN
CVS Tags: ad-namecache-base2
Changes since 1.1253: +2 -2 lines
Diff to previous 1.1253 (colored)

COMPAT_43 requires COMPAT_60

Revision 1.1253 / (download) - annotate - [select for diffs], Mon Jan 20 18:38:21 2020 UTC (3 years ago) by thorpej
Branch: MAIN
Changes since 1.1252: +2 -10 lines
Diff to previous 1.1252 (colored)

Remove FDDI support.

Revision 1.1252 / (download) - annotate - [select for diffs], Sun Jan 19 20:41:18 2020 UTC (3 years ago) by riastradh
Branch: MAIN
Changes since 1.1251: +1 -7 lines
Diff to previous 1.1251 (colored)

Remove filemon(4).

Discussed on tech-kern:
https://mail-index.NetBSD.org/tech-kern/2020/01/13/msg025938.html

This was never (intentionally) enabled by default, and the design has
some shortcomings.  You can get mostly the same results with ktrace,
as in usr.bin/make/filemon/filemon_ktrace.c which is now used instead
of filemon for make's meta mode.

If applications require higher performance than ktrace, or nesting
that ktrace doesn't support, we might consider adding something back
into the vfs system calls themselves, without hijacking the syscall
table.  (Might want a more reliable output format too, e.g. one that
can handle newlines in file names.)

Revision 1.1251 / (download) - annotate - [select for diffs], Sun Jan 19 20:00:37 2020 UTC (3 years ago) by thorpej
Branch: MAIN
Changes since 1.1250: +2 -9 lines
Diff to previous 1.1250 (colored)

Remove Token Ring support.

Revision 1.1250 / (download) - annotate - [select for diffs], Sun Jan 19 06:55:24 2020 UTC (3 years ago) by thorpej
Branch: MAIN
Changes since 1.1249: +1 -6 lines
Diff to previous 1.1249 (colored)

Remove HIPPI support and the esh(4) driver that uses it.  There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.

Revision 1.1248.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:29 2020 UTC (3 years ago) by ad
Branch: ad-namecache
Changes since 1.1248: +1 -3 lines
Diff to previous 1.1248 (colored)

Sync with head.

Revision 1.1249 / (download) - annotate - [select for diffs], Wed Jan 8 12:04:56 2020 UTC (3 years ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base1
Changes since 1.1248: +1 -3 lines
Diff to previous 1.1248 (colored)

- options NAMECACHE_ENTER_REVERSE is no more.

- Partially sort the list of per-vnode namecache entries by using a TAILQ.
  Put the real name to the head, and put dot and dotdot to the tail so that
  cache_lookup_reverse() doesn't have to consider them.

Revision 1.1248 / (download) - annotate - [select for diffs], Mon Dec 23 06:45:37 2019 UTC (3 years, 1 month ago) by maxv
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.1247: +7 -1 lines
Diff to previous 1.1247 (colored)

Revert the removal of filemon.

Revision 1.1247 / (download) - annotate - [select for diffs], Thu Dec 19 00:23:57 2019 UTC (3 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.1246: +5 -1 lines
Diff to previous 1.1246 (colored)

add Analogix DisplayPort core driver

Revision 1.1246 / (download) - annotate - [select for diffs], Wed Dec 18 07:37:18 2019 UTC (3 years, 1 month ago) by maxv
Branch: MAIN
Changes since 1.1245: +1 -7 lines
Diff to previous 1.1245 (colored)

Retire filemon, discussed on tech-kern@.

Revision 1.1245 / (download) - annotate - [select for diffs], Thu Dec 5 03:22:02 2019 UTC (3 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.1244: +1 -2 lines
Diff to previous 1.1244 (colored)

Nuke crypto/arc4.  Has not been used since 2003.  Will not be missed.

Revision 1.1237.2.2 / (download) - annotate - [select for diffs], Sat Nov 16 16:48:25 2019 UTC (3 years, 2 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-0-RC1
Changes since 1.1237.2.1: +2 -1 lines
Diff to previous 1.1237.2.1 (colored) to branchpoint 1.1237 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #427):

	sys/dev/ic/dw_hdmi_phy.c: revision 1.2
	sys/dev/ic/dw_hdmi.c: revision 1.4
	sys/dev/fdt/ausoc.c: revision 1.5
	sys/dev/ic/dw_hdmi.h: revision 1.2
	sys/dev/ic/dw_hdmi.h: revision 1.3
	sys/dev/ic/dw_hdmi.h: revision 1.4
	sys/conf/files: revision 1.1242
	sys/dev/fdt/fdtvar.h: revision 1.57
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.11
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.12
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.13
	sys/arch/evbarm/conf/GENERIC64: revision 1.110
	sys/arch/arm/rockchip/rk_drm.c: revision 1.1
	sys/arch/arm/rockchip/rk_drm.c: revision 1.2
	sys/arch/evbarm/conf/GENERIC64: revision 1.112
	sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.1
	sys/dev/fdt/fdt_clock.c: revision 1.10
	sys/arch/evbarm/conf/GENERIC64: revision 1.113
	sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.2
	sys/arch/arm/rockchip/rk_drm.h: revision 1.1
	sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.3
	sys/arch/arm/rockchip/rk_fb.c: revision 1.1
	sys/arch/arm/dts/rk3399-rockpro64.dts: revision 1.9
	sys/arch/arm/rockchip/rk_vop.c: revision 1.1
	sys/arch/arm/rockchip/rk_vop.c: revision 1.2
	sys/arch/arm/rockchip/rk_i2c.c: revision 1.6
	sys/arch/arm/rockchip/rk_cru.h: revision 1.6
	sys/arch/arm/rockchip/rk_cru.h: revision 1.7
	sys/arch/arm/rockchip/rk_cru_composite.c: revision 1.4
	sys/arch/arm/rockchip/rk_cru_composite.c: revision 1.5
	sys/arch/arm/rockchip/files.rockchip: revision 1.21
	sys/arch/arm/rockchip/rk_i2s.c: revision 1.1
	sys/arch/arm/rockchip/files.rockchip: revision 1.22
	sys/dev/ic/dw_hdmi.c: revision 1.2
	sys/dev/ic/dw_hdmi_phy.c: revision 1.1
	sys/dev/ic/dw_hdmi.c: revision 1.3

Support reads of more than 32 bytes in a single xfer.

Add support for internal DesignWare HDMI PHYs

Add fdtbus_clock_enable and fdtbus_clock_enable_index shortcuts

Add HDMI and VOP clocks

WIP display driver for Rockchip RK3399

Add (commented out) Rockchip display support

Select the correct MPLL and PHY settings for the requested pixel clock
Force DCLK_VOP0/1 dividers to 1 and select closest match when setting PLL
rates.

Fix typo in phy config table

Fix a few swapped fields

Remove debug output

Enable Rockchip display support

Set sysclk rate at set_format time, so the link set_format callback can read the new sysclk

Add I2S audio input support.
Add software volume controls.
Add support for I2S clocks.
Add driver for Rockchip I2S/PCM controller.
Enable HDMI audio on ROCKPro64
Add rki2s
Add audio support

Revision 1.1244 / (download) - annotate - [select for diffs], Thu Nov 14 16:23:52 2019 UTC (3 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.1243: +3 -1 lines
Diff to previous 1.1243 (colored)

Add support for Kernel Memory Sanitizer (kMSan). It detects uninitialized
memory used by the kernel at run time, and just like kASan and kCSan, it
is an excellent feature. It has already detected 38 uninitialized variables
in the kernel during my testing, which I have since discreetly fixed.

We use two shadows:
 - "shad", to track uninitialized memory with a bit granularity (1:1).
   Each bit set to 1 in the shad corresponds to one uninitialized bit of
   real kernel memory.
 - "orig", to track the origin of the memory with a 4-byte granularity
   (1:1). Each uint32_t cell in the orig indicates the origin of the
   associated uint32_t of real kernel memory.

The memory consumption of these shadows is consequent, so at least 4GB of
RAM is recommended to run kMSan.

The compiler inserts calls to specific __msan_* functions on each memory
access, to manage both the shad and the orig and detect uninitialized
memory accesses that change the execution flow (like an "if" on an
uninitialized variable).

We mark as uninit several types of memory buffers (stack, pools, kmem,
malloc, uvm_km), and check each buffer passed to copyout, copyoutstr,
bwrite, if_transmit_lock and DMA operations, to detect uninitialized memory
that leaves the system. This allows us to detect kernel info leaks in a way
that is more efficient and also more user-friendly than KLEAK.

Contrary to kASan, kMSan requires comprehensive coverage, ie we cannot
tolerate having one non-instrumented function, because this could cause
false positives. kMSan cannot instrument ASM functions, so I converted
most of them to __asm__ inlines, which kMSan is able to instrument. Those
that remain receive special treatment.

Contrary to kASan again, kMSan uses a TLS, so we must context-switch this
TLS during interrupts. We use different contexts depending on the interrupt
level.

The orig tracks precisely the origin of a buffer. We use a special encoding
for the orig values, and pack together in each uint32_t cell of the orig:
 - a code designating the type of memory (Stack, Pool, etc), and
 - a compressed pointer, which points either (1) to a string containing
   the name of the variable associated with the cell, or (2) to an area
   in the kernel .text section which we resolve to a symbol name + offset.

This encoding allows us not to consume extra memory for associating
information with each cell, and produces a precise output, that can tell
for example the name of an uninitialized variable on the stack, the
function in which it was pushed on the stack, and the function where we
accessed this uninitialized variable.

kMSan is available with LLVM, but not with GCC.

The code is organized in a way that is similar to kASan and kCSan, so it
means that other architectures than amd64 can be supported.

Revision 1.1243 / (download) - annotate - [select for diffs], Mon Nov 11 04:04:29 2019 UTC (3 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.1242: +1 -12 lines
Diff to previous 1.1242 (colored)

 Remove acorn26's upc(4) devices.

Revision 1.1242 / (download) - annotate - [select for diffs], Sat Nov 9 23:27:50 2019 UTC (3 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.1241: +2 -1 lines
Diff to previous 1.1241 (colored)

Add support for internal DesignWare HDMI PHYs

Revision 1.1241 / (download) - annotate - [select for diffs], Tue Nov 5 20:19:17 2019 UTC (3 years, 2 months ago) by maxv
Branch: MAIN
Changes since 1.1240: +3 -1 lines
Diff to previous 1.1240 (colored)

Add Kernel Concurrency Sanitizer (kCSan) support. This sanitizer allows us
to detect race conditions at runtime. It is a variation of TSan that is
easy to implement and more suited to kernel internals, albeit theoretically
less precise than TSan's happens-before.

We do basically two things:

 - On every KCSAN_NACCESSES (=2000) memory accesses, we create a cell
   describing the access, and delay the calling CPU (10ms).

 - On all memory accesses, we verify if the memory we're reading/writing
   is referenced in a cell already.

The combination of the two means that, if for example cpu0 does a read that
is selected and cpu1 does a write at the same address, kCSan will fire,
because cpu1's write collides with cpu0's read cell.

The coverage of the instrumentation is the same as that of kASan. Also, the
code is organized in a way similar to kASan, so it is easy to add support
for more architectures than amd64. kCSan is compatible with KCOV.

Reviewed by Kamil.

Revision 1.1240 / (download) - annotate - [select for diffs], Sun Sep 22 22:59:38 2019 UTC (3 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.1239: +3 -2 lines
Diff to previous 1.1239 (colored)

Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=

Revision 1.1239 / (download) - annotate - [select for diffs], Sat Sep 14 06:57:52 2019 UTC (3 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.1238: +6 -1 lines
Diff to previous 1.1238 (colored)

Add vHCI, a driver which allows to send and receive USB packets directly
from userland via /dev/vhci. Using this, it becomes possible to test and
fuzz the USB stack and all the USB drivers without having the associated
hardware.

The vHCI device has four ports independently addressable.

For each xfer on each port, we create two packets: a setup packet (which
indicates mostly the type of request) and a data packet (which contains
the raw data). These packets are processed by read and write operations
on /dev/vhci: userland poll-reads it to fetch usb_device_request_t
structures, and dispatches the requests depending on bRequest and
bmRequestType.

A few ioctls are available:

	VHCI_IOC_GET_INFO   - Get the current status
	VHCI_IOC_SET_PORT   - Choose a vHCI port
	VHCI_IOC_USB_ATTACH - Attach a USB device on the current port
	VHCI_IOC_USB_DETACH - Detach the USB device on the current port

vHCI has already allowed me to automatically find several bugs in the USB
stack and its drivers.

Revision 1.1096.2.6.2.1 / (download) - annotate - [select for diffs], Tue Sep 3 12:30:46 2019 UTC (3 years, 4 months ago) by martin
Branch: netbsd-7-0
Changes since 1.1096.2.6: +3 -3 lines
Diff to previous 1.1096.2.6 (colored) next main 1.1096.2.7 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1705):

	sys/crypto/nist_hash_drbg/nist_hash_drbg.c: revision 1.1
	sys/crypto/nist_hash_drbg/nist_hash_drbg.h: revision 1.1
	sys/rump/kern/lib/libcrypto/Makefile: revision 1.5
	sys/crypto/nist_hash_drbg/files.nist_hash_drbg: revision 1.1
	sys/rump/librump/rumpkern/Makefile.rumpkern: revision 1.176
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_aes256.h: file removal
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_config.h: file removal
	sys/conf/files: revision 1.1238
	sys/dev/rndpseudo.c: revision 1.38
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg.c: file removal
	sys/sys/cprng.h: revision 1.13 - 1.15
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg.h: file removal
	sys/crypto/nist_ctr_drbg/nist_ctr_aes_rijndael.h: file removal
	sys/crypto/nist_ctr_drbg/files.nist_ctr_drbg: file removal
	sys/kern/subr_cprng.c: revision 1.31
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_aes128.h: file removal

cprng.h: use static __inline for consistency with other include
headers and remove an unused function.

 -

Switch from NIST CTR_DRBG with AES to NIST Hash_DRBG with SHA-256.

Benefits:
- larger seeds -- a 128-bit key alone is not enough for `128-bit security'
- better resistance to timing side channels than AES
- a better-understood security story (<a  rel="nofollow" href="https://eprint.iacr.org/2018/349">https://eprint.iacr.org/2018/349</a>)
- no loss in compliance with US government standards that nobody ever
  got fired for choosing, at least in the US-dominated western world
- no dirty endianness tricks
- self-tests

Drawbacks:
- performance hit: throughput is reduced to about 1/3 in naive measurements
  => possible to mitigate by using hardware SHA-256 instructions
  => all you really need is 32 bytes to seed a userland PRNG anyway
  => if we just used ChaCha this would go away...

Revision 1.1096.2.8.2.1 / (download) - annotate - [select for diffs], Tue Sep 3 12:28:31 2019 UTC (3 years, 4 months ago) by martin
Branch: netbsd-7-1
Changes since 1.1096.2.8: +3 -3 lines
Diff to previous 1.1096.2.8 (colored) next main 1.1096.2.9 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1705):

	sys/crypto/nist_hash_drbg/nist_hash_drbg.c: revision 1.1
	sys/crypto/nist_hash_drbg/nist_hash_drbg.h: revision 1.1
	sys/rump/kern/lib/libcrypto/Makefile: revision 1.5
	sys/crypto/nist_hash_drbg/files.nist_hash_drbg: revision 1.1
	sys/rump/librump/rumpkern/Makefile.rumpkern: revision 1.176
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_aes256.h: file removal
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_config.h: file removal
	sys/conf/files: revision 1.1238
	sys/dev/rndpseudo.c: revision 1.38
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg.c: file removal
	sys/sys/cprng.h: revision 1.13 - 1.15
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg.h: file removal
	sys/crypto/nist_ctr_drbg/nist_ctr_aes_rijndael.h: file removal
	sys/crypto/nist_ctr_drbg/files.nist_ctr_drbg: file removal
	sys/kern/subr_cprng.c: revision 1.31
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_aes128.h: file removal

cprng.h: use static __inline for consistency with other include
headers and remove an unused function.

 -

Switch from NIST CTR_DRBG with AES to NIST Hash_DRBG with SHA-256.

Benefits:
- larger seeds -- a 128-bit key alone is not enough for `128-bit security'
- better resistance to timing side channels than AES
- a better-understood security story (<a  rel="nofollow" href="https://eprint.iacr.org/2018/349">https://eprint.iacr.org/2018/349</a>)
- no loss in compliance with US government standards that nobody ever
  got fired for choosing, at least in the US-dominated western world
- no dirty endianness tricks
- self-tests

Drawbacks:
- performance hit: throughput is reduced to about 1/3 in naive measurements
  => possible to mitigate by using hardware SHA-256 instructions
  => all you really need is 32 bytes to seed a userland PRNG anyway
  => if we just used ChaCha this would go away...

Revision 1.1096.2.10 / (download) - annotate - [select for diffs], Tue Sep 3 12:20:43 2019 UTC (3 years, 4 months ago) by martin
Branch: netbsd-7
Changes since 1.1096.2.9: +3 -3 lines
Diff to previous 1.1096.2.9 (colored) to branchpoint 1.1096 (colored) next main 1.1097 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1705):

	sys/crypto/nist_hash_drbg/nist_hash_drbg.c: revision 1.1
	sys/crypto/nist_hash_drbg/nist_hash_drbg.h: revision 1.1
	sys/rump/kern/lib/libcrypto/Makefile: revision 1.5
	sys/crypto/nist_hash_drbg/files.nist_hash_drbg: revision 1.1
	sys/rump/librump/rumpkern/Makefile.rumpkern: revision 1.176
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_aes256.h: file removal
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_config.h: file removal
	sys/conf/files: revision 1.1238
	sys/dev/rndpseudo.c: revision 1.38
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg.c: file removal
	sys/sys/cprng.h: revision 1.13 - 1.15
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg.h: file removal
	sys/crypto/nist_ctr_drbg/nist_ctr_aes_rijndael.h: file removal
	sys/crypto/nist_ctr_drbg/files.nist_ctr_drbg: file removal
	sys/kern/subr_cprng.c: revision 1.31
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_aes128.h: file removal

cprng.h: use static __inline for consistency with other include
headers and remove an unused function.

 -

Switch from NIST CTR_DRBG with AES to NIST Hash_DRBG with SHA-256.

Benefits:
- larger seeds -- a 128-bit key alone is not enough for `128-bit security'
- better resistance to timing side channels than AES
- a better-understood security story (<a  rel="nofollow" href="https://eprint.iacr.org/2018/349">https://eprint.iacr.org/2018/349</a>)
- no loss in compliance with US government standards that nobody ever
  got fired for choosing, at least in the US-dominated western world
- no dirty endianness tricks
- self-tests

Drawbacks:
- performance hit: throughput is reduced to about 1/3 in naive measurements
  => possible to mitigate by using hardware SHA-256 instructions
  => all you really need is 32 bytes to seed a userland PRNG anyway
  => if we just used ChaCha this would go away...

Revision 1.1173.2.8 / (download) - annotate - [select for diffs], Tue Sep 3 12:08:22 2019 UTC (3 years, 4 months ago) by martin
Branch: netbsd-8
Changes since 1.1173.2.7: +3 -3 lines
Diff to previous 1.1173.2.7 (colored) to branchpoint 1.1173 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1365):

	sys/crypto/nist_hash_drbg/nist_hash_drbg.c: revision 1.1
	sys/crypto/nist_hash_drbg/nist_hash_drbg.h: revision 1.1
	sys/rump/kern/lib/libcrypto/Makefile: revision 1.5
	sys/crypto/nist_hash_drbg/files.nist_hash_drbg: revision 1.1
	sys/rump/librump/rumpkern/Makefile.rumpkern: revision 1.176
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_aes256.h: file removal
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_config.h: file removal
	sys/conf/files: revision 1.1238
	sys/dev/rndpseudo.c: revision 1.38
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg.c: file removal
	sys/sys/cprng.h: revision 1.13 - 1.15
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg.h: file removal
	sys/crypto/nist_ctr_drbg/nist_ctr_aes_rijndael.h: file removal
	sys/crypto/nist_ctr_drbg/files.nist_ctr_drbg: file removal
	sys/kern/subr_cprng.c: revision 1.31
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_aes128.h: file removal

cprng.h: use static __inline for consistency with other include
headers and remove an unused function.

 -

Switch from NIST CTR_DRBG with AES to NIST Hash_DRBG with SHA-256.

Benefits:
- larger seeds -- a 128-bit key alone is not enough for `128-bit security'
- better resistance to timing side channels than AES
- a better-understood security story (<a  rel="nofollow" href="https://eprint.iacr.org/2018/349">https://eprint.iacr.org/2018/349</a>)
- no loss in compliance with US government standards that nobody ever
  got fired for choosing, at least in the US-dominated western world
- no dirty endianness tricks
- self-tests

Drawbacks:
- performance hit: throughput is reduced to about 1/3 in naive measurements
  => possible to mitigate by using hardware SHA-256 instructions
  => all you really need is 32 bytes to seed a userland PRNG anyway
  => if we just used ChaCha this would go away...

Revision 1.1237.2.1 / (download) - annotate - [select for diffs], Tue Sep 3 07:47:59 2019 UTC (3 years, 4 months ago) by martin
Branch: netbsd-9
Changes since 1.1237: +3 -3 lines
Diff to previous 1.1237 (colored)

Pull up following revision(s) (requested by riastradh in ticket #173):

	sys/crypto/nist_hash_drbg/nist_hash_drbg.c: revision 1.1
	sys/crypto/nist_hash_drbg/nist_hash_drbg.h: revision 1.1
	sys/rump/kern/lib/libcrypto/Makefile: revision 1.5
	sys/crypto/nist_hash_drbg/files.nist_hash_drbg: revision 1.1
	sys/rump/librump/rumpkern/Makefile.rumpkern: revision 1.176
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_aes256.h: file removal
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_config.h: file removal
	sys/conf/files: revision 1.1238
	sys/dev/rndpseudo.c: revision 1.38
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg.c: file removal
	sys/sys/cprng.h: revision 1.15
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg.h: file removal
	sys/crypto/nist_ctr_drbg/nist_ctr_aes_rijndael.h: file removal
	sys/crypto/nist_ctr_drbg/files.nist_ctr_drbg: file removal
	sys/kern/subr_cprng.c: revision 1.31
	sys/crypto/nist_ctr_drbg/nist_ctr_drbg_aes128.h: file removal

Switch from NIST CTR_DRBG with AES to NIST Hash_DRBG with SHA-256.

Benefits:
- larger seeds -- a 128-bit key alone is not enough for `128-bit security'
- better resistance to timing side channels than AES
- a better-understood security story (<a  rel="nofollow" href="https://eprint.iacr.org/2018/349">https://eprint.iacr.org/2018/349</a>)
- no loss in compliance with US government standards that nobody ever
  got fired for choosing, at least in the US-dominated western world
- no dirty endianness tricks
- self-tests

Drawbacks:
- performance hit: throughput is reduced to about 1/3 in naive measurements
  => possible to mitigate by using hardware SHA-256 instructions
  => all you really need is 32 bytes to seed a userland PRNG anyway
  => if we just used ChaCha this would go away...

XXX pullup-7
XXX pullup-8
XXX pullup-9

Revision 1.1238 / (download) - annotate - [select for diffs], Mon Sep 2 20:09:29 2019 UTC (3 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.1237: +3 -3 lines
Diff to previous 1.1237 (colored)

Switch from NIST CTR_DRBG with AES to NIST Hash_DRBG with SHA-256.

Benefits:

- larger seeds -- a 128-bit key alone is not enough for `128-bit security'
- better resistance to timing side channels than AES
- a better-understood security story (https://eprint.iacr.org/2018/349)
- no loss in compliance with US government standards that nobody ever
  got fired for choosing, at least in the US-dominated western world
- no dirty endianness tricks
- self-tests

Drawbacks:

- performance hit: throughput is reduced to about 1/3 in naive measurements
  => possible to mitigate by using hardware SHA-256 instructions
  => all you really need is 32 bytes to seed a userland PRNG anyway
  => if we just used ChaCha this would go away...

XXX pullup-7
XXX pullup-8
XXX pullup-9

Revision 1.1237 / (download) - annotate - [select for diffs], Sat Jun 15 06:40:34 2019 UTC (3 years, 7 months ago) by maxv
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.1236: +2 -1 lines
Diff to previous 1.1236 (colored)

Add KASAN_PANIC, an option to turn KASAN warning into kernel panics,
requested by Siddharth. While here clarify a little.

Revision 1.1200.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:04 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.1200: +59 -86 lines
Diff to previous 1.1200 (colored)

Sync with HEAD

Revision 1.1236 / (download) - annotate - [select for diffs], Fri May 17 03:34:26 2019 UTC (3 years, 8 months ago) by ozaki-r
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.1235: +2 -1 lines
Diff to previous 1.1235 (colored)

Implement an aggressive psref leak detector

It is yet another psref leak detector that enables to tell where a leak occurs
while a simpler version that is already committed just tells an occurrence of a
leak.

Investigating of psref leaks is hard because once a leak occurs a percpu list of
psref that tracks references can be corrupted.  A reference to a tracking object
is memorized in the list via an intermediate object (struct psref) that is
normally allocated on a stack of a thread.  Thus, the intermediate object can be
overwritten on a leak resulting in corruption of the list.

The tracker makes a shadow entry to an intermediate object and stores some hints
into it (currently it's a caller address of psref_acquire).  We can detect a
leak by checking the entries on certain points where any references should be
released such as the return point of syscalls and the end of each softint
handler.

The feature is expensive and enabled only if the kernel is built with
PSREF_DEBUG.

Proposed on tech-kern

Revision 1.1235 / (download) - annotate - [select for diffs], Fri Apr 26 10:11:03 2019 UTC (3 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.1234: +1 -5 lines
Diff to previous 1.1234 (colored)

Remove Designware timer code. This was used by the old Rockchip port and
is no longer required.

Revision 1.1234 / (download) - annotate - [select for diffs], Sat Apr 13 08:41:36 2019 UTC (3 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: isaki-audio2-base, isaki-audio2
Changes since 1.1233: +2 -1 lines
Diff to previous 1.1233 (colored)

Introduce POOL_QUARANTINE, a feature that creates a window during which a
freed buffer cannot be reallocated. This greatly helps detecting
use-after-frees, because they are not short-lived anymore.

We maintain a per-pool fifo of 128 buffers. On each pool_put, we do a real
free of the oldest buffer, and insert the new buffer. Before insertion, we
mark the buffer as invalid with KASAN. On each pool_cache_put, we destruct
the object, so it lands in pool_put, and the quarantine is handled there.

POOL_QUARANTINE can be used in conjunction with KASAN to detect more
use-after-free bugs.

Revision 1.1173.2.7 / (download) - annotate - [select for diffs], Wed Apr 10 07:39:31 2019 UTC (3 years, 9 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.1173.2.6: +5 -2 lines
Diff to previous 1.1173.2.6 (colored) to branchpoint 1.1173 (colored)

Pull up following revision(s) (requested by pgoyette in ticket #1229):

	sys/kern/sysv_ipc.c: revision 1.38
	sys/conf/files: revision 1.1233
	sys/conf/param.c: revision 1.68

defparam all of the config variables associated with SYSV IPC stuff.

The variables were removed from sys/conf/param.c and moved into the
SYSV IPC code, but config options were never propagated via any opt_*
file.

This should fix an issue reported on netbsd-users list from Dima Veselov.
Note that this does not address other parameters included in that report,
including CHILD_MAX and NOFILE; this commit only affects items related to
the SYSV IPC code.  Also note that this does not affect non-built-in
sysv_ipc modules, for which you need to update the Makefile to use any
non-standard config values - just like any other non-built-in modules
which have config params.

XXX Pull-up to -8 and -8-0
XXX Note that there are a couple of panic() calls in msginit() which
XXX really should be changed to simple printf() and then result in
XXX msginit failure.  Unfortunately msginit() currently doesn't return
XXX a value so we cannot indicate failure to the caller.  I will fix
XXX this is a future commit.

Revision 1.1233 / (download) - annotate - [select for diffs], Tue Apr 9 22:05:27 2019 UTC (3 years, 9 months ago) by pgoyette
Branch: MAIN
Changes since 1.1232: +5 -2 lines
Diff to previous 1.1232 (colored)

defparam all of the config variables associated with SYSV IPC stuff.
The variables were removed from sys/conf/param.c and moved into the
SYSV IPC code, but config options were never propagated via any opt_*
file.

This should fix an issue reported on netbsd-users list from Dima Veselov.

Note that this does not address other parameters included in that report,
including CHILD_MAX and NOFILE; this commit only affects items related to
the SYSV IPC code.  Also note that this does not affect non-built-in
sysv_ipc modules, for which you need to update the Makefile to use any
non-standard config values - just like any other non-built-in modules
which have config params.

XXX Pull-up to -8 and -8-0

XXX Note that there are a couple of panic() calls in msginit() which
XXX really should be changed to simple printf() and then result in
XXX msginit failure.  Unfortunately msginit() currently doesn't return
XXX a value so we cannot indicate failure to the caller.  I will fix
XXX this is a future commit.

Revision 1.1232 / (download) - annotate - [select for diffs], Mon Mar 25 19:24:30 2019 UTC (3 years, 10 months ago) by maxv
Branch: MAIN
Changes since 1.1231: +1 -2 lines
Diff to previous 1.1231 (colored)

Remove compat_osf1, discussed on tech-kern@.

Revision 1.1231 / (download) - annotate - [select for diffs], Sun Mar 17 01:06:42 2019 UTC (3 years, 10 months ago) by tnn
Branch: MAIN
Changes since 1.1230: +5 -1 lines
Diff to previous 1.1230 (colored)

config glue for ssdfb

Revision 1.1230 / (download) - annotate - [select for diffs], Sat Feb 23 03:10:06 2019 UTC (3 years, 11 months ago) by kamil
Branch: MAIN
Changes since 1.1229: +2 -1 lines
Diff to previous 1.1229 (colored)

Add KCOV - kernel code coverage tracing device

The KCOV driver implements collection of code coverage inside the kernel.
It can be enabled on a per process basis from userland, allowing the kernel
program counter to be collected during syscalls triggered by the same
process.

The device is oriented towards kernel fuzzers, in particular syzkaller.

Currently the only supported coverage type is -fsanitize-coverage=trace-pc.

The KCOV driver was initially developed in Linux. A driver based on the
same concept was then implemented in FreeBSD and OpenBSD.

Documentation is borrowed from OpenBSD and ATF tests from FreeBSD.

This patch has been prepared by Siddharth Muralee, improved by <maxv>
and polished by myself before importing into the mainline tree.

All ATF tests pass.

Revision 1.1229 / (download) - annotate - [select for diffs], Tue Feb 12 07:16:56 2019 UTC (3 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.1228: +2 -2 lines
Diff to previous 1.1228 (colored)

compat_sunos depends upon compat_09.  fixes:

[   1.8785495] WARNING: module error: built-in module compat_sunos can't find builtin dependency `compat_09'
[   1.8785495] WARNING: module error: built-in module compat_sunos prerequisite compat_09 failed, error 2

Revision 1.1228 / (download) - annotate - [select for diffs], Wed Jan 30 01:19:49 2019 UTC (4 years ago) by jmcneill
Branch: MAIN
Changes since 1.1227: +5 -1 lines
Diff to previous 1.1227 (colored)

Add driver for Designware HDMI TX controller.

Revision 1.1227 / (download) - annotate - [select for diffs], Mon Jan 28 01:00:23 2019 UTC (4 years ago) by pgoyette
Branch: MAIN
Changes since 1.1226: +2 -2 lines
Diff to previous 1.1226 (colored)

Move COMPAT_43 to preceed anything that depends on it

Revision 1.1226 / (download) - annotate - [select for diffs], Mon Jan 28 00:26:53 2019 UTC (4 years ago) by pgoyette
Branch: MAIN
Changes since 1.1225: +3 -3 lines
Diff to previous 1.1225 (colored)

Spell COMPAT_43 correctly - no NETBSD in the middle

Revision 1.1225 / (download) - annotate - [select for diffs], Mon Jan 28 00:00:18 2019 UTC (4 years ago) by christos
Branch: MAIN
Changes since 1.1224: +3 -3 lines
Diff to previous 1.1224 (colored)

comma police.

Revision 1.1224 / (download) - annotate - [select for diffs], Sun Jan 27 22:06:07 2019 UTC (4 years ago) by pgoyette
Branch: MAIN
Changes since 1.1223: +2 -2 lines
Diff to previous 1.1223 (colored)

COMPAT_FREEBSD also requires COMPAT_43

Revision 1.1223 / (download) - annotate - [select for diffs], Sun Jan 27 22:00:14 2019 UTC (4 years ago) by pgoyette
Branch: MAIN
Changes since 1.1222: +3 -3 lines
Diff to previous 1.1222 (colored)

Adjust dependencies for COMPAT_FREEBSD and COMPAT_LINUX

Should address kern/53915

Revision 1.1222 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:41 2019 UTC (4 years ago) by pgoyette
Branch: MAIN
Changes since 1.1221: +11 -2 lines
Diff to previous 1.1221 (colored)

Merge the [pgoyette-compat] branch

Revision 1.1196.2.18 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:25 2019 UTC (4 years ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.1196.2.17: +1 -2 lines
Diff to previous 1.1196.2.17 (colored) to branchpoint 1.1196 (colored) next main 1.1197 (colored)

Synch with HEAD

Revision 1.1221 / (download) - annotate - [select for diffs], Sat Dec 29 11:30:12 2018 UTC (4 years, 1 month ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118
Changes since 1.1220: +1 -2 lines
Diff to previous 1.1220 (colored)

Retire compat_ibcs2, as discussed on tech-kern@. FreeBSD did the same
recently.

Revision 1.1196.2.17 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:47 2018 UTC (4 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.16: +8 -4 lines
Diff to previous 1.1196.2.16 (colored) to branchpoint 1.1196 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.1220 / (download) - annotate - [select for diffs], Tue Dec 25 11:56:14 2018 UTC (4 years, 1 month ago) by mlelstv
Branch: MAIN
CVS Tags: pgoyette-compat-1226
Changes since 1.1219: +6 -1 lines
Diff to previous 1.1219 (colored)

Make ipmi driver available to other platforms.
Add ACPI attachment.

Revision 1.1219 / (download) - annotate - [select for diffs], Wed Dec 19 13:57:52 2018 UTC (4 years, 1 month ago) by maxv
Branch: MAIN
Changes since 1.1218: +1 -2 lines
Diff to previous 1.1218 (colored)

Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.

Revision 1.1218 / (download) - annotate - [select for diffs], Sat Dec 8 21:14:37 2018 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.1217: +2 -3 lines
Diff to previous 1.1217 (colored)

Remove the COM_REGMAP option -- just use it all the time.  While here,
garbage-collect the COM_FUNCMAP and COM_AU1X00 options, as there are
not used anywhere.

Revision 1.1217 / (download) - annotate - [select for diffs], Sun Dec 2 21:00:13 2018 UTC (4 years, 2 months ago) by maxv
Branch: MAIN
Changes since 1.1216: +2 -1 lines
Diff to previous 1.1216 (colored)

Introduce KLEAK, a new feature that can detect kernel information leaks.

It works by tainting memory sources with marker values, letting the data
travel through the kernel, and scanning the kernel<->user frontier for
these marker values. Combined with compiler instrumentation and rotation
of the markers, it is able to yield relevant results with little effort.

We taint the pools and the stack, and scan copyout/copyoutstr. KLEAK is
supported on amd64 only for now, but it is not complicated to add more
architectures (just a matter of having the address of .text, and a stack
unwinder).

A userland tool is provided, that allows to execute a command in rounds
and monitor the leaks generated all the while.

KLEAK already detected directly 12 kernel info leaks, and prompted changes
that in total fixed 25+ leaks.

Based on an idea developed jointly with Thomas Barabosch (of Fraunhofer
FKIE).

Revision 1.1196.2.16 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:29 2018 UTC (4 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.15: +6 -1 lines
Diff to previous 1.1196.2.15 (colored) to branchpoint 1.1196 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.1216 / (download) - annotate - [select for diffs], Wed Nov 7 07:43:07 2018 UTC (4 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-1126
Changes since 1.1215: +6 -1 lines
Diff to previous 1.1215 (colored)

Add NVMM - for NetBSD Virtual Machine Monitor -, a kernel driver that
provides support for hardware-accelerated virtualization on NetBSD.

It is made of an MI frontend, to which MD backends can be plugged. One
MD backend is implemented, x86-SVM, for x86 AMD CPUs.

We install

	/usr/include/dev/nvmm/nvmm.h
	/usr/include/dev/nvmm/nvmm_ioctl.h
	/usr/include/dev/nvmm/{arch}/nvmm_{arch}.h

And the kernel module. For now, the only architecture where we do that
is amd64 (arch=x86).

NVMM is not enabled by default in amd64-GENERIC, but is instead easily
modloadable.

Sent to tech-kern@ a month ago. Validated with kASan, and optimized
with tprof.

Revision 1.1173.2.6 / (download) - annotate - [select for diffs], Wed Oct 31 09:30:10 2018 UTC (4 years, 3 months ago) by martin
Branch: netbsd-8
Changes since 1.1173.2.5: +6 -1 lines
Diff to previous 1.1173.2.5 (colored) to branchpoint 1.1173 (colored)

Add bwfm config glue, requested by maya in ticket #1072.

Revision 1.1196.2.15 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:30 2018 UTC (4 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.14: +9 -1 lines
Diff to previous 1.1196.2.14 (colored) to branchpoint 1.1196 (colored)

Sync with head

Revision 1.1215 / (download) - annotate - [select for diffs], Fri Oct 19 21:09:10 2018 UTC (4 years, 3 months ago) by jakllsch
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Changes since 1.1214: +5 -1 lines
Diff to previous 1.1214 (colored)

Add amdccp(4) driver for AMD Cryptographic Coprocessor, as found on the
A11xx Opterons.  Driver currently provides RNG service only.

Revision 1.1214 / (download) - annotate - [select for diffs], Mon Oct 15 23:50:48 2018 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.1213: +5 -1 lines
Diff to previous 1.1213 (colored)

Rename pl061gpio to plgpio and split the device logic from the FDT glue.

Revision 1.1196.2.14 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:49 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.13: +7 -57 lines
Diff to previous 1.1196.2.13 (colored) to branchpoint 1.1196 (colored)

Ssync with HEAD

Revision 1.1196.2.13 / (download) - annotate - [select for diffs], Thu Sep 27 21:34:57 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.12: +2 -3 lines
Diff to previous 1.1196.2.12 (colored) to branchpoint 1.1196 (colored)

EXEC_ELF32 does not depend on COMPAT_NETBSD32

Revision 1.1213 / (download) - annotate - [select for diffs], Sun Sep 23 09:21:03 2018 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-0930
Changes since 1.1212: +1 -21 lines
Diff to previous 1.1212 (colored)

Remove ISDN from the kernel. It has remained unmaintained for a long time,
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.

This retires a big user of the mbuf API, and will ease maintenance of the
kernel.

Revision 1.1212 / (download) - annotate - [select for diffs], Sat Sep 22 16:22:23 2018 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.1211: +1 -19 lines
Diff to previous 1.1211 (colored)

Remove isic(4). It is part of ISDN, which we are now retiring.

Revision 1.1211 / (download) - annotate - [select for diffs], Sat Sep 22 12:26:27 2018 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.1210: +3 -3 lines
Diff to previous 1.1210 (colored)

Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.

Revision 1.1210 / (download) - annotate - [select for diffs], Sat Sep 22 12:19:11 2018 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.1209: +3 -3 lines
Diff to previous 1.1209 (colored)

Remove ifpci(4). It is part of ISDN, which we are retiring.

Revision 1.1209 / (download) - annotate - [select for diffs], Fri Sep 21 18:38:25 2018 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.1208: +1 -6 lines
Diff to previous 1.1208 (colored)

Remove iavc(4).

Revision 1.1208 / (download) - annotate - [select for diffs], Wed Sep 19 13:58:27 2018 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.1207: +1 -6 lines
Diff to previous 1.1207 (colored)

Remove daic(4), it has never been functional.

ok martin@

Revision 1.1207 / (download) - annotate - [select for diffs], Sat Sep 8 14:12:04 2018 UTC (4 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.1206: +6 -1 lines
Diff to previous 1.1206 (colored)

Add libnv

Revision 1.1196.2.12 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:47 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.11: +2 -2 lines
Diff to previous 1.1196.2.11 (colored) to branchpoint 1.1196 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.1206 / (download) - annotate - [select for diffs], Thu Sep 6 06:42:00 2018 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.1205: +2 -4 lines
Diff to previous 1.1205 (colored)

Remove the network ATM code.

Revision 1.1205 / (download) - annotate - [select for diffs], Thu Sep 6 05:36:51 2018 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.1204: +1 -6 lines
Diff to previous 1.1204 (colored)

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.

Revision 1.1204 / (download) - annotate - [select for diffs], Mon Aug 20 15:04:52 2018 UTC (4 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Changes since 1.1203: +2 -1 lines
Diff to previous 1.1203 (colored)

Add support for kASan on amd64. Written by me, with some parts inspired
from Siddharth Muralee's initial work. This feature can detect several
kinds of memory bugs, and it's an excellent feature.

It can be enabled by uncommenting these three lines in GENERIC:

	#makeoptions 	KASAN=1		# Kernel Address Sanitizer
	#options 	KASAN
	#no options	SVS

The kernel is compiled without SVS, without DMAP and without PCPU area.
A shadow area is created at boot time, and it can cover the upper 128TB
of the address space. This area is populated gradually as we allocate
memory. With this design the memory consumption is kept at its lowest
level.

The compiler calls the __asan_* functions each time a memory access is
done. We verify whether this access is legal by looking at the shadow
area.

We declare our own special memcpy/memset/etc functions, because the
compiler's builtins don't add the __asan_* instrumentation.

Initially all the mappings are marked as valid. During dynamic
allocations, we add a redzone, which we mark as invalid. Any access on
it will trigger a kASan error message. Additionally, the compiler adds
a redzone on global variables, and we mark these redzones as invalid too.
The illegal-access detection works with a 1-byte granularity.

For now, we cover three areas:

	- global variables
	- kmem_alloc-ated areas
	- malloc-ated areas

More will come, but that's a good start.

Revision 1.1203 / (download) - annotate - [select for diffs], Tue Aug 14 14:49:13 2018 UTC (4 years, 5 months ago) by maxv
Branch: MAIN
Changes since 1.1202: +1 -2 lines
Diff to previous 1.1202 (colored)

Retire EtherIP, we have L2TP instead.

Revision 1.1196.2.11 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:43 2018 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.10: +3 -14 lines
Diff to previous 1.1196.2.10 (colored) to branchpoint 1.1196 (colored)

Sync with HEAD

Revision 1.1202 / (download) - annotate - [select for diffs], Sun Jul 15 07:07:15 2018 UTC (4 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.1201: +3 -10 lines
Diff to previous 1.1201 (colored)

More ipkdb removal

Revision 1.1201 / (download) - annotate - [select for diffs], Thu Jul 12 10:46:48 2018 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
Changes since 1.1200: +1 -5 lines
Diff to previous 1.1200 (colored)

Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

 * Removes "options PERFCTRS", the associated includes, and the associated
   ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
   good.

 * Removes the PMC code of ARM XSCALE.

 * Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

 * Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
   definitions are put in sysarch.h.

 * Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
   and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
   netbsd32 and rump.

 * Removes the pmc_evid_t and pmc_ctr_t types.

 * Removes all the associated man pages. The sets are marked as obsolete.

Revision 1.1196.2.10 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:48 2018 UTC (4 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.9: +5 -1 lines
Diff to previous 1.1196.2.9 (colored) to branchpoint 1.1196 (colored)

Sync with HEAD

Revision 1.1200 / (download) - annotate - [select for diffs], Wed Jun 6 18:10:36 2018 UTC (4 years, 7 months ago) by jakllsch
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.1199: +5 -1 lines
Diff to previous 1.1199 (colored)

shuffle mechanics of files.virtio config(5) include location,
without actually moving the contents thereof from dev/pci yet

Revision 1.1196.2.9 / (download) - annotate - [select for diffs], Mon May 21 04:36:04 2018 UTC (4 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.8: +4 -1 lines
Diff to previous 1.1196.2.8 (colored) to branchpoint 1.1196 (colored)

Sync with HEAD

Revision 1.1199 / (download) - annotate - [select for diffs], Sun May 6 10:32:33 2018 UTC (4 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0521
Changes since 1.1198: +4 -1 lines
Diff to previous 1.1198 (colored)

Add kernel API for pwm channels.

Revision 1.1196.2.8 / (download) - annotate - [select for diffs], Mon Apr 16 01:59:57 2018 UTC (4 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.7: +2 -3 lines
Diff to previous 1.1196.2.7 (colored) to branchpoint 1.1196 (colored)

Sync with HEAD, resolve some conflicts

Revision 1.1173.2.5 / (download) - annotate - [select for diffs], Mon Apr 9 12:49:31 2018 UTC (4 years, 9 months ago) by bouyer
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.1173.2.4: +2 -1 lines
Diff to previous 1.1173.2.4 (colored) to branchpoint 1.1173 (colored)

Pull up following revision(s) (requested by spz in ticket #708):
	sys/conf/files: revision 1.1194
	sys/dev/ic/cissvar.h: revision 1.7
	sys/dev/ic/ciss.c: revision 1.38
	sys/dev/pci/ciss_pci.c: revision 1.14
	sys/arch/amd64/conf/ALL: revision 1.81
Add a new option CISS_NO_INTERRUPT_HACK for driving ciss(4) by callouts.
This is intended as workaround for certain Xen issues with dom0 kernels
and will likely want to have a high HZ value as well for decent
performance.

Revision 1.1198 / (download) - annotate - [select for diffs], Sun Apr 8 13:38:31 2018 UTC (4 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415
Changes since 1.1197: +2 -2 lines
Diff to previous 1.1197 (colored)

Remove COM_AWIN option

Revision 1.1197 / (download) - annotate - [select for diffs], Sun Apr 8 13:36:37 2018 UTC (4 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.1196: +1 -2 lines
Diff to previous 1.1196 (colored)

Remove MOTG_ALLWINNER option

Revision 1.1196.2.7 / (download) - annotate - [select for diffs], Wed Mar 14 22:26:15 2018 UTC (4 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.6: +2 -2 lines
Diff to previous 1.1196.2.6 (colored) to branchpoint 1.1196 (colored)

Revert previous.

From mrg@:

	this isn't traditionally how we did COMPAT_43.  it's more
	"enable obsolete interfaces", which is not quite the same
	as "make old binaries work".

	eg, they enable the old sgtty interfaces that _are_ still
	visible and potentially callable from modern binaries.
	we still install the headers for this interfaces.

	COMPAT_09 enables old binaries with changed interfaces.

Revision 1.1196.2.6 / (download) - annotate - [select for diffs], Wed Mar 14 21:46:51 2018 UTC (4 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.5: +2 -2 lines
Diff to previous 1.1196.2.5 (colored) to branchpoint 1.1196 (colored)

COMPAT_43 is even older than COMPAT_09, so if _43 is enabled, we'll
need everything newer as well.

Revision 1.1196.2.5 / (download) - annotate - [select for diffs], Tue Mar 13 09:07:20 2018 UTC (4 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.4: +6 -4 lines
Diff to previous 1.1196.2.4 (colored) to branchpoint 1.1196 (colored)

More clean-up of compat code interdependencies

Revision 1.1196.2.4 / (download) - annotate - [select for diffs], Tue Mar 13 07:21:23 2018 UTC (4 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.3: +6 -2 lines
Diff to previous 1.1196.2.3 (colored) to branchpoint 1.1196 (colored)

Add some more config dependencies between compat modules

Revision 1.1196.2.3 / (download) - annotate - [select for diffs], Tue Mar 6 10:07:35 2018 UTC (4 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.2: +2 -2 lines
Diff to previous 1.1196.2.2 (colored) to branchpoint 1.1196 (colored)

Re-sequence to declare dependency before depending on it

Revision 1.1196.2.2 / (download) - annotate - [select for diffs], Tue Mar 6 09:55:59 2018 UTC (4 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196.2.1: +5 -3 lines
Diff to previous 1.1196.2.1 (colored) to branchpoint 1.1196 (colored)

Expand dependencies for EXEC_ELF32 and COMPAT_LINUX32

Revision 1.1196.2.1 / (download) - annotate - [select for diffs], Tue Mar 6 05:41:51 2018 UTC (4 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1196: +3 -1 lines
Diff to previous 1.1196 (colored)

Include the list of compat files

Revision 1.1196 / (download) - annotate - [select for diffs], Tue Feb 27 14:28:01 2018 UTC (4 years, 11 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.1195: +2 -3 lines
Diff to previous 1.1195 (colored)

Remove the Econet code. It was part of acorn26, which was removed a
month ago.

Revision 1.1195 / (download) - annotate - [select for diffs], Thu Feb 22 07:30:43 2018 UTC (4 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.1194: +1 -2 lines
Diff to previous 1.1194 (colored)

move "define tcbus {}" into files.alpha.  it isn't wanted for general
ports, and generates an unused symbol for pmax.  with this both alpha
and pmax kernel work with gcc 5 and 6.

Revision 1.1194 / (download) - annotate - [select for diffs], Mon Feb 12 23:11:00 2018 UTC (4 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.1193: +2 -1 lines
Diff to previous 1.1193 (colored)

Add a new option CISS_NO_INTERRUPT_HACK for driving ciss(4) by callouts.
This is intended as workaround for certain Xen issues with dom0 kernels
and will likely want to have a high HZ value as well for decent
performance.

Revision 1.1173.2.4 / (download) - annotate - [select for diffs], Sun Feb 11 21:17:34 2018 UTC (4 years, 11 months ago) by snj
Branch: netbsd-8
Changes since 1.1173.2.3: +2 -1 lines
Diff to previous 1.1173.2.3 (colored) to branchpoint 1.1173 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #536):
	distrib/sets/lists/base/shl.mi: 1.825
	distrib/sets/lists/comp/mi: 1.2168-1.2169
	distrib/sets/lists/comp/shl.mi: 1.310
	distrib/sets/lists/debug/mi: 1.234
	distrib/sets/lists/debug/shl.mi: 1.188
	distrib/sets/lists/man/mi: 1.1570
	distrib/sets/lists/tests/mi: 1.772
	etc/mtree/NetBSD.dist.tests: 1.150
	share/man/man4/Makefile: 1.650
	share/man/man4/ipsec.4: 1.42-1.43
	share/man/man4/ipsecif.4: 1.1-1.5
	sys/arch/amd64/conf/ALL: 1.77
	sys/arch/amd64/conf/GENERIC: 1.480
	sys/conf/files: 1.1191
	sys/net/Makefile: 1.34
	sys/net/files.net: 1.14
	sys/net/if.c: 1.404
	sys/net/if.h: 1.248
	sys/net/if_gif.c: 1.135
	sys/net/if_ipsec.c: 1.1-1.3
	sys/net/if_ipsec.h: 1.1
	sys/net/if_l2tp.c: 1.16
	sys/net/if_types.h: 1.28
	sys/netinet/in.c: 1.214
	sys/netinet/in.h: 1.103
	sys/netinet/in_gif.c: 1.92
	sys/netinet/ip_var.h: 1.122
	sys/netinet6/in6.c: 1.257
	sys/netinet6/in6.h: 1.88
	sys/netinet6/in6_gif.c: 1.90
	sys/netinet6/ip6_var.h: 1.75
	sys/netipsec/Makefile: 1.6
	sys/netipsec/files.netipsec: 1.13
	sys/netipsec/ipsec.h: 1.62
	sys/netipsec/ipsecif.c: 1.1
	sys/netipsec/ipsecif.h: 1.1
	sys/netipsec/key.c: 1.246-1.247
	sys/netipsec/key.h: 1.34
	sys/rump/net/Makefile.rumpnetcomp: 1.20
	sys/rump/net/lib/libipsec/IPSEC.ioconf: 1.1
	sys/rump/net/lib/libipsec/Makefile: 1.1
	sys/rump/net/lib/libipsec/ipsec_component.c: 1.1
	tests/net/Makefile: 1.34
	tests/net/if_ipsec/Makefile: 1.1
	tests/net/if_ipsec/t_ipsec.sh: 1.1-1.2
Don't touch an SP without a reference to it
unify processing to check nesting count for some tunnel protocols.
add ipsec(4) interface, which is used for route-based VPN.
man and ATF are added later, please see man for details.
reviewed by christos@n.o, joerg@n.o and ozaki-r@n.o, thanks.
https://mail-index.netbsd.org/tech-net/2017/12/18/msg006557.html
ipsec(4) interface supports rump now.
add ipsec(4) interface ATF.
add ipsec(4) interface man as ipsecif.4.
add ipsec(4) interface to amd64/GENERIC and amd64/ALL configs.
apply in{,6}_tunnel_validate() to gif(4).
Spell IPsec that way. Simplify macro usage. Sort SEE ALSO. Bump
date for previous.
Improve wording and macro use.
Some parts are not clear to me, so someone with knowledge of ipsecif(4)
should improve this some more.
Improve ipsecif.4. Default port ipsec(4) NAT-T is tested now.
pointed out by wiz@n.o and suggested by ozaki-r@n.o, thanks.
Change the prefix of test names to ipsecif_ to distinguish from tests for ipsec(4)
New sentence, new line. Remove empty macro.
Fix PR kern/52920. Pointed out by David Binderman, thanks.
Improve wording, and put a new drawing, from me and Kengo Nakahara.
apply a little more #ifdef INET/INET6.  fixes !INET6 builds.

Revision 1.1193 / (download) - annotate - [select for diffs], Sun Feb 4 17:31:51 2018 UTC (4 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.1192: +2 -1 lines
Diff to previous 1.1192 (colored)

Add a proper defflag for GPROF, and include opt_gprof.h, otherwise we're
not gonna go very far.

Revision 1.1192 / (download) - annotate - [select for diffs], Thu Jan 18 00:32:48 2018 UTC (5 years ago) by mrg
Branch: MAIN
Changes since 1.1191: +3 -2 lines
Diff to previous 1.1191 (colored)

implement 32-bit compat support for raidframe.

convert several raidframe ioctls to be bitsize idempotent so that
they work the same in 32 and 64 bit worlds, allowing netbsd32 to
configure and query raid properly.  remove useless 'row' in a few
places.  add COMPAT_80 and put the old ioctls there.

raidframeio.h:
  RAIDFRAME_TEST_ACC
  - remove, unused
  RAIDFRAME_GET_COMPONENT_LABEL
  - convert to label not pointer to label
  RAIDFRAME_CHECK_RECON_STATUS_EXT
  RAIDFRAME_CHECK_PARITYREWRITE_STATUS_EXT
  RAIDFRAME_CHECK_COPYBACK_STATUS_EXT
  - convert to progress info not pointer to info
  RAIDFRAME_GET_INFO
  - version entirely.
raidframevar.h:
  - rf_recon_req{} has row, flags and raidPtr removed (they're
    not a useful part of this interface.)
  - RF_Config_s{} and RF_DeviceConfig_s{} have numRow/rows removed.
  - RF_RaidDisk_s{} is re-ordered slightly to fix alignment
    padding - the actual data was already OK.
  - InstallSpareTable() loses row argument

rf_compat32.c has code for RF_Config_s{} in 32 bit mode, used
by RAIDFRAME_CONFIGURE and RAIDFRAME_GET_INFO32.

rf_compat80.c has code for rf_recon_req{}, RF_RaidDisk_s{} and
RF_DeviceConfig_s{} to handle RAIDFRAME_FAIL_DISK,
RAIDFRAME_GET_COMPONENT_LABEL, RAIDFRAME_CHECK_RECON_STATUS_EXT,
RAIDFRAME_CHECK_PARITYREWRITE_STATUS_EXT,
RAIDFRAME_CHECK_COPYBACK_STATUS_EXT, RAIDFRAME_GET_INFO.

move several of the per-ioctl code blocks into separate functions.

add rf_recon_req_internal{} to replace old usage of global
rf_recon_req{} that had unused void * in the structure, ruining
it's 32/64 bit ABI.

add missing case for RAIDFRAME_GET_INFO50.

adjust raid tests to use the new .conf format, and add a case to
test the old method as well.

raidctl:
deal with lack of 'row' members in a couple of places.
fail request no longer takes row.
handle "START array" sections with just "numCol numSpare", ie
no "numRow" specified.  for now, generate old-style configuration
but update raidctl.8 to specify the new style (keeping reference
to the old style.)

note that: RF_ComponentLabel_s::{row,num_rows} and
RF_SingleComponent_s::row are obsolete but not removed yet.

Revision 1.1191 / (download) - annotate - [select for diffs], Wed Jan 10 10:56:30 2018 UTC (5 years ago) by knakahara
Branch: MAIN
Changes since 1.1190: +2 -1 lines
Diff to previous 1.1190 (colored)

add ipsec(4) interface, which is used for route-based VPN.

man and ATF are added later, please see man for details.

reviewed by christos@n.o, joerg@n.o and ozaki-r@n.o, thanks.
https://mail-index.netbsd.org/tech-net/2017/12/18/msg006557.html

Revision 1.1190 / (download) - annotate - [select for diffs], Tue Jan 9 03:31:12 2018 UTC (5 years ago) by christos
Branch: MAIN
Changes since 1.1189: +2 -1 lines
Diff to previous 1.1189 (colored)

Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet

Revision 1.1189 / (download) - annotate - [select for diffs], Mon Dec 18 15:53:39 2017 UTC (5 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.1188: +7 -1 lines
Diff to previous 1.1188 (colored)

Generalise FDT and OFW

Revision 1.1188 / (download) - annotate - [select for diffs], Sat Dec 16 09:34:18 2017 UTC (5 years, 1 month ago) by maxv
Branch: MAIN
Changes since 1.1187: +2 -2 lines
Diff to previous 1.1187 (colored)

Fix the linux dependency. It does not depend on COMPAT_16, it just wants
the compat functions (not really controlled by COMPAT_NETBSD, but for the
principle).

Makes it possible to load compat_linux.kmod from the filesystem without
any COMPAT_* option compiled (but COMPAT_NETBSD).

Revision 1.1187 / (download) - annotate - [select for diffs], Sun Dec 10 17:12:54 2017 UTC (5 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.1186: +6 -1 lines
Diff to previous 1.1186 (colored)

Add support for I2C designware controllers (as found in Intel PCH devices),
with a pci front-end.
The pci front-end is tied to ACPI and Intel-specific, so it's in arch/x86/pci
and not dev/pci.
Core driver from OpenBSD, PCI front-end by me.

Revision 1.1186 / (download) - annotate - [select for diffs], Sun Dec 10 17:03:07 2017 UTC (5 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.1185: +4 -5 lines
Diff to previous 1.1185 (colored)

Factor out bus-independant HID code so that it can be shared by USB, bluetooth
and i2c.
dev/usb/ukbdmap.c is renamed to dev/hid/hidkbdmap.c
dev/usb/hid.[ch] moved to dev/hid/
usage pages moved from dev/usb/usbhid.h moved to dev/hid/hid.h,
and updated with OpenBSD entries.
bus-independant code moved from dev/usb/ums.c to dev/hid/hidms.c
(the same should be done for keyboard and touchpad drivers)

Needed for the upcoming HID over I2C support, proposed on tech-kern@
on Dec, 1.

Revision 1.1057.2.5 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:57 2017 UTC (5 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1057.2.4: +142 -351 lines
Diff to previous 1.1057.2.4 (colored) next main 1.1058 (colored)

update from HEAD

Revision 1.1185 / (download) - annotate - [select for diffs], Sat Nov 25 16:31:03 2017 UTC (5 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.1184: +5 -1 lines
Diff to previous 1.1184 (colored)

Add driver for QEMU Firmware Configuration device.

This interface allows the host to pass various data items and files to
the guest OS.

Revision 1.1184 / (download) - annotate - [select for diffs], Sat Nov 18 18:44:55 2017 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.1183: +2 -2 lines
Diff to previous 1.1183 (colored)

Catch up with the new config version.

Revision 1.1183 / (download) - annotate - [select for diffs], Thu Oct 19 23:58:41 2017 UTC (5 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.1182: +5 -1 lines
Diff to previous 1.1182 (colored)

Add driver for Broadcom 802.11a/b/g/n/ac USB wireless devices, based on
the OpenBSD bwfm(4) driver.

Revision 1.1182 / (download) - annotate - [select for diffs], Mon Oct 9 10:28:33 2017 UTC (5 years, 3 months ago) by kre
Branch: MAIN
Changes since 1.1181: +2 -2 lines
Diff to previous 1.1181 (colored)


(untested) attempt to fix b5 evbarm-earmv7hf build - please revert if this
is incorrect, or harms anything else...

Revision 1.1181 / (download) - annotate - [select for diffs], Wed Sep 13 22:24:46 2017 UTC (5 years, 4 months ago) by sevan
Branch: MAIN
Changes since 1.1180: +2 -5 lines
Diff to previous 1.1180 (colored)

Remove support for VERIFIED_EXEC_FP_RMD160, VERIFIED_EXEC_FP_SHA1, and VERIFIED_EXEC_FP_MD5 options.
These algorithms are either broken or on their way to being broken.

Discussed on tech-security
http://mail-index.netbsd.org/tech-security/2017/08/21/msg000936.html

ok riastradh

Revision 1.1121.2.13 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:00 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1121.2.12: +26 -4 lines
Diff to previous 1.1121.2.12 (colored) to branchpoint 1.1121 (colored) next main 1.1122 (colored)

Sync with HEAD

Revision 1.1173.2.3 / (download) - annotate - [select for diffs], Tue Jul 18 19:13:09 2017 UTC (5 years, 6 months ago) by snj
Branch: netbsd-8
CVS Tags: matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.1173.2.2: +5 -2 lines
Diff to previous 1.1173.2.2 (colored) to branchpoint 1.1173 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #114):
	sys/arch/arm/samsung/exynos_intr.h: revision 1.3
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_gates.c: revision 1.1
	distrib/utils/embedded/mkimage: revision 1.66
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_rsb.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.6
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.7
	sys/dev/gpio/gpio.c: revision 1.59
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.1
	sys/conf/Makefile.kern.inc: revision 1.257
	sys/arch/evbarm/conf/ODROID-XU_INSTALL: file removal
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.2
	sys/conf/Makefile.kern.inc: revision 1.258
	sys/arch/arm/fdt/psci_fdt.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_resets.c: revision 1.1
	sys/arch/evbarm/conf/files.sunxi: revision 1.1
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.8
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.9
	sys/arch/arm/samsung/files.exynos: revision 1.22
	distrib/utils/embedded/conf/armv7.conf: revision 1.13
	sys/arch/arm/samsung/files.exynos: revision 1.23
	sys/arch/evbarm/conf/std.tegra: revision 1.15
	distrib/utils/embedded/conf/armv7.conf: revision 1.14
	sys/arch/arm/samsung/files.exynos: revision 1.24
	distrib/utils/embedded/conf/armv7.conf: revision 1.15
	sys/arch/evbarm/sunxi/genassym.cf: revision 1.1
	sys/arch/arm/samsung/exynos_fdt.c: file removal
	sys/dev/fdt/fdt_pinctrl.c: revision 1.4
	sys/arch/arm/samsung/exynos_sysmmu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.1
	sys/dev/usb/ehci.c: revision 1.255
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_ccu.h: revision 1.1
	sys/dev/ic/dwc_mmc.c: revision 1.11
	sys/arch/arm/cortex/gic.c: revision 1.24
	distrib/evbarm/instkernel/ramdisk/Makefile: revision 1.17
	etc/etc.evbarm/Makefile.inc: revision 1.87
	etc/etc.evbarm/Makefile.inc: revision 1.88
	sys/arch/arm/fdt/gic_fdt.c: revision 1.5
	etc/Makefile: revision 1.429
	sys/arch/arm/fdt/gic_fdt.c: revision 1.6
	sys/arch/arm/fdt/gic_fdt.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.2
	sys/arch/evbarm/conf/std.sunxi: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.3
	sys/arch/evbarm/conf/std.sunxi: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.4
	sys/arch/evbarm/conf/std.sunxi: revision 1.3
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu_div.c: revision 1.1
	sys/dev/gpio/gpiovar.h: revision 1.17
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.8
	sys/arch/arm/sunxi/sunxi_rsb.h: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.12
	sys/dev/fdt/fdtvar.h: revision 1.21
	sys/arch/evbarm/sunxi/sunxi_start.S: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.13
	sys/dev/fdt/fdtvar.h: revision 1.22
	sys/arch/evbarm/conf/SUNXI: revision 1.10
	sys/dev/fdt/fdtvar.h: revision 1.23
	sys/arch/evbarm/conf/SUNXI: revision 1.11
	sys/dev/fdt/gpioleds.c: revision 1.1
	sys/dev/fdt/fdtvar.h: revision 1.24
	sys/arch/evbarm/conf/SUNXI: revision 1.12
	sys/arch/evbarm/conf/SUNXI: revision 1.13
	sys/arch/arm/cortex/gic.c: revision 1.30
	sys/arch/evbarm/conf/SUNXI: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.16
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.1
	etc/Makefile: revision 1.430
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.2
	etc/Makefile: revision 1.431
	sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.17
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.4
	sys/arch/arm/samsung/exynos5422_clock.c: revision 1.6
	sys/arch/arm/samsung/exynos_platform.c: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.29
	sys/arch/arm/samsung/exynos_platform.c: revision 1.2
	sys/arch/evbarm/conf/mk.vexpress: revision 1.3
	sys/arch/arm/samsung/exynos_platform.c: revision 1.3
	sys/arch/evbarm/conf/mk.vexpress: revision 1.4
	sys/arch/arm/samsung/exynos_platform.c: revision 1.4
	sys/arch/arm/arm/psci.h: revision 1.1
	sys/arch/arm/samsung/exynos_platform.c: revision 1.5
	sys/arch/arm/samsung/exynos_platform.c: revision 1.6
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.10
	external/bsd/mdocml/bin/mandoc/Makefile: revision 1.12
	sys/dev/fdt/files.fdt: revision 1.17
	sys/dev/fdt/files.fdt: revision 1.18
	sys/dev/fdt/files.fdt: revision 1.19
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.8
	sys/arch/arm/sunxi/sun8i_a83t_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.1
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.9
	sys/arch/arm/conf/files.arm: revision 1.133
	sys/arch/arm/samsung/mct_var.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.2
	sys/arch/evbarm/conf/std.vexpress: revision 1.6
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.3
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.4
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.30
	sys/arch/arm/sunxi/files.sunxi: revision 1.2
	sys/dev/ofw/openfirm.h: revision 1.35
	sys/arch/arm/sunxi/files.sunxi: revision 1.3
	sys/dev/ofw/openfirm.h: revision 1.36
	sys/arch/arm/sunxi/files.sunxi: revision 1.4
	sys/arch/arm/sunxi/files.sunxi: revision 1.5
	sys/arch/evbarm/exynos/exynos_machdep.c: file removal
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.1
	sys/arch/arm/samsung/sscom.c: revision 1.9
	sys/arch/arm/sunxi/files.sunxi: revision 1.6
	sys/dev/fdt/ohci_fdt.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.7
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.8
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.9
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.10
	sys/arch/evbarm/conf/mk.tegra: revision 1.5
	sys/arch/arm/samsung/exynos_dwcmmc.c: revision 1.4
	sys/arch/evbarm/conf/mk.tegra: revision 1.6
	sys/arch/evbarm/conf/EXYNOS: revision 1.15
	sys/arch/evbarm/conf/EXYNOS: revision 1.16
	sys/arch/evbarm/conf/EXYNOS: revision 1.17
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.19
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_emac.h: revision 1.1
	sys/arch/evbarm/conf/mk.sunxi: revision 1.1
	sys/arch/evbarm/include/bootconfig.h: revision 1.7
	sys/arch/evbarm/conf/TEGRA: revision 1.24
	sys/arch/arm/arm/psci.c: revision 1.1
	sys/dev/led.c: revision 1.1
	sys/dev/led.c: revision 1.2
	sys/arch/arm/arm/psci_arm.S: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.2
	sys/dev/fdt/ehci_fdt.c: revision 1.1
	sys/dev/fdt/ehci_fdt.c: revision 1.2
	sys/arch/arm/sunxi/sun6i_a31_ccu.h: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.21
	sys/arch/arm/sunxi/files.sunxi: revision 1.10
	sys/arch/arm/sunxi/files.sunxi: revision 1.11
	sys/dev/fdt/fdtbus.c: revision 1.14
	sys/arch/arm/sunxi/sunxi_mmc.h: revision 1.1
	sys/arch/arm/samsung/exynos5422_dma.c: file removal
	usr.bin/config/mkmakefile.c: revision 1.69
	sys/conf/files: revision 1.1178
	sys/arch/arm/sunxi/sunxi_platform.h: revision 1.1
	sys/arch/evbarm/exynos/exynos_start.S: revision 1.4
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.11
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_rtc.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.h: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.2
	sys/arch/evbarm/conf/SUNXI: revision 1.1
	external/bsd/elftosb/usr.sbin/elftosb/Makefile: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.2
	sys/arch/arm/fdt/psci_fdt.c: revision 1.1
	sys/arch/evbarm/conf/SUNXI: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.4
	sys/arch/evbarm/conf/files.exynos: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.6
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.1
	sys/dev/fdt/fixedfactorclock.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.7
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_gpio.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.8
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.3
	sys/dev/ic/dwc_mmc_reg.h: revision 1.6
	sys/dev/fdt/fdt_subr.c: revision 1.16
	sys/arch/evbarm/conf/SUNXI: revision 1.9
	usr.bin/config/mkmakefile.c: revision 1.70
	sys/dev/fdt/fdt_phy.c: revision 1.1
	sys/arch/evbarm/conf/ODROID-XU: file removal
	sys/arch/arm/fdt/arm_fdt.c: revision 1.4
	sys/arch/arm/samsung/exynos_reg.h: revision 1.14
	sys/conf/files: revision 1.1180
	sys/arch/arm/samsung/exynos_reg.h: revision 1.15
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.6
	sys/dev/ic/dwc_mmc_var.h: revision 1.6
	sys/arch/arm/samsung/exynos_combiner.c: revision 1.7
	sys/arch/evbarm/exynos/platform.h: revision 1.2
	sys/arch/arm/fdt/files.fdt: revision 1.12
	sys/arch/evbarm/conf/std.exynos: revision 1.2
	sys/arch/evbarm/conf/std.exynos: revision 1.3
	sys/arch/arm/rockchip/rockchip_dwcmmc.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.1
	sys/dev/led.h: revision 1.1
	sys/arch/evbarm/conf/std.exynos: revision 1.5
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.2
	sys/arch/evbarm/conf/files.evbarm: revision 1.26
	usr.bin/config/defs.h: revision 1.99
	sys/arch/arm/fdt/arm_fdtvar.h: revision 1.6
	sys/arch/arm/samsung/exynos_soc.c: revision 1.32
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.2
	sys/arch/arm/samsung/mct.c: revision 1.11
	sys/arch/evbarm/conf/ODROID-U: file removal
	sys/arch/arm/samsung/mct.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.4
Get the EXYNOS kernel building again with recent FDT changes. Untested.
Use arm_fdt_cpu_hatch and add mmu entry for DTB
Fix exynos5 devmap, bootstrap, and implement early_putchar.
Calculate UART frequency based on bootloader config.
Fix KERNEL_BASE_PHYS (how did this ever work?)
Avoid divide-by-zero for unconfigured PLLs
Correctly initialize i2cbus attach args.
Add delay and enable mct timecounter.
Fix build w/o VERBOSE_INIT_ARM
Remove ODROID-U and ODROID-XU kernel configs as they no longer work.
- Replace CONSADDR with SSCOM2CONSOLE in example
- Remove gtmr (Exynos5422 uses mct)
- cinclude EXYNOS.local instead of TEGRA.local
Use fdtbus_intr_establish to hook in block interrupts instead of
intr_establish.
Simplify MCT; just enable it and then attach an ARMv7 generic timer.
Add support for building DTB files during kernel build, from christos.
build vexpress-v2p-ca15-tc1.dtb with the kernel
build tegra124-apalis-eval.dtb, tegra124-jetson-tk1.dtb, tegra124-nyan-big.dtb, tegra124-nyan-blaze.dtb, and tegra124-venice2.dtb with the kernel
Allow multiline makeoptions to work by quoting the newline..
Bump for quoting makeoptions with multiple lines.
un-c99
bump required config version for multiline makeoptions feature
Set DTS makeoption in kernel config
Assign DTB files to a variable so we can make -V DTB
put the dtb files with their kernels.
no need for debug printing.
Don't assume that CPU index = GIC CPU interface number. We can determine
the current CPU interface number by reading from the read-only
GICD_ITARGETSR0 through GICD_ITARGETSR7 registers.
This gets interrupts working on Exynos 5422, where the boot processor has
GIC CPU interface #4.
use -v to get the expanded variable.
Use -v to get the expanded variables.
Get baud rate from sclk_uartN instead of uartN. Print IRQ number at attach.
Fix PLL con0 register locations and add uart clocks
Disable exyortc for now, it doesn't work.
More or less a rewrite of dwc_mmc, based on awin_mmc, adding DMA support.
Update for new dwc_mmc driver
Fix dmesg
Add Exynos 5410 clock controller driver.
Fix a few typos in clock parent names for mmc clocks.
From jmcneill@
Update for new dwc_mmc driver
Implement platform reset for exynos5
Attach fdtbus to a /clocks node with no compatible string.
Add support for ARM Power State Coordination Interface (PSCI).
Support interrupt sharing.
Add initial support for Allwinner H3 SoC.
ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF,
U-Boot on some platforms may use SGIs in this range for the PSCI
implementation.
Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert
to ensure that we don't end up with a conflict.
Add H3 MMC support
SD/MMC clock fixes
Add FDT PHY interface.
Add glue for generic ehci/ohci bindings.
Rename a variable, NFC.
Support parents in different clock domains.
Add USB stuff. Doesn't quite work yet.
Synopsys DesignWare APB UART needs "options COM_AWIN" for now.
Add i2c glue.
Add RTC driver.
PHY registers start at index 1. Now USB works.
Don't allow sharing edge and level triggered interrupts.
Add arm_fdt_memory_dump helper for dumping physical addresses from ddb
Print clocks with aprint_debug
Remove unused defines
Add fdtbus_get_string helper
Add of_search_compatible, which searches an array of compat_data structures
for a matching "compatible" entry matching the supplied OFW node. This
allows us to associate data with compatible strings.
Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.
This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.
Fix dmesg
Add basic support for Allwinner A31.
Add basic FDT GPIO support.
Fix the pinctrl api to match the spec. A pinctrl config can have more
than one xref, and an xref may have specifier data associated with it.
Enable sunxi pinctrl support
Adjust to new pinctrl API
Add P2WI/RSB driver, based on awin_p2wi.c.
Fix typo in a compat string.
Configure pin defaults at attach
No need to explicitly set pinctrl config 0 now
Fix some register definitions.
Disallow sharing between MPSAFE and non-MPSAFE handlers.
Add of_match_compat_data.
This routine searches an array of compat_data structures for a
matching "compatible" entry matching the supplied OFW node.
Add options __HAVE_CPU_UAREA_ALLOC_IDLELWP
Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based
kernels.
the extent code cannot use the full range of u_long,
so ignore the last page before 4GB too.  ok jmcneill@
Copy install ramdisk to releasedir. Provide both a raw ffs and
Legacy U-Boot version of it.
Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb
files for SUNXI and TEGRA kernels on the MSDOS partition.
Let the controller provide a default name for pins. This makes pins easier
to locate when we have multiple banks and a variable number of pins per
bank.
Attach gpio(4) to sunxigpio
Test for kernel build directory before reading DTB list
Add support for Allwinner A83T SoC.
Add A83T files
Fixup busdma sync and locking in the RX path. Disable batch RX/TX ints.
Fix AHB2 register definition and explicitly set AHB2 parent to PLL_PERIPH0/2 -- this gives us 50% more bus bandwidth for emac
Restore TX_INTERVAL_DEFAULT to 64
Drop the sunxi_emac_rx_batch feature. It was originally designed to
reduce the amount of mutex unlock/lock cycles during the RX path on
FreeBSD and if_input, but it is not required to drop the lock before
calling if_percpuq_enqueue on NetBSD.
Write back the data value instead of mask in sunxi_gpio_write
Add a helper for exposing LED controls via sysctl.
Add GPIO LED driver.
add gpioleds
Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.
Add fdtbus_get_string_index helper.
Add driver for fixed-factor clocks.
Add ffclock
Remove the requirement for ehci to attach after companion devices.
"go for it" - skrll@
Remove the hack to find companion devices and just assume 1 companion if
ETTF flag is not set.
Remove pass numbers for ehci/ohci now that the attach order no longer matters
Use unsigned char for ctype functions, suggested by christos
Add : to body of populate_sunxi to appease bash.
port-evbarm/52388: Fix number of args to a debug printf.

Revision 1.1180 / (download) - annotate - [select for diffs], Sat Jul 8 00:54:37 2017 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Changes since 1.1179: +4 -1 lines
Diff to previous 1.1179 (colored)

Add a helper for exposing LED controls via sysctl.

Revision 1.1179 / (download) - annotate - [select for diffs], Thu Jun 22 16:46:53 2017 UTC (5 years, 7 months ago) by flxd
Branch: MAIN
Changes since 1.1178: +2 -2 lines
Diff to previous 1.1178 (colored)

spelling (DEC called it "TURBOchannel")

Revision 1.1178 / (download) - annotate - [select for diffs], Fri Jun 16 21:36:35 2017 UTC (5 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.1177: +2 -2 lines
Diff to previous 1.1177 (colored)

bump required config version for multiline makeoptions feature

Revision 1.1177 / (download) - annotate - [select for diffs], Sun Jun 11 21:45:28 2017 UTC (5 years, 7 months ago) by pgoyette
Branch: MAIN
Changes since 1.1176: +2 -2 lines
Diff to previous 1.1176 (colored)

Remove the 'needs-flag' from spkr.c - it's not needed by anything.

Revision 1.1176 / (download) - annotate - [select for diffs], Sun Jun 11 03:55:56 2017 UTC (5 years, 7 months ago) by nat
Branch: MAIN
Changes since 1.1175: +4 -3 lines
Diff to previous 1.1175 (colored)

New device wsbell - allows for a console beep for non pckbds (usb etc).
Works for platforms without pcppi - can work with spkr at audio and spkr
at pcppi.

To use add the following to your kernel config:
wsbell* at spkr? console?

Ok pgoyette@.

Revision 1.1173.2.2 / (download) - annotate - [select for diffs], Sat Jun 10 05:57:08 2017 UTC (5 years, 7 months ago) by snj
Branch: netbsd-8
Changes since 1.1173.2.1: +5 -1 lines
Diff to previous 1.1173.2.1 (colored) to branchpoint 1.1173 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #19):
	sys/arch/arm/fdt/files.fdt: revision 1.11
	sys/arch/arm/fdt/plrtc_fdt.c: revision 1.1
	sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.16
	sys/conf/files: revision 1.1175
	sys/dev/ic/pl031.c: revision 1.1
	sys/dev/ic/pl031var.h: revision 1.1
Add driver for ARM PrimeCell PL031 (RTC) Real Time Clock.
--
Add fdt glue for plrtc
--
Add plrtc driver

Revision 1.1173.2.1 / (download) - annotate - [select for diffs], Fri Jun 9 16:59:20 2017 UTC (5 years, 7 months ago) by snj
Branch: netbsd-8
Changes since 1.1173: +5 -1 lines
Diff to previous 1.1173 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #17):
	sys/arch/arm/fdt/aaci_fdt.c: revision 1.1
	sys/arch/arm/fdt/files.fdt: revision 1.10
	sys/arch/evbarm/conf/VEXPRESS_A15: revisions 1.14, 1.15
	sys/conf/files: revision 1.1174
	sys/dev/ic/pl041.c: revisions 1.1-1.3
	sys/dev/ic/pl041var.h: revision 1.1
Add driver for ARM PrimeCell Advanced Audio CODEC interface (PL041).
Don't expect this driver to work on real hardware, but QEMU emulates it.
--
Add fdt glue for ARM PrimeCell Advanced Audio CODEC interface (PL041).
--
Add aaci at fdt, commented out for now. Driver should work (tm) but QEMU
and my old Thinkpad can't seem to keep up.
--
Fix two bugs:
 - Inverted test for fifo status in aaci_write_data
 - Return success from trigger_output (thanks nat)
--
Enable aaci
--
bus_space_write_multi_4 takes a count, not number of bytes. With this,
audio works in qemu.

Revision 1.1175 / (download) - annotate - [select for diffs], Thu Jun 8 21:00:43 2017 UTC (5 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.1174: +5 -1 lines
Diff to previous 1.1174 (colored)

Add driver for ARM PrimeCell PL031 (RTC) Real Time Clock.

Revision 1.1174 / (download) - annotate - [select for diffs], Thu Jun 8 10:02:39 2017 UTC (5 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.1173: +5 -1 lines
Diff to previous 1.1173 (colored)

Add driver for ARM PrimeCell Advanced Audio CODEC interface (PL041).

Don't expect this driver to work on real hardware, but QEMU emulates it.

Revision 1.1173 / (download) - annotate - [select for diffs], Sat Jun 3 17:03:36 2017 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.1172: +5 -1 lines
Diff to previous 1.1172 (colored)

Add driver for ARM PrimeCell PL050 (KMI) PS2 keyboard/mouse interface

Revision 1.1172 / (download) - annotate - [select for diffs], Sat May 27 21:02:56 2017 UTC (5 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.1171: +3 -1 lines
Diff to previous 1.1171 (colored)

merge the bouyer-socketcan branch to HEAD.

CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.

This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).

This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).

There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.

At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.

Revision 1.1168.2.2 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:44 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.1168.2.1: +6 -2 lines
Diff to previous 1.1168.2.1 (colored) to branchpoint 1.1168 (colored) next main 1.1169 (colored)

Sync with HEAD

Revision 1.1096.2.9 / (download) - annotate - [select for diffs], Wed Apr 5 19:54:18 2017 UTC (5 years, 9 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.1096.2.8: +15 -6 lines
Diff to previous 1.1096.2.8 (colored) to branchpoint 1.1096 (colored)

Pull up following revision(s) (requested by skrll in ticket #1395):
	share/man/man4/axe.4: netbsd-7-nhusb
	share/man/man4/axen.4: netbsd-7-nhusb
	share/man/man4/cdce.4: netbsd-7-nhusb
	share/man/man4/uaudio.4: netbsd-7-nhusb
	share/man/man4/ucom.4: netbsd-7-nhusb
	share/man/man4/uep.4: netbsd-7-nhusb
	share/man/man4/urtw.4: netbsd-7-nhusb
	share/man/man4/usb.4: netbsd-7-nhusb
	share/man/man4/uyap.4: netbsd-7-nhusb
	share/man/man4/xhci.4: netbsd-7-nhusb
	share/man/man9/usbdi.9: netbsd-7-nhusb
	sys/arch/amd64/conf/ALL: netbsd-7-nhusb
	sys/arch/amd64/conf/GENERIC: netbsd-7-nhusb
	sys/arch/amiga/dev/slhci_zbus.c: netbsd-7-nhusb
	sys/arch/arm/allwinner/awin_otg.c: netbsd-7-nhusb
	sys/arch/arm/allwinner/awin_usb.c: netbsd-7-nhusb
	sys/arch/arm/amlogic/amlogic_dwctwo.c: netbsd-7-nhusb
	sys/arch/arm/at91/at91ohci.c: netbsd-7-nhusb
	sys/arch/arm/broadcom/bcm2835_dwctwo.c: netbsd-7-nhusb
	sys/arch/arm/broadcom/bcm53xx_usb.c: netbsd-7-nhusb
	sys/arch/arm/ep93xx/epohci.c: netbsd-7-nhusb
	sys/arch/arm/gemini/obio_ehci.c: netbsd-7-nhusb
	sys/arch/arm/imx/files.imx23: netbsd-7-nhusb
	sys/arch/arm/imx/imxusb.c: netbsd-7-nhusb
	sys/arch/arm/imx/imxusbreg.h: netbsd-7-nhusb
	sys/arch/arm/omap/obio_ohci.c: netbsd-7-nhusb
	sys/arch/arm/omap/omap3_ehci.c: netbsd-7-nhusb
	sys/arch/arm/omap/omapl1x_ohci.c: netbsd-7-nhusb
	sys/arch/arm/omap/tiotg.c: netbsd-7-nhusb
	sys/arch/arm/s3c2xx0/ohci_s3c24x0.c: netbsd-7-nhusb
	sys/arch/arm/samsung/exynos_usb.c: netbsd-7-nhusb
	sys/arch/arm/xscale/pxa2x0_ohci.c: netbsd-7-nhusb
	sys/arch/arm/zynq/zynq_usb.c: netbsd-7-nhusb
	sys/arch/hpcarm/dev/nbp_slhci.c: netbsd-7-nhusb
	sys/arch/hpcmips/dev/plumohci.c: netbsd-7-nhusb
	sys/arch/i386/conf/ALL: netbsd-7-nhusb
	sys/arch/i386/conf/GENERIC: netbsd-7-nhusb
	sys/arch/i386/pci/gcscehci.c: netbsd-7-nhusb
	sys/arch/luna68k/conf/GENERIC: netbsd-7-nhusb
	sys/arch/mips/adm5120/dev/ahci.c: netbsd-7-nhusb
	sys/arch/mips/adm5120/dev/ahcivar.h: netbsd-7-nhusb
	sys/arch/mips/alchemy/dev/ohci_aubus.c: netbsd-7-nhusb
	sys/arch/mips/atheros/dev/ehci_arbus.c: netbsd-7-nhusb
	sys/arch/mips/atheros/dev/ohci_arbus.c: netbsd-7-nhusb
	sys/arch/mips/conf/files.adm5120: netbsd-7-nhusb
	sys/arch/mips/ralink/ralink_ehci.c: netbsd-7-nhusb
	sys/arch/mips/ralink/ralink_ohci.c: netbsd-7-nhusb
	sys/arch/mips/rmi/rmixl_ehci.c: netbsd-7-nhusb
	sys/arch/mips/rmi/rmixl_ohci.c: netbsd-7-nhusb
	sys/arch/playstation2/dev/ohci_sbus.c: netbsd-7-nhusb
	sys/arch/powerpc/booke/dev/pq3ehci.c: netbsd-7-nhusb
	sys/arch/powerpc/ibm4xx/dev/dwctwo_plb.c: netbsd-7-nhusb
	sys/arch/x68k/dev/slhci_intio.c: netbsd-7-nhusb
	sys/conf/files: netbsd-7-nhusb
	sys/dev/cardbus/ehci_cardbus.c: netbsd-7-nhusb
	sys/dev/cardbus/ohci_cardbus.c: netbsd-7-nhusb
	sys/dev/cardbus/uhci_cardbus.c: netbsd-7-nhusb
	sys/dev/ic/sl811hs.c: netbsd-7-nhusb
	sys/dev/ic/sl811hsvar.h: netbsd-7-nhusb
	sys/dev/isa/slhci_isa.c: netbsd-7-nhusb
	sys/dev/marvell/ehci_mv.c: netbsd-7-nhusb
	sys/dev/pci/ehci_pci.c: netbsd-7-nhusb
	sys/dev/pci/ohci_pci.c: netbsd-7-nhusb
	sys/dev/pci/uhci_pci.c: netbsd-7-nhusb
	sys/dev/pci/xhci_pci.c: netbsd-7-nhusb
	sys/dev/pcmcia/slhci_pcmcia.c: netbsd-7-nhusb
	sys/dev/usb/Makefile.usbdevs: netbsd-7-nhusb
	sys/dev/usb/TODO: netbsd-7-nhusb
	sys/dev/usb/TODO.usbmp: netbsd-7-nhusb
	sys/dev/usb/aubtfwl.c: netbsd-7-nhusb
	sys/dev/usb/auvitek.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_audio.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_dtv.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_i2c.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_video.c: netbsd-7-nhusb
	sys/dev/usb/auvitekvar.h: netbsd-7-nhusb
	sys/dev/usb/ehci.c: netbsd-7-nhusb
	sys/dev/usb/ehcireg.h: netbsd-7-nhusb
	sys/dev/usb/ehcivar.h: netbsd-7-nhusb
	sys/dev/usb/emdtv.c: netbsd-7-nhusb
	sys/dev/usb/emdtv_dtv.c: netbsd-7-nhusb
	sys/dev/usb/emdtv_ir.c: netbsd-7-nhusb
	sys/dev/usb/emdtvvar.h: netbsd-7-nhusb
	sys/dev/usb/ezload.c: netbsd-7-nhusb
	sys/dev/usb/ezload.h: netbsd-7-nhusb
	sys/dev/usb/files.usb: netbsd-7-nhusb
	sys/dev/usb/hid.c: netbsd-7-nhusb
	sys/dev/usb/hid.h: netbsd-7-nhusb
	sys/dev/usb/if_athn_usb.c: netbsd-7-nhusb
	sys/dev/usb/if_athn_usb.h: netbsd-7-nhusb
	sys/dev/usb/if_atu.c: netbsd-7-nhusb
	sys/dev/usb/if_atureg.h: netbsd-7-nhusb
	sys/dev/usb/if_aue.c: netbsd-7-nhusb
	sys/dev/usb/if_auereg.h: netbsd-7-nhusb
	sys/dev/usb/if_axe.c: netbsd-7-nhusb
	sys/dev/usb/if_axen.c: netbsd-7-nhusb
	sys/dev/usb/if_axenreg.h: netbsd-7-nhusb
	sys/dev/usb/if_axereg.h: netbsd-7-nhusb
	sys/dev/usb/if_cdce.c: netbsd-7-nhusb
	sys/dev/usb/if_cdcereg.h: netbsd-7-nhusb
	sys/dev/usb/if_cue.c: netbsd-7-nhusb
	sys/dev/usb/if_cuereg.h: netbsd-7-nhusb
	sys/dev/usb/if_kue.c: netbsd-7-nhusb
	sys/dev/usb/if_kuereg.h: netbsd-7-nhusb
	sys/dev/usb/if_otus.c: netbsd-7-nhusb
	sys/dev/usb/if_otusvar.h: netbsd-7-nhusb
	sys/dev/usb/if_rum.c: netbsd-7-nhusb
	sys/dev/usb/if_rumreg.h: netbsd-7-nhusb
	sys/dev/usb/if_rumvar.h: netbsd-7-nhusb
	sys/dev/usb/if_run.c: netbsd-7-nhusb
	sys/dev/usb/if_runvar.h: netbsd-7-nhusb
	sys/dev/usb/if_smsc.c: netbsd-7-nhusb
	sys/dev/usb/if_smscreg.h: netbsd-7-nhusb
	sys/dev/usb/if_smscvar.h: netbsd-7-nhusb
	sys/dev/usb/if_udav.c: netbsd-7-nhusb
	sys/dev/usb/if_udavreg.h: netbsd-7-nhusb
	sys/dev/usb/if_upgt.c: netbsd-7-nhusb
	sys/dev/usb/if_upgtvar.h: netbsd-7-nhusb
	sys/dev/usb/if_upl.c: netbsd-7-nhusb
	sys/dev/usb/if_ural.c: netbsd-7-nhusb
	sys/dev/usb/if_uralreg.h: netbsd-7-nhusb
	sys/dev/usb/if_uralvar.h: netbsd-7-nhusb
	sys/dev/usb/if_url.c: netbsd-7-nhusb
	sys/dev/usb/if_urlreg.h: netbsd-7-nhusb
	sys/dev/usb/if_urndis.c: netbsd-7-nhusb
	sys/dev/usb/if_urndisreg.h: netbsd-7-nhusb
	sys/dev/usb/if_urtw.c: netbsd-7-nhusb
	sys/dev/usb/if_urtwn.c: netbsd-7-nhusb
	sys/dev/usb/if_urtwn_data.h: netbsd-7-nhusb
	sys/dev/usb/if_urtwnreg.h: netbsd-7-nhusb
	sys/dev/usb/if_urtwnvar.h: netbsd-7-nhusb
	sys/dev/usb/if_urtwreg.h: netbsd-7-nhusb
	sys/dev/usb/if_zyd.c: netbsd-7-nhusb
	sys/dev/usb/if_zydreg.h: netbsd-7-nhusb
	sys/dev/usb/irmce.c: netbsd-7-nhusb
	sys/dev/usb/moscom.c: netbsd-7-nhusb
	sys/dev/usb/motg.c: netbsd-7-nhusb
	sys/dev/usb/motgvar.h: netbsd-7-nhusb
	sys/dev/usb/ohci.c: netbsd-7-nhusb
	sys/dev/usb/ohcireg.h: netbsd-7-nhusb
	sys/dev/usb/ohcivar.h: netbsd-7-nhusb
	sys/dev/usb/pseye.c: netbsd-7-nhusb
	sys/dev/usb/slurm.c: netbsd-7-nhusb
	sys/dev/usb/stuirda.c: netbsd-7-nhusb
	sys/dev/usb/u3g.c: netbsd-7-nhusb
	sys/dev/usb/uark.c: netbsd-7-nhusb
	sys/dev/usb/uatp.c: netbsd-7-nhusb
	sys/dev/usb/uaudio.c: netbsd-7-nhusb
	sys/dev/usb/uberry.c: netbsd-7-nhusb
	sys/dev/usb/ubsa.c: netbsd-7-nhusb
	sys/dev/usb/ubsa_common.c: netbsd-7-nhusb
	sys/dev/usb/ubsavar.h: netbsd-7-nhusb
	sys/dev/usb/ubt.c: netbsd-7-nhusb
	sys/dev/usb/uchcom.c: netbsd-7-nhusb
	sys/dev/usb/ucom.c: netbsd-7-nhusb
	sys/dev/usb/ucomvar.h: netbsd-7-nhusb
	sys/dev/usb/ucycom.c: netbsd-7-nhusb
	sys/dev/usb/udl.c: netbsd-7-nhusb
	sys/dev/usb/udl.h: netbsd-7-nhusb
	sys/dev/usb/udsbr.c: netbsd-7-nhusb
	sys/dev/usb/udsir.c: netbsd-7-nhusb
	sys/dev/usb/uep.c: netbsd-7-nhusb
	sys/dev/usb/uftdi.c: netbsd-7-nhusb
	sys/dev/usb/uftdireg.h: netbsd-7-nhusb
	sys/dev/usb/ugen.c: netbsd-7-nhusb
	sys/dev/usb/ugensa.c: netbsd-7-nhusb
	sys/dev/usb/uhci.c: netbsd-7-nhusb
	sys/dev/usb/uhcireg.h: netbsd-7-nhusb
	sys/dev/usb/uhcivar.h: netbsd-7-nhusb
	sys/dev/usb/uhid.c: netbsd-7-nhusb
	sys/dev/usb/uhidev.c: netbsd-7-nhusb
	sys/dev/usb/uhidev.h: netbsd-7-nhusb
	sys/dev/usb/uhmodem.c: netbsd-7-nhusb
	sys/dev/usb/uhso.c: netbsd-7-nhusb
	sys/dev/usb/uhub.c: netbsd-7-nhusb
	sys/dev/usb/uipad.c: netbsd-7-nhusb
	sys/dev/usb/uipaq.c: netbsd-7-nhusb
	sys/dev/usb/uirda.c: netbsd-7-nhusb
	sys/dev/usb/uirdavar.h: netbsd-7-nhusb
	sys/dev/usb/ukbd.c: netbsd-7-nhusb
	sys/dev/usb/ukbdmap.c: netbsd-7-nhusb
	sys/dev/usb/ukyopon.c: netbsd-7-nhusb
	sys/dev/usb/ukyopon.h: netbsd-7-nhusb
	sys/dev/usb/ulpt.c: netbsd-7-nhusb
	sys/dev/usb/umass.c: netbsd-7-nhusb
	sys/dev/usb/umass_isdata.c: netbsd-7-nhusb
	sys/dev/usb/umass_isdata.h: netbsd-7-nhusb
	sys/dev/usb/umass_quirks.c: netbsd-7-nhusb
	sys/dev/usb/umass_quirks.h: netbsd-7-nhusb
	sys/dev/usb/umass_scsipi.c: netbsd-7-nhusb
	sys/dev/usb/umass_scsipi.h: netbsd-7-nhusb
	sys/dev/usb/umassvar.h: netbsd-7-nhusb
	sys/dev/usb/umcs.c: netbsd-7-nhusb
	sys/dev/usb/umct.c: netbsd-7-nhusb
	sys/dev/usb/umidi.c: netbsd-7-nhusb
	sys/dev/usb/umidi_quirks.c: netbsd-7-nhusb
	sys/dev/usb/umidi_quirks.h: netbsd-7-nhusb
	sys/dev/usb/umodem.c: netbsd-7-nhusb
	sys/dev/usb/umodem_common.c: netbsd-7-nhusb
	sys/dev/usb/umodemvar.h: netbsd-7-nhusb
	sys/dev/usb/ums.c: netbsd-7-nhusb
	sys/dev/usb/uplcom.c: netbsd-7-nhusb
	sys/dev/usb/urio.c: netbsd-7-nhusb
	sys/dev/usb/urio.h: netbsd-7-nhusb
	sys/dev/usb/usb.c: netbsd-7-nhusb
	sys/dev/usb/usb.h: netbsd-7-nhusb
	sys/dev/usb/usb_mem.c: netbsd-7-nhusb
	sys/dev/usb/usb_mem.h: netbsd-7-nhusb
	sys/dev/usb/usb_quirks.c: netbsd-7-nhusb
	sys/dev/usb/usb_quirks.h: netbsd-7-nhusb
	sys/dev/usb/usb_subr.c: netbsd-7-nhusb
	sys/dev/usb/usbdevices.config: netbsd-7-nhusb
	sys/dev/usb/usbdevs: netbsd-7-nhusb
	sys/dev/usb/usbdevs.h: netbsd-7-nhusb
	sys/dev/usb/usbdevs_data.h: netbsd-7-nhusb
	sys/dev/usb/usbdi.c: netbsd-7-nhusb
	sys/dev/usb/usbdi.h: netbsd-7-nhusb
	sys/dev/usb/usbdi_util.c: netbsd-7-nhusb
	sys/dev/usb/usbdi_util.h: netbsd-7-nhusb
	sys/dev/usb/usbdivar.h: netbsd-7-nhusb
	sys/dev/usb/usbhid.h: netbsd-7-nhusb
	sys/dev/usb/usbhist.h: netbsd-7-nhusb
	sys/dev/usb/usbroothub.c: netbsd-7-nhusb
	sys/dev/usb/usbroothub.h: netbsd-7-nhusb
	sys/dev/usb/usbroothub_subr.c: delete
	sys/dev/usb/usbroothub_subr.h: delete
	sys/dev/usb/uscanner.c: netbsd-7-nhusb
	sys/dev/usb/uslsa.c: netbsd-7-nhusb
	sys/dev/usb/usscanner.c: netbsd-7-nhusb
	sys/dev/usb/ustir.c: netbsd-7-nhusb
	sys/dev/usb/uthum.c: netbsd-7-nhusb
	sys/dev/usb/utoppy.c: netbsd-7-nhusb
	sys/dev/usb/uts.c: netbsd-7-nhusb
	sys/dev/usb/uvideo.c: netbsd-7-nhusb
	sys/dev/usb/uvisor.c: netbsd-7-nhusb
	sys/dev/usb/uvscom.c: netbsd-7-nhusb
	sys/dev/usb/uyap.c: netbsd-7-nhusb
	sys/dev/usb/uyap_firmware.h: netbsd-7-nhusb
	sys/dev/usb/uyurex.c: netbsd-7-nhusb
	sys/dev/usb/x1input_rdesc.h: netbsd-7-nhusb
	sys/dev/usb/xhci.c: netbsd-7-nhusb
	sys/dev/usb/xhcireg.h: netbsd-7-nhusb
	sys/dev/usb/xhcivar.h: netbsd-7-nhusb
	sys/dev/usb/xinput_rdesc.h: netbsd-7-nhusb
	sys/external/bsd/common/conf/files.linux: netbsd-7-nhusb
	sys/external/bsd/common/include/linux/err.h: netbsd-7-nhusb
	sys/external/bsd/common/include/linux/kernel.h: netbsd-7-nhusb
	sys/external/bsd/common/include/linux/workqueue.h: netbsd-7-nhusb
	sys/external/bsd/common/linux/linux_work.c: netbsd-7-nhusb
	sys/external/bsd/drm2/dist/drm/radeon/atombios_encoders.c: netbsd-7-nhusb
	sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_encoders.c: netbsd-7-nhusb
	sys/external/bsd/drm2/drm/files.drmkms: netbsd-7-nhusb
	sys/external/bsd/drm2/i915drm/files.i915drmkms: netbsd-7-nhusb
	sys/external/bsd/drm2/include/linux/err.h: delete
	sys/external/bsd/drm2/include/linux/workqueue.h: delete
	sys/external/bsd/drm2/linux/files.drmkms_linux: netbsd-7-nhusb
	sys/external/bsd/drm2/linux/linux_work.c: delete
	sys/external/bsd/dwc2/dwc2.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dwc2.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dwc2var.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dwctwo2netbsd: netbsd-7-nhusb
	sys/external/bsd/dwc2/conf/files.dwc2: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_core.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_core.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_coreintr.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcd.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcd.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcdddma.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcdintr.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcdqueue.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hw.h: netbsd-7-nhusb
	sys/modules/drmkms_linux/Makefile: netbsd-7-nhusb
	sys/modules/i915drmkms/Makefile: netbsd-7-nhusb
	sys/rump/dev/lib/libugenhc/ugenhc.c: netbsd-7-nhusb
	sys/rump/dev/lib/libusb/Makefile: netbsd-7-nhusb
	sys/rump/dev/lib/libusb/USB.ioconf: netbsd-7-nhusb
	sys/rump/dev/lib/libusb/usb_at_ugenhc.c: delete
	sys/rump/dev/lib/libusb/opt/opt_usb.h: delete
	sys/rump/dev/lib/libusb/opt/opt_usbverbose.h: delete
	sys/sys/mbuf.h: netbsd-7-nhusb
	usr.sbin/usbdevs/usbdevs.8: netbsd-7-nhusb
	usr.sbin/usbdevs/usbdevs.c: netbsd-7-nhusb
Merge netbsd-7-nhusb:
- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
     - kern/48308
     - uhub status notification improvements
     - umass(4) probe fix (applied to HEAD already)
     - ohci(4) short transfer fix
- Change the SOFTINT level from NET to SERIAL for the USB softint handler.
  This gives the callback a chance of running when another softint handler
  at SOFTINT_NET has blocked holding a lock, e.g. softnet_lock and most of
  the network stack.
     - kern/49065 - ifconfig tun0 ... sequence locks up system / lockup:
       softnet_lock held across usb xfr
     - kern/50491 - unkillable wait in usbd_transfer while using usmsc0
       on raspberry pi 2
     - kern/51395 - USB Ethernet makes xhci hang
- Various improvements to slhci(4)
- Various improvements to dwc2(4)

Revision 1.1160.2.3 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:26 2017 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.1160.2.2: +6 -2 lines
Diff to previous 1.1160.2.2 (colored) to branchpoint 1.1160 (colored) next main 1.1161 (colored)

Sync with HEAD

Revision 1.1171 / (download) - annotate - [select for diffs], Sun Feb 26 11:56:49 2017 UTC (5 years, 11 months ago) by rin
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Changes since 1.1170: +2 -1 lines
Diff to previous 1.1170 (colored)

Add DKWEDGE_METHOD_RDB option, which is Amiga Rigid Disk Block (RDB)
partitioning detection method for dk(4).

Revision 1.1170 / (download) - annotate - [select for diffs], Thu Feb 16 08:12:43 2017 UTC (5 years, 11 months ago) by knakahara
Branch: MAIN
Changes since 1.1169: +4 -1 lines
Diff to previous 1.1169 (colored)

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.

Revision 1.1121.2.12 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:26 2017 UTC (5 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1121.2.11: +15 -2 lines
Diff to previous 1.1121.2.11 (colored) to branchpoint 1.1121 (colored)

Sync with HEAD

Revision 1.1169 / (download) - annotate - [select for diffs], Thu Feb 2 19:50:35 2017 UTC (5 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: nick-nhusb-base-20170204
Changes since 1.1168: +2 -2 lines
Diff to previous 1.1168 (colored)

chipsfb needs glyphcache now

Revision 1.1096.2.7.2.2 / (download) - annotate - [select for diffs], Wed Jan 18 08:46:27 2017 UTC (6 years ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.1096.2.7.2.1: +2 -2 lines
Diff to previous 1.1096.2.7.2.1 (colored) to branchpoint 1.1096.2.7 (colored) next main 1.1096.2.8 (colored)

Sync with netbsd-5

Revision 1.1168.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 20:27:33 2017 UTC (6 years ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.1168: +3 -1 lines
Diff to previous 1.1168 (colored)

Initial commit of a CAN socket layer, compatible with linux SoccketCAN
(but incomplete). Based on work from Robert Swindells.

Revision 1.1160.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:30 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.1160.2.1: +14 -1 lines
Diff to previous 1.1160.2.1 (colored) to branchpoint 1.1160 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.1168 / (download) - annotate - [select for diffs], Mon Dec 26 23:12:33 2016 UTC (6 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.1167: +10 -1 lines
Diff to previous 1.1167 (colored)

Add a BIOHIST option.  As mentioned on tech-kern.

Revision 1.1167 / (download) - annotate - [select for diffs], Tue Dec 13 20:20:34 2016 UTC (6 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.1166: +5 -1 lines
Diff to previous 1.1166 (colored)

Restructure speaker devices so that there can be multiple of them, and have
proper softc's.

Revision 1.1121.2.11 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:00 2016 UTC (6 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.1121.2.10: +3 -3 lines
Diff to previous 1.1121.2.10 (colored) to branchpoint 1.1121 (colored)

Sync with HEAD

Revision 1.1096.2.8 / (download) - annotate - [select for diffs], Sun Nov 13 07:27:22 2016 UTC (6 years, 2 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE
Branch point for: netbsd-7-1
Changes since 1.1096.2.7: +2 -2 lines
Diff to previous 1.1096.2.7 (colored) to branchpoint 1.1096 (colored)

Pull up following revision(s) (requested by pgoyette in ticket #1270):
	sys/conf/files: revision 1.1165
Update dependencies for COMPAT_LINUX32 to include COMPAT_NETBSD32
Without this, an attempt to build a kernel with COMPAT_LINUX32 but without
COMPAT_NETBSD32 will fail during the execution of genassym, and the error
messages are not very helpful.
With this change, config(1) will automatically (and silently) select/add
COMPAT_NETBSD32 to the configuration.  It might be better if config(1)
were to issue an appropriate diagnostic, but that is a change for some
future day.

Revision 1.1160.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:07 2016 UTC (6 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.1160: +3 -3 lines
Diff to previous 1.1160 (colored)

Sync with HEAD

Revision 1.1166 / (download) - annotate - [select for diffs], Wed Nov 2 00:11:59 2016 UTC (6 years, 3 months ago) by pgoyette
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, nick-nhusb-base-20161204
Changes since 1.1165: +2 -2 lines
Diff to previous 1.1165 (colored)

* Split sys/kern/sys_process.c into three parts:
        1 - ptrace(2) syscall for native emulation
        2 - common ptrace(2) syscall code (shared with compat_netbsd32)
        3 - support routines that are shared with PROCFS and/or KTRACE

* Add module glue for #1 and #2.  Both modules will be built-in to the
  kernel if "options PTRACE" is included in the config file (this is
  the default, defined in sys/conf/std).

* Mark the ptrace(2) syscall as modular in syscalls.master (generated
  files will be committed shortly).

* Conditionalize all remaining portions of PTRACE code on a new kernel
  option PTRACE_HOOKS.

XXX Instead of PROCFS depending on 'options PTRACE', we should probably
    just add a procfs attribute to the sys/kern/sys_process.c file's
    entry in files.kern, and add PROCFS to the "#if defineds" for
    process_domem().  It's really confusing to have two different ways
    of requiring this file.

Revision 1.1165 / (download) - annotate - [select for diffs], Tue Nov 1 22:54:33 2016 UTC (6 years, 3 months ago) by pgoyette
Branch: MAIN
Changes since 1.1164: +2 -2 lines
Diff to previous 1.1164 (colored)

Update dependencies for COMPAT_LINUX32 to include COMPAT_NETBSD32

Without this, an attempt to build a kernel with COMPAT_LINUX32 but without
COMPAT_NETBSD32 will fail during the execution of genassym, and the error
messages are not very helpful.

With this change, config(1) will automatically (and silently) select/add
COMPAT_NETBSD32 to the configuration.  It might be better if config(1)
were to issue an appropriate diagnostic, but that is a change for some
future day.

Revision 1.1121.2.10 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:39 2016 UTC (6 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1121.2.9: +3 -5 lines
Diff to previous 1.1121.2.9 (colored) to branchpoint 1.1121 (colored)

Sync with HEAD

Revision 1.1164 / (download) - annotate - [select for diffs], Fri Sep 9 21:10:01 2016 UTC (6 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20161004, localcount-20160914
Changes since 1.1163: +1 -2 lines
Diff to previous 1.1163 (colored)

sppp is not a pseudo-device

Revision 1.1096.2.7.2.1 / (download) - annotate - [select for diffs], Tue Sep 6 20:33:07 2016 UTC (6 years, 4 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.1096.2.7: +15 -6 lines
Diff to previous 1.1096.2.7 (colored)

First pass at netbsd-7 updated with USB code from HEAD

Revision 1.1163 / (download) - annotate - [select for diffs], Fri Aug 19 18:08:50 2016 UTC (6 years, 5 months ago) by maxv
Branch: MAIN
Changes since 1.1162: +1 -2 lines
Diff to previous 1.1162 (colored)

Remove the last references to KMEMSTATS.

Revision 1.1162 / (download) - annotate - [select for diffs], Thu Aug 11 15:16:54 2016 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.1161: +2 -2 lines
Diff to previous 1.1161 (colored)

defopt PPPOE_DEBUG kill unknown sessions

Revision 1.1161 / (download) - annotate - [select for diffs], Sun Aug 7 10:44:04 2016 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.1160: +2 -2 lines
Diff to previous 1.1160 (colored)

rename ifmpls to mpls, so we don't have if_ifmpls...

Revision 1.1121.2.9 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:01 2016 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1121.2.8: +9 -1 lines
Diff to previous 1.1121.2.8 (colored) to branchpoint 1.1121 (colored)

Sync with HEAD

Revision 1.1160 / (download) - annotate - [select for diffs], Thu Jun 23 07:32:12 2016 UTC (6 years, 7 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Changes since 1.1159: +9 -1 lines
Diff to previous 1.1159 (colored)

Fix UVMHIST builds for kernels that don't include usb

Revision 1.1096.2.7 / (download) - annotate - [select for diffs], Wed Jun 22 08:26:05 2016 UTC (6 years, 7 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base
Branch point for: netbsd-7-nhusb
Changes since 1.1096.2.6: +2 -2 lines
Diff to previous 1.1096.2.6 (colored) to branchpoint 1.1096 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1178):
	sys/arch/arm/allwinner/files.awin: revision 1.36
	sys/conf/files: revision 1.1159
	sys/dev/ic/com.c: revision 1.339
	sys/dev/ic/comreg.h: revision 1.25
	sys/dev/ic/comvar.h: revision 1.82
	sys/dev/ic/ns16550reg.h: revision 1.11
The UART in the allwiner SoCs is not full-compatible with the 16550, and
it's not a 16750 either. Like the 16750 it has the IIR_BUSY interrupt,
which is triggered when writing to LCR while the chip
can't accept it. But unlike the 16750, it has a specific register,
HALT, to allow writing to the LCR and divisor registers, and then
commit the changes.
Tested on an A20 SoC, changing the baud rate while keeping the
tty device open and incoming data.

Revision 1.1121.2.8 / (download) - annotate - [select for diffs], Sun May 29 08:44:20 2016 UTC (6 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1121.2.7: +13 -4 lines
Diff to previous 1.1121.2.7 (colored) to branchpoint 1.1121 (colored)

Sync with HEAD

Revision 1.1159 / (download) - annotate - [select for diffs], Fri May 27 20:01:49 2016 UTC (6 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529
Changes since 1.1158: +2 -2 lines
Diff to previous 1.1158 (colored)

The UART in the allwiner SoCs is not full-compatible with the 16550, and
it's not a 16750 either. Like the 16750 it has the IIR_BUSY interrupt,
which is triggered when writing to LCR while the chip
can't accept it. But unlike the 16750, it has a specific register,
HALT, to allow writing to the LCR and divisor registers, and then
commit the changes.
Tested on an A20 SoC, changing the baud rate while keeping the
tty device open and incoming data.

Revision 1.1158 / (download) - annotate - [select for diffs], Sun May 1 10:21:02 2016 UTC (6 years, 9 months ago) by nonaka
Branch: MAIN
Changes since 1.1157: +9 -1 lines
Diff to previous 1.1157 (colored)

Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.

Revision 1.1157 / (download) - annotate - [select for diffs], Wed Apr 27 19:46:11 2016 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.1156: +3 -2 lines
Diff to previous 1.1156 (colored)

Add rt2860 now that it compiles.

Revision 1.1156 / (download) - annotate - [select for diffs], Tue Apr 26 10:38:42 2016 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.1155: +2 -2 lines
Diff to previous 1.1155 (colored)

First pass at adapting SLHCI_DEBUG to USBHIST

Revision 1.1155 / (download) - annotate - [select for diffs], Sat Apr 23 12:50:35 2016 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.1154: +3 -5 lines
Diff to previous 1.1154 (colored)

Merge nick-nhusb (missed commit)

Revision 1.1121.2.7 / (download) - annotate - [select for diffs], Fri Apr 22 15:44:12 2016 UTC (6 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1121.2.6: +2 -1 lines
Diff to previous 1.1121.2.6 (colored) to branchpoint 1.1121 (colored)

Sync with HEAD

Revision 1.1154 / (download) - annotate - [select for diffs], Tue Apr 12 11:51:08 2016 UTC (6 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422
Changes since 1.1153: +2 -1 lines
Diff to previous 1.1153 (colored)

Add PAX_MPROTECT_DEBUG

Revision 1.1121.2.6 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:08 2016 UTC (6 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1121.2.5: +4 -1 lines
Diff to previous 1.1121.2.5 (colored) to branchpoint 1.1121 (colored)

Sync with HEAD

Revision 1.1153 / (download) - annotate - [select for diffs], Wed Feb 24 22:04:15 2016 UTC (6 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20160319
Changes since 1.1152: +4 -1 lines
Diff to previous 1.1152 (colored)

Move linux_work.c and workqueue.h from sys/external/bsd/drm2 to
sys/external/common so that they can be used by others.

LGTM from riastradh@

These should really live outside sys/external, but that can be decided
later

Revision 1.1121.2.5 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:48 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.1121.2.4: +7 -2 lines
Diff to previous 1.1121.2.4 (colored) to branchpoint 1.1121 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.1152 / (download) - annotate - [select for diffs], Wed Dec 9 18:25:32 2015 UTC (7 years, 1 month ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.1151: +2 -2 lines
Diff to previous 1.1151 (colored)

Rename verified_exec.c -> veriexec.c.

The old log is now in Attic/.

Revision 1.1151 / (download) - annotate - [select for diffs], Sat Dec 5 13:31:07 2015 UTC (7 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.1150: +6 -1 lines
Diff to previous 1.1150 (colored)

Add basic clock device infrastructure.

Revision 1.1121.2.4 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:56 2015 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1121.2.3: +14 -5 lines
Diff to previous 1.1121.2.3 (colored) to branchpoint 1.1121 (colored)

Sync with HEAD

Revision 1.1150 / (download) - annotate - [select for diffs], Fri Sep 4 06:10:47 2015 UTC (7 years, 4 months ago) by uebayasi
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.1149: +1 -1 lines
Diff to previous 1.1149 (colored)

Make config(1) output only ${ALLFILES}, selected input files, and pass it to
Makefile.kern.inc, where files are filtered by suffix.

Revision 1.1149 / (download) - annotate - [select for diffs], Thu Sep 3 14:23:52 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1148: +1 -1 lines
Diff to previous 1.1148 (colored)

Add generated *.c files (devsw.c and ioconf.c) to ${CFILES} by config(1)
internally.  ${MI_CFILES} in Makefile.kern.inc is no longer needed.

Revision 1.1148 / (download) - annotate - [select for diffs], Thu Sep 3 09:28:00 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1147: +1 -1 lines
Diff to previous 1.1147 (colored)

Move `all' target definition to Makefile.kern.inc.

Revision 1.1147 / (download) - annotate - [select for diffs], Thu Sep 3 06:09:46 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1146: +1 -1 lines
Diff to previous 1.1146 (colored)

Define kernel dependency in Makefile.kern.inc.

Revision 1.1146 / (download) - annotate - [select for diffs], Wed Sep 2 14:17:03 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1145: +1 -1 lines
Diff to previous 1.1145 (colored)

Define ${OBJS} in `Makefile.kern.inc'.  Relative paths are not truncated
(a/b/c/x.c -> x.c) in `-S' mode.  Don't provide some explicit rules for `-S'
mode for safety.

Revision 1.1145 / (download) - annotate - [select for diffs], Wed Sep 2 13:42:14 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1144: +1 -1 lines
Diff to previous 1.1144 (colored)

Output relative path for ${CFILES} and ${SFILES} in generated `Makefile'.
`Makefile.kern.inc' knows how to deal with $S prefix, so don't bother it in
config(1).

Revision 1.1144 / (download) - annotate - [select for diffs], Sun Aug 30 07:52:30 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1143: +1 -0 lines
Diff to previous 1.1143 (colored)

Generate opt_diagnostic.h for DIAGNOSTIC; define unused _DIAGNOSTIC until
thoroughly populated.

Revision 1.1143 / (download) - annotate - [select for diffs], Sun Aug 30 07:35:11 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1142: +1 -1 lines
Diff to previous 1.1142 (colored)

Typo.

Revision 1.1142 / (download) - annotate - [select for diffs], Sun Aug 30 05:24:04 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1141: +1 -0 lines
Diff to previous 1.1141 (colored)

Put back MEMORY_DISK_IMAGE logic, but use generated opt_memory_root_image.h
and don't polute Makefile.kern.inc.

Revision 1.1141 / (download) - annotate - [select for diffs], Sun Aug 30 05:12:00 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1140: +1 -1 lines
Diff to previous 1.1140 (colored)

Define compile rules in sys/conf/Makefile.kern.inc except those overriden by
"file ... compile-with ...".  As rules are still explicit, be careful to not
override by checking .if !target(xxx.o).

Revision 1.1140 / (download) - annotate - [select for diffs], Sun Aug 30 01:46:02 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1139: +3 -1 lines
Diff to previous 1.1139 (colored)

Use makeoptions_COPY_SYMTAB via opt_copy_symtab.h in sources.  Remove a hack
to set -DCOPY_SYMTAB from sys/conf/Makefile.kern.inc.  Remove unnecessary
dependencies too.

Revision 1.1139 / (download) - annotate - [select for diffs], Sat Aug 29 14:07:45 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1138: +2 -1 lines
Diff to previous 1.1138 (colored)

Convert MAXUSERS, take 2.

Define MAXUSERS in opt_param.h and include it from sys/param.h, for more
accurate dependency.  Don't define -DMAXUSERS and add it to ${CPPFLAGS}.
config(5)'s "maxusers" syntax doesn't change.

(The version just before revert was OK, but I had something bad in my obj
dirs.)

Revision 1.1138 / (download) - annotate - [select for diffs], Sat Aug 29 07:33:18 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1137: +1 -2 lines
Diff to previous 1.1137 (colored)

Revert MAXUSERS changes.  Need fresh air.

Revision 1.1137 / (download) - annotate - [select for diffs], Sat Aug 29 07:08:38 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1136: +2 -1 lines
Diff to previous 1.1136 (colored)

Define MAXUXERS in opt_param.h.  Bump config(1) version.

Revision 1.1136 / (download) - annotate - [select for diffs], Fri Aug 21 07:19:39 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1135: +1 -0 lines
Diff to previous 1.1135 (colored)

Define CHILD_MAX/OPEN_MAX as parameters.

Revision 1.1135 / (download) - annotate - [select for diffs], Fri Aug 21 02:18:18 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1134: +3 -1 lines
Diff to previous 1.1134 (colored)

Move dev/ definitions out of files.kern.

Revision 1.1134 / (download) - annotate - [select for diffs], Thu Aug 20 09:44:53 2015 UTC (7 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.1133: +2 -2 lines
Diff to previous 1.1133 (colored)

bump config version

Revision 1.1133 / (download) - annotate - [select for diffs], Tue Aug 18 09:43:38 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1132: +0 -3 lines
Diff to previous 1.1132 (colored)

G/C defpseudo intrctl.

Revision 1.1132 / (download) - annotate - [select for diffs], Tue Aug 18 09:39:20 2015 UTC (7 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.1131: +1 -4 lines
Diff to previous 1.1131 (colored)

G/C defpseudo fwiso.

Revision 1.1131 / (download) - annotate - [select for diffs], Mon Aug 17 06:16:03 2015 UTC (7 years, 5 months ago) by knakahara
Branch: MAIN
Changes since 1.1130: +4 -1 lines
Diff to previous 1.1130 (colored)

Add kernel code to support intrctl(8).

Revision 1.1130 / (download) - annotate - [select for diffs], Sat Aug 1 21:19:24 2015 UTC (7 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.1129: +5 -1 lines
Diff to previous 1.1129 (colored)

Add an API for HDMI CEC devices. HDMI Consumer Electronics Control (CEC) is
a protocol that provides high-level control functions between CEC-capable
connected devices.

Revision 1.1096.2.6 / (download) - annotate - [select for diffs], Tue May 19 04:42:31 2015 UTC (7 years, 8 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Branch point for: netbsd-7-0
Changes since 1.1096.2.5: +2 -2 lines
Diff to previous 1.1096.2.5 (colored) to branchpoint 1.1096 (colored)

Pull up following revision(s) (requested by maxv in ticket #764):
	sbin/veriexecctl/veriexecctl.c: revision 1.38
	share/man/man9/veriexec.9: revision 1.10
	sys/conf/files: revision 1.1128
	sys/dev/verified_exec.c: revisions 1.70, 1.71
	sys/kern/kern_veriexec.c: revisions 1.1-1.8
	sys/kern/kern_verifiedexec.c: delete
Rename kern_verifiedexec.c to kern_veriexec.c. "Veriexec" is the name of
the subsystem, not "Verifiedexec".

The revisions of kern_verifiedexec.c are now in Attic/.

No change between kern_verifiedexec.c and kern_veriexec.c.

Also, update the man page accordingly.

Okayed by christos@ and blymn@ some months ago.
--
KNF
--
Don't mix veriexec lock and file lock in veriexec_file_verify().

Now:
 - 'veriexec_op_lock' needs to be held when calling veriexec_file_verify()
 - the 'file_lock_state' argument indicates if the file is locked
 - add some KASSERTs
--
Instead of duplicating code, add veriexec_fp_status(). Also reorder a
useless goto.
--
Make veriexec_renamechk() more readable. Also add a KASSERT on vte_count.

No real functional change
--
If we already have an entry for the file being loaded, return EEXIST, don't
silently skip it.
--
Remove FreeBSD.

ok elad@
--
KASSERT x then y, not (x && y).
--
KNF
--
Not to add even more confusion in an already overcomplicated subsystem,
remove the FreeBSD code. This code is likely to be outdated, and Veriexec
is in all cases not available on FreeBSD.
--
Be a bit more verbose if the kernel rejects a file

Revision 1.1096.2.5 / (download) - annotate - [select for diffs], Fri May 15 03:44:19 2015 UTC (7 years, 8 months ago) by snj
Branch: netbsd-7
Changes since 1.1096.2.4: +3 -2 lines
Diff to previous 1.1096.2.4 (colored) to branchpoint 1.1096 (colored)

Pull up following revision(s) (requested by jnemeth in ticket #762):
	share/man/man4/options.4: revision 1.442
	sys/arch/amd64/conf/ALL: revision 1.18
	sys/arch/amd64/conf/GENERIC: revision 1.396
	sys/arch/dreamcast/conf/GENERIC: revision 1.119
	sys/arch/epoc32/conf/GENERIC: revision 1.6
	sys/arch/evbarm/conf/BCM5301X: revision 1.24
	sys/arch/evbarm/conf/BCM56340: revision 1.9
	sys/arch/evbarm/conf/IMX23_OLINUXINO: revision 1.9
	sys/arch/evbarm/conf/std.beagle: revision 1.13
	sys/arch/evbarm/conf/std.kobo: revision 1.2
	sys/arch/evbarm/conf/std.netwalker: revision 1.10
	sys/arch/evbppc/conf/P2020DS: revision 1.25
	sys/arch/evbppc/conf/RB800: revision 1.30
	sys/arch/evbppc/conf/TWRP1025: revision 1.18
	sys/arch/hp300/conf/GENERIC: revision 1.187
	sys/arch/hpcsh/conf/GENERIC: revision 1.104
	sys/arch/i386/conf/GENERIC: revision 1.1111
	sys/arch/i386/conf/MONOLITHIC: revision 1.17
	sys/arch/landisk/conf/GENERIC: revision 1.43
	sys/arch/luna68k/conf/GENERIC: revision 1.117
	sys/arch/macppc/conf/GENERIC: revision 1.316
	sys/arch/macppc/conf/GENERIC_601: revision 1.5
	sys/arch/mmeye/conf/MMEYE_WLF: revision 1.16
	sys/arch/news68k/conf/GENERIC: revision 1.123
	sys/arch/sandpoint/conf/GENERIC: revision 1.85
	sys/arch/shark/conf/GENERIC: revision 1.119
	sys/arch/sparc/conf/GENERIC: revision 1.246
	sys/arch/sparc64/conf/GENERIC: revision 1.174
	sys/arch/sun3/conf/GENERIC3X: revision 1.125
	sys/arch/sun3/conf/GENERIC: revision 1.169
	sys/arch/x68k/conf/GENERIC: revision 1.177
	sys/arch/zaurus/conf/GENERIC: revision 1.62
	sys/conf/files: revision 1.1099
	sys/kern/kern_module.c: revisions 1.98, 1.99
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.
--
fix typo. (s/MODULE_DEFAULT_AUTOLOAD/MODULAR_DEFAULT_AUTOLOAD/)

Revision 1.1121.2.3 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:07 2015 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1121.2.2: +22 -3 lines
Diff to previous 1.1121.2.2 (colored) to branchpoint 1.1121 (colored)

Sync with HEAD

Revision 1.1129 / (download) - annotate - [select for diffs], Sat Mar 28 14:09:58 2015 UTC (7 years, 10 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.1128: +4 -1 lines
Diff to previous 1.1128 (colored)

Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.

Revision 1.1128 / (download) - annotate - [select for diffs], Fri Feb 13 17:50:48 2015 UTC (7 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.1127: +2 -2 lines
Diff to previous 1.1127 (colored)

Rename kern_verifiedexec.c to kern_veriexec.c. "Veriexec" is the name of
the subsystem, not "Verifiedexec".

The revisions of kern_verifiedexec.c are now in Attic/.

No change between kern_verifiedexec.c and kern_veriexec.c.

Also, update the man page accordingly.

Okayed by christos@ and blymn@ some months ago.

Revision 1.1127 / (download) - annotate - [select for diffs], Tue Jan 27 21:34:43 2015 UTC (8 years ago) by skrll
Branch: MAIN
Changes since 1.1126: +5 -1 lines
Diff to previous 1.1126 (colored)

ARM PrimeCell PL181 (MMCI) host controller glue.

Revision 1.1126 / (download) - annotate - [select for diffs], Sat Jan 17 15:04:47 2015 UTC (8 years ago) by jmcneill
Branch: MAIN
Changes since 1.1125: +5 -1 lines
Diff to previous 1.1125 (colored)

Add driver for DesignWare 32-bit timer as found in Rockchip RK3066/PX2,
from FUKAUMI Naoki <fun@naobsd.org>

Revision 1.1125 / (download) - annotate - [select for diffs], Fri Jan 16 10:36:14 2015 UTC (8 years ago) by ozaki-r
Branch: MAIN
Changes since 1.1124: +2 -1 lines
Diff to previous 1.1124 (colored)

Introduce defflag for NET_MPSAFE

Revision 1.1124 / (download) - annotate - [select for diffs], Sun Jan 11 14:22:53 2015 UTC (8 years ago) by jmcneill
Branch: MAIN
Changes since 1.1123: +3 -1 lines
Diff to previous 1.1123 (colored)

defflag TODR_DEBUG

Revision 1.1123 / (download) - annotate - [select for diffs], Sun Jan 4 07:32:32 2015 UTC (8 years ago) by uebayasi
Branch: MAIN
Changes since 1.1122: +2 -2 lines
Diff to previous 1.1122 (colored)

Set BPFJIT flag in opt_bpf.h which is included by bpf.c.

Revision 1.1122 / (download) - annotate - [select for diffs], Sat Dec 27 01:18:48 2014 UTC (8 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.1121: +6 -1 lines
Diff to previous 1.1121 (colored)

add DesignWare SD/MMC controller driver

Revision 1.1121.2.2 / (download) - annotate - [select for diffs], Wed Dec 3 23:05:06 2014 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1121.2.1: +2 -2 lines
Diff to previous 1.1121.2.1 (colored) to branchpoint 1.1121 (colored)

Rename usbroothub_subr.[ch] to usbroothub.[ch]

Revision 1.1121.2.1 / (download) - annotate - [select for diffs], Tue Dec 2 09:00:33 2014 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1121: +2 -4 lines
Diff to previous 1.1121 (colored)

Step #1 of memory allocation re-organisation.

Centralised the buffer allocation routine which now supports DMA
and non-DMA capable host controllers.  Remove the
ubm_{alloc,free}m methods from usbd_bus_methods.

The buffer allocation is only allowed in thread context and,
therefore, negates the usefulness of the reserve dma code which
is removed in this change.

USBD_NO_COPY is also no longer required as usbd_transfer and
usbd_transfer_complete now track buffer usage and handle any
copying.

Revision 1.1096.2.4 / (download) - annotate - [select for diffs], Sun Nov 23 13:07:05 2014 UTC (8 years, 2 months ago) by martin
Branch: netbsd-7
Changes since 1.1096.2.3: +3 -1 lines
Diff to previous 1.1096.2.3 (colored) to branchpoint 1.1096 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #249):
	sys/modules/pad/Makefile: revision 1.2
	sys/arch/arm/allwinner/awin_hdmiaudio.c: revision 1.5
	sys/dev/pad/pad.c: revision 1.22
	sys/dev/pad/padvol.c: file removal
	sys/dev/pad/files.pad: revision 1.5
	sys/dev/auvolconv.c: revision 1.1
	sys/dev/pad/padvol.h: file removal
	sys/dev/audio.c: revision 1.266
	sys/dev/files.audio: revision 1.3 (via patch: sys/conf/files)
	sys/dev/auvolconv.h: revision 1.1
	sys/dev/pad/padvar.h: revision 1.5
	sys/dev/audio_if.h: revision 1.70
	sys/arch/arm/allwinner/files.awin: revision 1.26
Add common audio converters for software volume control. Only supports
slinear16_le and slinear16_be for now.
Convert pad(4) and awin_hdmiaudio to use the new converters.

Revision 1.1096.2.3 / (download) - annotate - [select for diffs], Wed Nov 12 19:54:46 2014 UTC (8 years, 2 months ago) by martin
Branch: netbsd-7
Changes since 1.1096.2.2: +2 -1 lines
Diff to previous 1.1096.2.2 (colored) to branchpoint 1.1096 (colored)

Pull up following revision(s) (requested by skrll in ticket #222):
	etc/etc.evbarm/Makefile.inc			1.64
	sys/arch/evbarm/conf/BPI			1.2,1.4,1.6-1.7,1.9
	sys/arch/evbarm/conf/BPI_INSTALL		1.1
	sys/arch/evbarm/conf/CUBIEBOARD			1.18-1.30
	sys/arch/evbarm/conf/CUBIETRUCK			1.4,1.6
	sys/arch/evbarm/conf/mk.awin			1.4
	sys/arch/evbarm/conf/std.awin			1.4 (via patch)
	sys/conf/files					1.1104
	sys/dev/usb/motg.c				1.9-1.12
	sys/dev/usb/motgreg.h				1.2-1.4
Allow attachment glue to override the number of endpoints
-
options MOTG_ALLWINNER to select the awin specific reg layout
options MOTG_ALLWINNER
-
Instead of polluting motgreg.h with AllWinner specific registers (things
were getting out of hand), move the AllWinner reg definitions to
arch/arm/allwinner/awin_otgreg.h and include that instead of
dev/usb/motgreg.h when MOTG_ALLWINNER is defined.
let the bus driver override fifo size
-
If the bus driver supplies a fifo size and dynfifo is true, use it
-
Various kernel config fixes.

Revision 1.1096.2.2 / (download) - annotate - [select for diffs], Sun Nov 9 20:59:34 2014 UTC (8 years, 2 months ago) by snj
Branch: netbsd-7
Changes since 1.1096.2.1: +6 -1 lines
Diff to previous 1.1096.2.1 (colored) to branchpoint 1.1096 (colored)

Pull up sys/conf/files revision 1.1103, which should have been
requested along with ticket 189.
Config glue for the Designware GMAC core.  Fixes evbarm build.

Revision 1.1121 / (download) - annotate - [select for diffs], Fri Oct 31 07:38:36 2014 UTC (8 years, 3 months ago) by uebayasi
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.1120: +1 -1 lines
Diff to previous 1.1120 (colored)

config(1), config(5): Introduce "select"

o Introduce a new selection directive "select" to select an attribute (as a
  module) and its dependencies.
o Support "no select" too.
o Stop abusing "options" to select an attribute.
o Bump config(1) version.

Revision 1.1120 / (download) - annotate - [select for diffs], Sun Oct 12 04:30:42 2014 UTC (8 years, 3 months ago) by uebayasi
Branch: MAIN
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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 3 months 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 (8 years, 4 months 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 (8 years, 4 months 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 (8 years, 4 months 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 (8 years, 5 months ago) by martin
Branch: netbsd-7
Changes since 1.1096: +5 -1 lines
Diff to previous 1.1096 (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 years, 5 months 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 years, 5 months 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 years, 5 months 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 years, 5 months 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 (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.1057.2.3: +64 -19 lines
Diff to previous 1.1057.2.3 (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 (8 years, 5 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 (8 years, 5 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 (8 years, 5 months 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 (8 years, 5 months 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 (8 years, 5 months 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 (8 years, 5 months 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 (8 years, 6 months 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 (8 years, 6 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 (8 years, 6 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 (8 years, 7 months 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 (8 years, 7 months 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 (8 years, 8 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 (8 years, 8 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 (8 years, 8 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 (8 years, 10 months 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 (8 years, 10 months 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 (8 years, 10 months 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 (8 years, 10 months 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 (8 years, 10 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 (8 years, 10 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 (8 years, 11 months 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 (8 years, 11 months 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 (8 years, 11 months 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 years, 11 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 years, 11 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 (9 years 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 (9 years, 1 month 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 (9 years, 2 months 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 (9 years, 3 months 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 (9 years, 4 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 (9 years, 4 months 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 (9 years, 4 months 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 (9 years, 5 months 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 (9 years, 6 months 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 (9 years, 6 months 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 (9 years, 7 months 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 (9 years, 7 months 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 (9 years, 7 months 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 (9 years, 7 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 (9 years, 7 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 (9 years, 7 months 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 (9 years, 7 months 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 (9 years, 8 months 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 (9 years, 8 months 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 (9 years, 9 months 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 (9 years, 9 months 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 (9 years, 9 months 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 (9 years, 9 months 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 (9 years, 10 months 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 (9 years, 11 months 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 (9 years, 11 months 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 (9 years, 11 months 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 (9 years, 11 months 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 (9 years, 11 months 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 (10 years 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 (10 years 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 (10 years 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 (10 years, 1 month 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 (10 years, 2 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 (10 years, 2 months 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 (10 years, 3 months 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 (10 years, 3 months 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 (10 years, 3 months 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 (10 years, 4 months 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 (10 years, 5 months 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 (10 years, 6 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 (10 years, 6 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 (10 years, 6 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 (10 years, 6 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 (10 years, 6 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 (10 years, 7 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 (10 years, 7 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 (10 years, 8 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 (10 years, 8 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 (10 years, 8 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 (10 years, 8 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 (10 years, 9 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 (10 years, 9 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 (10 years, 9 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 (10 years, 9 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 (10 years, 9 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 (10 years, 10 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 (10 years, 10 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 (10 years, 10 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 (10 years, 11 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 (10 years, 11 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 (10 years, 11 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years, 1 month 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 (11 years, 1 month 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 (11 years, 1 month 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 (11 years, 2 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 (11 years, 2 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 (11 years, 3 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 (11 years, 3 months 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 (11 years, 4 months 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 (11 years, 4 months 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 (11 years, 5 months 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 (11 years, 5 months 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 (11 years, 5 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 (11 years, 5 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 (11 years, 6 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 (11 years, 6 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 (11 years, 6 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 (11 years, 6 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 (11 years, 6 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 (11 years, 7 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 (11 years, 7 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 (11 years, 7 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 (11 years, 8 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 (11 years, 8 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 (11 years, 8 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 (11 years, 8 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 (11 years, 8 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 (11 years, 8 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 (11 years, 9 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 (11 years, 9 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 (11 years, 9 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 (11 years, 9 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 (11 years, 9 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 (11 years, 10 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 (11 years, 10 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 (11 years, 10 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 (11 years, 10 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 (11 years, 11 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 (11 years, 11 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 (11 years, 11 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 (11 years, 11 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 (11 years, 11 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 (11 years, 11 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 (11 years, 11 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 (11 years, 11 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 (11 years, 11 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 (11 years, 11 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 (11 years, 11 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 (11 years, 11 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 (12 years 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 (12 years, 2 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 (12 years, 2 months ago) by riz
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, 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 (12 years, 3 months 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 (12 years, 3 months 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 (12 years, 4 months 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 (12 years, 5 months 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 (12 years, 5 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 (12 years, 5 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 (12 years, 5 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 (12 years, 5 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 (12 years, 5 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 (12 years, 5 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 (12 years, 6 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 (12 years, 6 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 (12 years, 7 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 (12 years, 7 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 (12 years, 7 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 (12 years, 8 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 (12 years, 8 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 (12 years, 9 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 (12 years, 9 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 (12 years, 9 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 (12 years, 9 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 (12 years, 9 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 (12 years, 9 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 (12 years, 9 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 (12 years, 10 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 (12 years, 10 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 (12 years, 10 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 (12 years, 10 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 (12 years, 10 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 (12 years, 11 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 (12 years, 11 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 (12 years, 11 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 (12 years, 11 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 (12 years, 11 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 (12 years, 11 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 (12 years, 11 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 (12 years, 11 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 (13 years 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 (13 years 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 (13 years 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 (13 years 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 (13 years 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 (13 years 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 (13 years 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 (13 years, 1 month 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 (13 years, 2 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 (13 years, 2 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 (13 years, 2 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 (13 years, 2 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 (13 years, 3 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 (13 years, 3 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 (13 years, 3 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 (13 years, 3 months 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-5-RELEASE, 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 (13 years, 3 months 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 (13 years, 4 months 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 (13 years, 4 months 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 (13 years, 4 months 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 (13 years, 4 months 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 (13 years, 4 months 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 (13 years, 4 months 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 (13 years, 4 months 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 (13 years, 4 months 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 (13 years, 4 months 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 (13 years, 5 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 (13 years, 5 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 (13 years, 5 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 (13 years, 5 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 (13 years, 6 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 (13 years, 6 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 (13 years, 6 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 (13 years, 6 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 (13 years, 7 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 (13 years, 7 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 (13 years, 7 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 (13 years, 7 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 (13 years, 8 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 (13 years, 8 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 (13 years, 9 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 (13 years, 9 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 (13 years, 9 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 (13 years, 9 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 (13 years, 10 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 (13 years, 10 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 (13 years, 11 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 (13 years, 11 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 (13 years, 11 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 (13 years, 11 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 (13 years, 11 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 (13 years, 11 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 (14 years 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 (14 years 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 (14 years 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 (14 years 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 (14 years 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 (14 years 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 (14 years 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 (14 years 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 (14 years, 1 month 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 (14 years, 1 month 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 (14 years, 1 month 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 (14 years, 1 month 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 (14 years, 1 month 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 (14 years, 1 month 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 (14 years, 2 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 (14 years, 2 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 (14 years, 2 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 (14 years, 2 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 (14 years, 2 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 (14 years, 3 months 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 (14 years, 3 months 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 (14 years, 3 months 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 (14 years, 3 months 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 (14 years, 3 months 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 (14 years, 3 months 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 (14 years, 3 months 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 (14 years, 3 months 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 (14 years, 3 months 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 (14 years, 4 months 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 (14 years, 4 months 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 (14 years, 4 months 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 (14 years, 4 months 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 (14 years, 4 months 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 (14 years, 4 months 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 (14 years, 4 months 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 (14 years, 4 months 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 (14 years, 5 months 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 (14 years, 5 months 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 (14 years, 6 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 (14 years, 6 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 (14 years, 6 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 (14 years, 6 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 (14 years, 6 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 (14 years, 6 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 (14 years, 7 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 (14 years, 7 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 (14 years, 7 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 (14 years, 7 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 (14 years, 7 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 (14 years, 7 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 (14 years, 7 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 (14 years, 7 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 (14 years, 7 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 (14 years, 8 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 (14 years, 8 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 (14 years, 8 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 (14 years, 8 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 (14 years, 8 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 (14 years, 8 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 (14 years, 9 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 (14 years, 9 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 (14 years, 9 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 (14 years, 9 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 (14 years, 9 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 (14 years, 9 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 (14 years, 9 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 (14 years, 10 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 (14 years, 10 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 (14 years, 10 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 (14 years, 10 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 (14 years, 10 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 (14 years, 10 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 (14 years, 10 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 (14 years, 10 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 (14 years, 10 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 (14 years, 10 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 (14 years, 10 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 (14 years, 10 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 (14 years, 11 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 (14 years, 11 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 (14 years, 11 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 (14 years, 11 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 (14 years, 11 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 (14 years, 11 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 (14 years, 11 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 (14 years, 11 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 2 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 (15 years, 3 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 (15 years, 3 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 (15 years, 3 months 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 (15 years, 3 months 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 (15 years, 3 months 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 (15 years, 3 months 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 (15 years, 3 months 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 (15 years, 3 months 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 (15 years, 3 months 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 (15 years, 3 months 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 (15 years, 3 months 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 (15 years, 3 months 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 (15 years, 3 months 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 (15 years, 3 months 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 (15 years, 3 months 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 (15 years, 4 months 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 (15 years, 4 months 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 (15 years, 4 months 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 (15 years, 4 months 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 (15 years, 4 months 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 (15 years, 4 months 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 (15 years, 5 months 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 (15 years, 5 months 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 (15 years, 5 months 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 (15 years, 5 months 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 (15 years, 5 months 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 (15 years, 5 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 (15 years, 5 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 (15 years, 5 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 (15 years, 5 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 (15 years, 5 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 (15 years, 5 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 (15 years, 5 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 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 (15 years, 6 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 (15 years, 7 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 (15 years, 7 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 (15 years, 7 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 (15 years, 7 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 (15 years, 8 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 (15 years, 8 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 (15 years, 8 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 (15 years, 8 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 (15 years, 8 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 (15 years, 8 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 (15 years, 8 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 (15 years, 8 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 (15 years, 8 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 (15 years, 8 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 (15 years, 8 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 (15 years, 8 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 (15 years, 8 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 (15 years, 9 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 (15 years, 9 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 (15 years, 9 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 (15 years, 9 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 (15 years, 9 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 (15 years, 9 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 (15 years, 10 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 (15 years, 10 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 (15 years, 10 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 (15 years, 10 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 (15 years, 10 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 (15 years, 10 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 (15 years, 10 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 (15 years, 10 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 (15 years, 10 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 (15 years, 11 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 (15 years, 11 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 (15 years, 11 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 (15 years, 11 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 (15 years, 11 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 (15 years, 11 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 (15 years, 11 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 (15 years, 11 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 (16 years 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 (16 years 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 (16 years 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 / (