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
Current tag: MAIN


Revision 1.1070 / (download) - annotate - [select for diffs], Sun Apr 28 03:11:32 2013 UTC (3 weeks, 5 days ago) by christos
Branch: MAIN
CVS Tags: HEAD
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 (3 weeks, 5 days 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 (3 weeks, 5 days 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 (3 weeks, 5 days 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 (7 weeks, 6 days 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 (2 months, 3 weeks ago) by joerg
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.1064: +1 -3 lines
Diff to previous 1.1064 (colored)

Retire OSI network stack. OK core@

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

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

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

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

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

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

Heavily based on the FreeBSD driver by Hans Petter Selasky.

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

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

Define msm6242b driver.

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

Add bpfjit and enable it for amd64.

Revision 1.1059 / (download) - annotate - [select for diffs], Wed Oct 17 20:16:59 2012 UTC (7 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 (7 months, 3 weeks 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 (8 months, 3 weeks 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 (9 months, 2 weeks 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 (9 months, 3 weeks 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 (9 months, 3 weeks 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 (9 months, 3 weeks 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 (9 months, 4 weeks 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 months, 3 weeks 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.1050 / (download) - annotate - [select for diffs], Tue May 8 23:53:26 2012 UTC (12 months, 2 weeks 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 (12 months, 2 weeks 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.1048 / (download) - annotate - [select for diffs], Sat Apr 28 23:03:39 2012 UTC (12 months, 3 weeks 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.1047 / (download) - annotate - [select for diffs], Sat Apr 7 05:36:49 2012 UTC (13 months, 2 weeks 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.1046 / (download) - annotate - [select for diffs], Thu Mar 22 20:34:38 2012 UTC (14 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.1045 / (download) - annotate - [select for diffs], Sat Mar 10 21:51:59 2012 UTC (14 months, 1 week 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.1044 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:45 2012 UTC (15 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.1043 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:01 2012 UTC (15 months, 2 weeks 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 (15 months, 3 weeks 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 (15 months, 3 weeks 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 (15 months, 3 weeks 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 (16 months ago) by christos
Branch: MAIN
Changes since 1.1038: +6 -1 lines
Diff to previous 1.1038 (colored)

add a tpm driver from bsssd.sourceforge.net

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

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

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

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

Revision 1.1036 / (download) - annotate - [select for diffs], Sat Jan 14 04:18:49 2012 UTC (16 months, 1 week 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 (16 months, 1 week 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.1034 / (download) - annotate - [select for diffs], Mon Dec 19 16:10:07 2011 UTC (17 months ago) by drochner
Branch: MAIN
Changes since 1.1033: +3 -3 lines
Diff to previous 1.1033 (colored)

do missing ipsec->kame_ipsec renames

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


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

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

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

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

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

Revision 1.1032 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:21 2011 UTC (18 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 (18 months, 1 week 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 (18 months, 3 weeks 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 (19 months, 1 week 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 (19 months, 3 weeks 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 (20 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 (20 months, 3 weeks 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 (20 months, 4 weeks 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 (21 months, 2 weeks 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 (21 months, 2 weeks 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 (21 months, 3 weeks 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 (21 months, 3 weeks 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.1020 / (download) - annotate - [select for diffs], Fri Jul 15 19:19:56 2011 UTC (22 months, 1 week 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 (22 months, 2 weeks 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 (22 months, 4 weeks 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 (23 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.1016 / (download) - annotate - [select for diffs], Sat May 28 19:30:19 2011 UTC (23 months, 3 weeks 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 (2 years 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 (2 years 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 (2 years 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 (2 years 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 (2 years 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 (2 years 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 (2 years 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 (2 years 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.1007 / (download) - annotate - [select for diffs], Sat Apr 2 04:28:56 2011 UTC (2 years, 1 month 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 (2 years, 1 month 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 (2 years, 2 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 (2 years, 2 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.1003 / (download) - annotate - [select for diffs], Sat Feb 26 18:07:30 2011 UTC (2 years, 2 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 (2 years, 3 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 (2 years, 3 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 (2 years, 3 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 (2 years, 3 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.998 / (download) - annotate - [select for diffs], Wed Feb 9 21:21:32 2011 UTC (2 years, 3 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.997 / (download) - annotate - [select for diffs], Sun Feb 6 23:13:04 2011 UTC (2 years, 3 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 / (download) - annotate - [select for diffs], Tue Nov 23 11:14:08 2010 UTC (2 years, 6 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.995 / (download) - annotate - [select for diffs], Wed Sep 8 22:55:54 2010 UTC (2 years, 8 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.994 / (download) - annotate - [select for diffs], Sun Aug 22 18:56:21 2010 UTC (2 years, 9 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 (2 years, 9 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.992 / (download) - annotate - [select for diffs], Wed Jul 7 01:09:39 2010 UTC (2 years, 10 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.991 / (download) - annotate - [select for diffs], Sat Jun 26 15:17:56 2010 UTC (2 years, 10 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 (2 years, 10 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.989 / (download) - annotate - [select for diffs], Fri Apr 30 20:47:17 2010 UTC (3 years 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.988 / (download) - annotate - [select for diffs], Fri Apr 16 13:44:49 2010 UTC (3 years, 1 month 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 (3 years, 1 month 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 (3 years, 1 month 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 (3 years, 1 month 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 (3 years, 2 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 (3 years, 2 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 (3 years, 2 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 (3 years, 2 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.980 / (download) - annotate - [select for diffs], Wed Mar 3 13:39:57 2010 UTC (3 years, 2 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 (3 years, 2 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 (3 years, 2 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 (3 years, 2 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 (3 years, 3 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 (3 years, 3 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 / (download) - annotate - [select for diffs], Sun Jan 31 15:10:11 2010 UTC (3 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.973: +2 -1 lines
Diff to previous 1.973 (colored)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Revision 1.966 / (download) - annotate - [select for diffs], Fri Nov 27 17:54:11 2009 UTC (3 years, 5 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 (3 years, 5 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 (3 years, 6 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 (3 years, 6 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 (3 years, 6 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 (3 years, 6 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 (3 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.959: +4 -4 lines
Diff to previous 1.959 (colored)

Alphabetize.

Revision 1.959 / (download) - annotate - [select for diffs], Fri Oct 2 15:48:41 2009 UTC (3 years, 7 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 (3 years, 7 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.957 / (download) - annotate - [select for diffs], Sat Sep 26 19:05:07 2009 UTC (3 years, 7 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 (3 years, 7 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 (3 years, 8 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.954 / (download) - annotate - [select for diffs], Sun Sep 6 16:18:56 2009 UTC (3 years, 8 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.953 / (download) - annotate - [select for diffs], Fri Aug 14 21:17:21 2009 UTC (3 years, 9 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 (3 years, 9 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.951 / (download) - annotate - [select for diffs], Mon Jul 27 12:34:13 2009 UTC (3 years, 9 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.950 / (download) - annotate - [select for diffs], Sat Jul 18 16:31:42 2009 UTC (3 years, 10 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.949 / (download) - annotate - [select for diffs], Sun Jun 21 20:15:26 2009 UTC (3 years, 11 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.948 / (download) - annotate - [select for diffs], Wed Jun 17 04:02:59 2009 UTC (3 years, 11 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 (3 years, 11 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.946 / (download) - annotate - [select for diffs], Wed May 6 02:52:13 2009 UTC (4 years 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.945 / (download) - annotate - [select for diffs], Tue Apr 21 03:00:29 2009 UTC (4 years, 1 month 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.944 / (download) - annotate - [select for diffs], Thu Mar 12 00:15:07 2009 UTC (4 years, 2 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.943 / (download) - annotate - [select for diffs], Sun Feb 22 20:28:05 2009 UTC (4 years, 3 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 (4 years, 3 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 (4 years, 3 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 (4 years, 3 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 (4 years, 3 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.938 / (download) - annotate - [select for diffs], Sun Jan 18 23:29:33 2009 UTC (4 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.937: +2 -2 lines
Diff to previous 1.937 (colored)

compat_linux needs at least netbsd_16 for sigcontext.

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

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

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

fix COMPAT dependency.

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

merge christos-time_t

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

Last bit of the bwi driver
From Urban Boquist

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

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

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

require newer config(1) for the rootfs changes.

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

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

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

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

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

Oked by agc@ and cube@.

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

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

Revision 1.929 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:06 2008 UTC (4 years, 6 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 (4 years, 6 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 (4 years, 6 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 (4 years, 6 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 (4 years, 6 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.924 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:20 2008 UTC (4 years, 7 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.923 / (download) - annotate - [select for diffs], Sun Oct 12 13:39:42 2008 UTC (4 years, 7 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 (4 years, 7 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 (4 years, 7 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 (4 years, 7 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.919 / (download) - annotate - [select for diffs], Sat Sep 27 13:01:07 2008 UTC (4 years, 7 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 (4 years, 7 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 (4 years, 7 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.916 / (download) - annotate - [select for diffs], Sun Sep 14 16:10:19 2008 UTC (4 years, 8 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 (4 years, 8 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 (4 years, 8 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 (4 years, 8 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 (4 years, 9 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 (4 years, 9 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.910 / (download) - annotate - [select for diffs], Wed Jul 16 20:06:19 2008 UTC (4 years, 10 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 / (download) - annotate - [select for diffs], Tue Jun 24 17:32:09 2008 UTC (4 years, 11 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.908 / (download) - annotate - [select for diffs], Tue Jun 10 14:03:57 2008 UTC (4 years, 11 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 (4 years, 11 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.906 / (download) - annotate - [select for diffs], Sun May 25 12:30:40 2008 UTC (5 years 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.905 / (download) - annotate - [select for diffs], Mon May 5 13:42:15 2008 UTC (5 years 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 (5 years 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 (5 years 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 (5 years 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 (5 years 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 (5 years 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 (5 years, 1 month 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.898 / (download) - annotate - [select for diffs], Sun Mar 30 12:32:13 2008 UTC (5 years, 1 month 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 (5 years, 1 month 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.896 / (download) - annotate - [select for diffs], Sun Mar 23 14:02:49 2008 UTC (5 years, 2 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.895 / (download) - annotate - [select for diffs], Fri Mar 21 21:54:59 2008 UTC (5 years, 2 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.894 / (download) - annotate - [select for diffs], Tue Mar 11 05:24:38 2008 UTC (5 years, 2 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.893 / (download) - annotate - [select for diffs], Sun Feb 24 05:29:31 2008 UTC (5 years, 3 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 / (download) - annotate - [select for diffs], Wed Feb 20 21:43:36 2008 UTC (5 years, 3 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.891 / (download) - annotate - [select for diffs], Sun Feb 3 13:25:57 2008 UTC (5 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: mjf-devfs-base
Changes since 1.890: +3 -1 lines
Diff to previous 1.890 (colored)

defflag CPU_IN_CKSUM

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

add a per-cpu storage allocator.

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

Add MODULAR option. Include kernel linker stuff if MODULAR.

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

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

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

Remove systrace. Ok core@.

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

Remove COMPAT_HPUX.

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

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

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

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

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

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

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

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

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

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

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

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

Merge jmcneill-pm branch.

Revision 1.875 / (download) - annotate - [select for diffs], Tue Nov 20 18:54:31 2007 UTC (5 years, 6 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.874 / (download) - annotate - [select for diffs], Tue Nov 13 23:22:06 2007 UTC (5 years, 6 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.873 / (download) - annotate - [select for diffs], Mon Nov 12 14:30:55 2007 UTC (5 years, 6 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 (5 years, 6 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 (5 years, 6 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.870 / (download) - annotate - [select for diffs], Sat Nov 10 21:45:05 2007 UTC (5 years, 6 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.869 / (download) - annotate - [select for diffs], Wed Oct 17 16:45:00 2007 UTC (5 years, 7 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.868 / (download) - annotate - [select for diffs], Tue Oct 9 19:00:13 2007 UTC (5 years, 7 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.867 / (download) - annotate - [select for diffs], Mon Oct 8 15:51:02 2007 UTC (5 years, 7 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 (5 years, 7 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.865 / (download) - annotate - [select for diffs], Fri Oct 5 07:28:24 2007 UTC (5 years, 7 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.864 / (download) - annotate - [select for diffs], Fri Sep 28 22:52:13 2007 UTC (5 years, 7 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.863 / (download) - annotate - [select for diffs], Fri Sep 7 20:17:37 2007 UTC (5 years, 8 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 (5 years, 8 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.861 / (download) - annotate - [select for diffs], Wed Aug 15 20:34:49 2007 UTC (5 years, 9 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.860 / (download) - annotate - [select for diffs], Wed Aug 15 12:07:32 2007 UTC (5 years, 9 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 (5 years, 9 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 (5 years, 9 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.857 / (download) - annotate - [select for diffs], Sat Aug 4 11:02:59 2007 UTC (5 years, 9 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 / (download) - annotate - [select for diffs], Sun Jul 29 14:44:09 2007 UTC (5 years, 9 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 (5 years, 9 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 (5 years, 9 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 (5 years, 10 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 (5 years, 10 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.851 / (download) - annotate - [select for diffs], Sun Jul 15 08:40:22 2007 UTC (5 years, 10 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 (5 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.849: +1 -2 lines
Diff to previous 1.849 (colored)

kcont was removed.

Revision 1.849 / (download) - annotate - [select for diffs], Mon Jul 9 10:05:26 2007 UTC (5 years, 10 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 (5 years, 10 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.847 / (download) - annotate - [select for diffs], Tue May 29 21:32:29 2007 UTC (5 years, 11 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 (6 years 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.845 / (download) - annotate - [select for diffs], Thu May 17 14:51:37 2007 UTC (6 years 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.844 / (download) - annotate - [select for diffs], Sat May 12 11:04:58 2007 UTC (6 years 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 (6 years 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.842 / (download) - annotate - [select for diffs], Tue May 8 06:10:27 2007 UTC (6 years 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 (6 years 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.840 / (download) - annotate - [select for diffs], Wed May 2 20:40:22 2007 UTC (6 years 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 (6 years 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 (6 years 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.837 / (download) - annotate - [select for diffs], Sat Apr 14 19:33:29 2007 UTC (6 years, 1 month 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.836 / (download) - annotate - [select for diffs], Tue Mar 20 18:05:25 2007 UTC (6 years, 2 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.835 / (download) - annotate - [select for diffs], Sat Mar 17 06:41:36 2007 UTC (6 years, 2 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.834 / (download) - annotate - [select for diffs], Thu Mar 8 14:26:27 2007 UTC (6 years, 2 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 (6 years, 2 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 (6 years, 2 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.831 / (download) - annotate - [select for diffs], Sat Feb 10 11:55:23 2007 UTC (6 years, 3 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 (6 years, 3 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.829 / (download) - annotate - [select for diffs], Fri Feb 2 02:10:24 2007 UTC (6 years, 3 months ago) by ober
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.828: +2 -1 lines
Diff to previous 1.828 (colored)

Updates to allow Zaurus screen to rotate 90 degrees to a usable state with the keyboard. Patch from peter@ copied from OpenBSD. Feedback and OK from matt@

Revision 1.828 / (download) - annotate - [select for diffs], Fri Jan 19 14:49:08 2007 UTC (6 years, 4 months ago) by hannken
Branch: MAIN
Changes since 1.827: +2 -1 lines
Diff to previous 1.827 (colored)

New file system suspension API to replace vn_start_write and vn_finished_write.
The suspension helpers are now put into file system specific operations.
This means every file system not supporting these helpers cannot be suspended
and therefore snapshots are no longer possible.

Implemented for file systems of type ffs.

The new API is enabled on a kernel option NEWVNGATE.  This option is
not enabled by default in any kernel config.

Presented and discussed on tech-kern with much input from
Bill Studenmund <wrstuden@netbsd.org> and YAMAMOTO Takashi <yamt@netbsd.org>.

Welcome to 4.99.9 (new vfs op vfs_suspendctl).

Revision 1.827 / (download) - annotate - [select for diffs], Tue Jan 16 05:28:45 2007 UTC (6 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.826: +2 -1 lines
Diff to previous 1.826 (colored)

Add sched_yield().

Revision 1.826 / (download) - annotate - [select for diffs], Thu Jan 11 05:36:29 2007 UTC (6 years, 4 months ago) by mouse
Branch: MAIN
Changes since 1.825: +3 -1 lines
Diff to previous 1.825 (colored)

Hook srt into the rest of the kernel build machinery, so it works to
just uncomment the pseudo-device line (which arguably should go into
other ports' GENERICs too, and at some point may).

OKed by perry.

Revision 1.825 / (download) - annotate - [select for diffs], Thu Jan 11 00:00:41 2007 UTC (6 years, 4 months ago) by cube
Branch: MAIN
Changes since 1.824: +2 -1 lines
Diff to previous 1.824 (colored)

Remove netiso/if_cons.c.  It depends on x25 stuff that was removed a while
ago.

Obsolete option "TPCONS".

Revision 1.824 / (download) - annotate - [select for diffs], Tue Jan 9 19:19:09 2007 UTC (6 years, 4 months ago) by cube
Branch: MAIN
Changes since 1.823: +1 -7 lines
Diff to previous 1.823 (colored)

Remove stale config(5) entries for unexistent wl(4).

Ok'd by matt@.

Revision 1.823 / (download) - annotate - [select for diffs], Tue Jan 9 15:34:59 2007 UTC (6 years, 4 months ago) by cube
Branch: MAIN
Changes since 1.822: +3 -3 lines
Diff to previous 1.822 (colored)

Disable daic(4).  The driver is not finished.
Ok'd by martin@.

Revision 1.822 / (download) - annotate - [select for diffs], Tue Jan 9 13:41:30 2007 UTC (6 years, 4 months ago) by cube
Branch: MAIN
Changes since 1.821: +2 -2 lines
Diff to previous 1.821 (colored)

Add a lint-only value of "/dev/null" for ACPI_DSDT_FILE.

Bump required config(1) version.  Yes, it implies everybody will have to
rebuild config(1).  I can live with people hating me.

Revision 1.821 / (download) - annotate - [select for diffs], Sun Dec 17 22:57:15 2006 UTC (6 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4
Changes since 1.820: +6 -1 lines
Diff to previous 1.820 (colored)

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.

Revision 1.820 / (download) - annotate - [select for diffs], Mon Dec 11 15:24:28 2006 UTC (6 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.819: +1 -2 lines
Diff to previous 1.819 (colored)

- remove a static configuration, FILEASSOC_NHOOKS.  do it dynamically instead.
- make fileassoc_t a pointer and remove FILEASSOC_INVAL.
- clean up kern_fileassoc.c.  unify duplicated code.
- unexport fileassoc_init using RUN_ONCE(9).
- plug memory leaks in fileassoc_file_delete and fileassoc_table_delete.
- always call callbacks, regardless of the value of the associated data.

ok'ed by elad.

Revision 1.819 / (download) - annotate - [select for diffs], Fri Nov 24 22:04:25 2006 UTC (6 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-splraiseipl-base3, netbsd-4-base
Branch point for: netbsd-4
Changes since 1.818: +2 -2 lines
Diff to previous 1.818 (colored)

s/independant/independent/, from Zafer.

Revision 1.818 / (download) - annotate - [select for diffs], Thu Nov 23 04:07:07 2006 UTC (6 years, 6 months ago) by rpaulo
Branch: MAIN
Changes since 1.817: +5 -1 lines
Diff to previous 1.817 (colored)

New EtherIP driver based on tap(4) and gif(4) by Hans Rosenfeld.
Notable changes:
	* Fixes PR 34268.
	* Separates the code from gif(4) (which is more cleaner).
	* Allows the usage of STP (Spanning Tree Protocol).
	* Removed EtherIP implementation from gif(4)/tap(4).

Some input from Christos.

Revision 1.817 / (download) - annotate - [select for diffs], Wed Nov 22 02:02:51 2006 UTC (6 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.816: +3 -2 lines
Diff to previous 1.816 (colored)

Initial implementation of PaX Segvguard (this is still work-in-progress,
it's just to get it out of my local tree).

Revision 1.816 / (download) - annotate - [select for diffs], Fri Oct 27 21:20:48 2006 UTC (6 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.815: +1 -3 lines
Diff to previous 1.815 (colored)

Merge kernel and userland rmd160 and sha2 implementation.
XXX: We still install rmd160.h and sha2.h in /usr/include/crypto, unlike
the other hash functions which get installed in /usr/include for compatibility.

Revision 1.815 / (download) - annotate - [select for diffs], Sun Oct 22 22:44:44 2006 UTC (6 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.814: +2 -1 lines
Diff to previous 1.814 (colored)

add fs/puffs

Revision 1.814 / (download) - annotate - [select for diffs], Sun Oct 8 04:21:53 2006 UTC (6 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.813: +2 -1 lines
Diff to previous 1.813 (colored)

Add subroutines for maintaining object-specific data for arbitrary
subsystems, based on work by YAMAMOTO Takashi.  This is intended to
be used by other subsystems (such as the proc_*() or lwp_*() routines)
rather than directly by consumers.

Revision 1.813 / (download) - annotate - [select for diffs], Mon Oct 2 07:57:46 2006 UTC (6 years, 7 months ago) by gdamore
Branch: MAIN
Changes since 1.812: +4 -1 lines
Diff to previous 1.812 (colored)

Go ahead and include files.spi.  It is going to be used by my alchemy
commit and it appears to be harmless to other configs.  This is modeled
much like files.i2c.

Revision 1.812 / (download) - annotate - [select for diffs], Sun Sep 24 03:54:00 2006 UTC (6 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.811: +2 -1 lines
Diff to previous 1.811 (colored)

Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@

Revision 1.811 / (download) - annotate - [select for diffs], Fri Sep 8 20:58:57 2006 UTC (6 years, 8 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Changes since 1.810: +6 -2 lines
Diff to previous 1.810 (colored)

First take at security model abstraction.

- Add a few scopes to the kernel: system, network, and machdep.

- Add a few more actions/sub-actions (requests), and start using them as
  opposed to the KAUTH_GENERIC_ISSUSER place-holders.

- Introduce a basic set of listeners that implement our "traditional"
  security model, called "bsd44". This is the default (and only) model we
  have at the moment.

- Update all relevant documentation.

- Add some code and docs to help folks who want to actually use this stuff:

  * There's a sample overlay model, sitting on-top of "bsd44", for
    fast experimenting with tweaking just a subset of an existing model.

    This is pretty cool because it's *really* straightforward to do stuff
    you had to use ugly hacks for until now...

  * And of course, documentation describing how to do the above for quick
    reference, including code samples.

All of these changes were tested for regressions using a Python-based
testsuite that will be (I hope) available soon via pkgsrc. Information
about the tests, and how to write new ones, can be found on:

	http://kauth.linbsd.org/kauthwiki

NOTE FOR DEVELOPERS: *PLEASE* don't add any code that does any of the
following:

  - Uses a KAUTH_GENERIC_ISSUSER kauth(9) request,
  - Checks 'securelevel' directly,
  - Checks a uid/gid directly.

(or if you feel you have to, contact me first)

This is still work in progress; It's far from being done, but now it'll
be a lot easier.

Relevant mailing list threads:

http://mail-index.netbsd.org/tech-security/2006/01/25/0011.html
http://mail-index.netbsd.org/tech-security/2006/03/24/0001.html
http://mail-index.netbsd.org/tech-security/2006/04/18/0000.html
http://mail-index.netbsd.org/tech-security/2006/05/15/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/01/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/25/0000.html

Many thanks to YAMAMOTO Takashi, Matt Thomas, and Christos Zoulas for help
stablizing kauth(9).

Full credit for the regression tests, making sure these changes didn't break
anything, goes to Matt Fleming and Jaime Fournier.

Happy birthday Randi! :)

Revision 1.810 / (download) - annotate - [select for diffs], Thu Sep 7 14:22:07 2006 UTC (6 years, 8 months ago) by itohy
Branch: MAIN
CVS Tags: rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Changes since 1.809: +5 -1 lines
Diff to previous 1.809 (colored)

Workbit NinjaATA-32 busmastering PIO IDE controller driver (njata)

This driver supports NinjaATA-32Bi and NPATA-32 chips,
which are used for CardBus ATA interface cards and
CardBus CompactFlash adapters.

Revision 1.809 / (download) - annotate - [select for diffs], Thu Sep 7 12:34:41 2006 UTC (6 years, 8 months ago) by itohy
Branch: MAIN
Changes since 1.808: +6 -2 lines
Diff to previous 1.808 (colored)

Add PIOBM (busmastering transfer using ATA PIO mode) support.
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.

Revision 1.808 / (download) - annotate - [select for diffs], Thu Sep 7 01:12:00 2006 UTC (6 years, 8 months ago) by uwe
Branch: MAIN
Changes since 1.807: +6 -1 lines
Diff to previous 1.807 (colored)

MI part of the Ricoh RS5C313 real time clock todr(9) driver.
Based on the code from landisk port.  With help from gdamore@

Revision 1.807 / (download) - annotate - [select for diffs], Thu Sep 7 00:20:28 2006 UTC (6 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.806: +3 -1 lines
Diff to previous 1.806 (colored)

Add the 'lockstat' driver, which collects basic information about lock events.

Revision 1.806 / (download) - annotate - [select for diffs], Sat Sep 2 20:18:00 2006 UTC (6 years, 8 months ago) by gdamore
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8
Changes since 1.805: +2 -1 lines
Diff to previous 1.805 (colored)

Add MI implementation of inittodr, todr_attach, and resettodr.

This is triggered upon __HAVE_GENRIC_TODR in machine/types.h.  Conversion of
evbmips port forthcoming.

Revision 1.805 / (download) - annotate - [select for diffs], Fri Sep 1 22:38:27 2006 UTC (6 years, 8 months ago) by cube
Branch: MAIN
Changes since 1.804: +2 -2 lines
Diff to previous 1.804 (colored)

Revert my commit that made SYSTRACE depend on PTRACE, this is no longer
necessary.  Thanks, Matt.

Revision 1.804 / (download) - annotate - [select for diffs], Thu Aug 31 17:49:12 2006 UTC (6 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.803: +1 -2 lines
Diff to previous 1.803 (colored)

Remove an extraneous line that snuck into my previous commit.

Revision 1.803 / (download) - annotate - [select for diffs], Thu Aug 31 17:46:16 2006 UTC (6 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.802: +4 -1 lines
Diff to previous 1.802 (colored)

Add a mode to gre(4) that sends GRE tunnel packets in UDP datagrams.
Fix MOBILE encapsulation.  Add many debugging printfs (mainly
concerning UDP mode).  Clean up the gre(4) code a bit.  Add the
capability to setup UDP tunnels to ifconfig.  Update documentation.

In UDP mode, gre(4) puts a GRE header onto transmitted packets,
and hands them to a UDP socket for transmission.  That is, the
encapsulation looks like this: IP+UDP+GRE+encapsulated packet.

There are two ways to set up a UDP tunnel.  One way is to tell the
source and destination IP+port to gre(4), and let gre(4) create
the socket.  The other way to create a UDP tunnel is for userland
to "delegate" a UDP socket to the kernel.

Revision 1.802 / (download) - annotate - [select for diffs], Wed Aug 30 14:07:09 2006 UTC (6 years, 8 months ago) by cube
Branch: MAIN
Changes since 1.801: +2 -2 lines
Diff to previous 1.801 (colored)

Make SYSTRACE depend on PTRACE because it uses process_domem().

Revision 1.801 / (download) - annotate - [select for diffs], Wed Aug 30 13:49:27 2006 UTC (6 years, 8 months ago) by cube
Branch: MAIN
Changes since 1.800: +2 -2 lines
Diff to previous 1.800 (colored)

Restore dependency on PTRACE for PROCFS.
Bump required config(1) version.

Revision 1.800 / (download) - annotate - [select for diffs], Wed Aug 30 11:08:15 2006 UTC (6 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.799: +2 -2 lines
Diff to previous 1.799 (colored)

sys_process.c is also used by KTRACE.

Revision 1.799 / (download) - annotate - [select for diffs], Tue Aug 29 23:34:48 2006 UTC (6 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.798: +9 -6 lines
Diff to previous 1.798 (colored)

Make PTRACE and COREDUMP optional.  Make the default (status quo) by putting
them in conf/std.

Revision 1.798 / (download) - annotate - [select for diffs], Sun Aug 27 15:44:16 2006 UTC (6 years, 8 months ago) by cube
Branch: MAIN
Changes since 1.797: +3 -1 lines
Diff to previous 1.797 (colored)

Require a config(1) supporting syntax version 20060604 now that we use
the "obsolete" statement.

Revision 1.797 / (download) - annotate - [select for diffs], Sun Aug 27 04:58:06 2006 UTC (6 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.796: +2 -2 lines
Diff to previous 1.796 (colored)

raid and ccd now use dk_lookup.

Revision 1.796 / (download) - annotate - [select for diffs], Sat Aug 26 22:06:37 2006 UTC (6 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.795: +5 -1 lines
Diff to previous 1.795 (colored)

Move the sgimips "sbic" driver from arch/sgimips/hpc/sbic.c to
dev/ic/wd33c93.c.  This may not be the best WD33C93 driver we've
got, but it's the most recently worked on and probably the most
portable, so it seems like a good basis for further work (and in
particular an acorn26 driver for the Acorn SCSI card).  There's
no functional change in this commit, and sgimips kernels still
compile.

Revision 1.795 / (download) - annotate - [select for diffs], Fri Aug 25 17:32:27 2006 UTC (6 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.794: +6 -4 lines
Diff to previous 1.794 (colored)

Remove support for netns and netccitt.  For now, don't include files.netns
and files.netccitt.

Revision 1.794 / (download) - annotate - [select for diffs], Thu Aug 24 21:23:40 2006 UTC (6 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.793: +8 -1 lines
Diff to previous 1.793 (colored)

Create a linker map file.
Very useful when trying to find out where recent 'bloat' has come from,
as well as giving exact details of what is actually in the kernel.

Revision 1.793 / (download) - annotate - [select for diffs], Sat Aug 5 17:20:54 2006 UTC (6 years, 9 months ago) by pavel
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.792: +2 -1 lines
Diff to previous 1.792 (colored)

defflag PPPOE_SERVER and PPPOE_TERM_UNKNOWN_SESSIONS.

Revision 1.792 / (download) - annotate - [select for diffs], Tue Jul 25 18:04:03 2006 UTC (6 years, 10 months ago) by elad
Branch: MAIN
Changes since 1.791: +2 -2 lines
Diff to previous 1.791 (colored)

make veriexec.h be generated again; thanks cube@

Revision 1.791 / (download) - annotate - [select for diffs], Mon Jul 24 16:37:28 2006 UTC (6 years, 10 months ago) by elad
Branch: MAIN
Changes since 1.790: +2 -2 lines
Diff to previous 1.790 (colored)

some fixes:
  - adapt to NVERIEXEC in init_sysctl.c.
  - we now need "veriexec.h" for NVERIEXEC.
  - "opt_verified_exec.h" -> "opt_veriexec.h", and include it only where
    it is needed.

Revision 1.790 / (download) - annotate - [select for diffs], Sat Jul 22 10:34:26 2006 UTC (6 years, 10 months ago) by elad
Branch: MAIN
Changes since 1.789: +6 -7 lines
Diff to previous 1.789 (colored)

deprecate the VERIFIED_EXEC option; now we only need the pseudo-device to
enable it. while here, some config file tweaks.

tons of input from cube@ (thanks!) and okay blymn@.

Revision 1.789 / (download) - annotate - [select for diffs], Fri Jul 14 18:41:40 2006 UTC (6 years, 10 months ago) by elad
Branch: MAIN
Changes since 1.788: +7 -3 lines
Diff to previous 1.788 (colored)

okay, since there was no way to divide this to two commits, here it goes..

introduce fileassoc(9), a kernel interface for associating meta-data with
files using in-kernel memory. this is very similar to what we had in
veriexec till now, only abstracted so it can be used more easily by more
consumers.

this also prompted the redesign of the interface, making it work on vnodes
and mounts and not directly on devices and inodes. internally, we still
use file-id but that's gonna change soon... the interface will remain
consistent.

as a result, veriexec went under some heavy changes to conform to the new
interface. since we no longer use device numbers to identify file-systems,
the veriexec sysctl stuff changed too: kern.veriexec.count.dev_N is now
kern.veriexec.tableN.* where 'N' is NOT the device number but rather a
way to distinguish several mounts.

also worth noting is the plugging of unmount/delete operations
wrt/fileassoc and veriexec.

tons of input from yamt@, wrstuden@, martin@, and christos@.

Revision 1.788 / (download) - annotate - [select for diffs], Thu Jul 13 22:56:02 2006 UTC (6 years, 10 months ago) by gdamore
Branch: MAIN
Changes since 1.787: +3 -2 lines
Diff to previous 1.787 (colored)

Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@.  Fixes PR port-evbmips/32362.

Revision 1.787 / (download) - annotate - [select for diffs], Thu Jul 13 17:39:47 2006 UTC (6 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.786: +2 -2 lines
Diff to previous 1.786 (colored)

COMPAT_SUNOS* uses COMPAT_30 getfh too

Revision 1.786 / (download) - annotate - [select for diffs], Thu Jul 13 16:28:38 2006 UTC (6 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.785: +12 -12 lines
Diff to previous 1.785 (colored)

Make freebsd_sys_getfh use compat_30_sys_getfh

Revision 1.785 / (download) - annotate - [select for diffs], Fri Jun 30 13:56:25 2006 UTC (6 years, 10 months ago) by chap
Branch: MAIN
Changes since 1.784: +2 -1 lines
Diff to previous 1.784 (colored)

Ankh-Morpork, we have a MIDI driver....

Merge from chap-midi branch, after
~month for review
Comments by thorpej@ drochner@ and Alexandre Ratchov

Incorporated: points by thorpej@ drochner@; preliminary support for
a stats-collecting ioctl suggested by martin@ from comments by A.R.

PR kern/32441 kern/32442 kern/32567 kern/32588 kern/32694 kern/33590
kern/33614 and one instance of kern/32651

ok martin@

Revision 1.784 / (download) - annotate - [select for diffs], Mon Jun 26 16:13:21 2006 UTC (6 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.783: +6 -1 lines
Diff to previous 1.783 (colored)

add some common code to support the ACPI power management timer
independly of ACPI

Revision 1.783 / (download) - annotate - [select for diffs], Sun Jun 25 08:00:01 2006 UTC (6 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6
Changes since 1.782: +3 -1 lines
Diff to previous 1.782 (colored)

1. implement solaris-like vmem.  (still primitive, though)
2. implement solaris-like kmem_alloc/free api, using #1.
   (note: this implementation is backed by kernel_map, thus can't be
   used from interrupt context.)

Revision 1.782 / (download) - annotate - [select for diffs], Mon Jun 19 15:44:44 2006 UTC (6 years, 11 months ago) by gdamore
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base
Changes since 1.781: +2 -4 lines
Diff to previous 1.781 (colored)

Initial import of bluetooth stack on behalf of Iain Hibbert.  (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.

Revision 1.781 / (download) - annotate - [select for diffs], Wed Jun 7 22:33:34 2006 UTC (6 years, 11 months ago) by kardel
Branch: MAIN
CVS Tags: gdamore-uart-base
Branch point for: gdamore-uart
Changes since 1.780: +6 -5 lines
Diff to previous 1.780 (colored)

merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.780 / (download) - annotate - [select for diffs], Wed Jun 7 15:24:12 2006 UTC (6 years, 11 months ago) by rpaulo
Branch: MAIN
CVS Tags: simonb-timecounters-base
Changes since 1.779: +2 -2 lines
Diff to previous 1.779 (colored)

Fix a comment for ral.

Revision 1.779 / (download) - annotate - [select for diffs], Wed Jun 7 12:51:40 2006 UTC (6 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.778: +2 -2 lines
Diff to previous 1.778 (colored)

Now that rt2661.c uses firmware_*, ral needs attribute firmload.

Revision 1.778 / (download) - annotate - [select for diffs], Wed Jun 7 08:06:56 2006 UTC (6 years, 11 months ago) by dogcow
Branch: MAIN
Changes since 1.777: +3 -3 lines
Diff to previous 1.777 (colored)

add the dev/ic/ files for ral(4).

Revision 1.777 / (download) - annotate - [select for diffs], Sun May 28 08:57:53 2006 UTC (6 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.776: +5 -1 lines
Diff to previous 1.776 (colored)

Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.

Revision 1.776 / (download) - annotate - [select for diffs], Thu May 25 14:27:28 2006 UTC (7 years ago) by yamt
Branch: MAIN
Changes since 1.775: +2 -1 lines
Diff to previous 1.775 (colored)

move wait points for kva from upper layers to vm_map.  PR/33185 #1.

XXX there is a concern about interaction with kva fragmentation.
see: http://mail-index.NetBSD.org/tech-kern/2006/05/11/0000.html

Revision 1.775 / (download) - annotate - [select for diffs], Thu May 18 09:05:51 2006 UTC (7 years ago) by liamjfoy
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5
Branch point for: chap-midi
Changes since 1.774: +3 -1 lines
Diff to previous 1.774 (colored)

Integrate Common Address Redundancy Procotol (CARP) from OpenBSD

'pseudo-device	carp'

Thanks to: joerg@ christos@ riz@ and others who tested
Ok: core@

Revision 1.774 / (download) - annotate - [select for diffs], Tue May 16 00:08:25 2006 UTC (7 years ago) by elad
Branch: MAIN
Changes since 1.773: +4 -1 lines
Diff to previous 1.773 (colored)

Introduce PaX MPROTECT -- mprotect(2) restrictions used to strengthen
W^X mappings.

Disabled by default.

First proposed in:

	http://mail-index.netbsd.org/tech-security/2005/12/18/0000.html

More information in:

	http://pax.grsecurity.net/docs/mprotect.txt

Read relevant parts of options(4) and sysctl(3) before using!

Lots of thanks to the PaX author and Matt Thomas.

Revision 1.773 / (download) - annotate - [select for diffs], Sun May 14 21:25:21 2006 UTC (7 years ago) by elad
Branch: MAIN
Changes since 1.772: +2 -1 lines
Diff to previous 1.772 (colored)

integrate kauth.

Revision 1.772 / (download) - annotate - [select for diffs], Fri May 5 18:26:19 2006 UTC (7 years ago) by thorpej
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.771: +1 -2 lines
Diff to previous 1.771 (colored)

Remove the obsolete (and now unused) propdb API.

Revision 1.771 / (download) - annotate - [select for diffs], Mon Apr 17 03:39:39 2006 UTC (7 years, 1 month ago) by elad
Branch: MAIN
Changes since 1.770: +2 -1 lines
Diff to previous 1.770 (colored)

Move securelevel-specific stuff to its own file.

Revision 1.770 / (download) - annotate - [select for diffs], Fri Apr 14 13:09:06 2006 UTC (7 years, 1 month ago) by blymn
Branch: MAIN
Changes since 1.769: +2 -1 lines
Diff to previous 1.769 (colored)

Make i/o statistics collection more generic, include tape drives and
nfs mounts in the set of devices that statistics will be reported on.

Revision 1.769 / (download) - annotate - [select for diffs], Fri Apr 7 18:55:22 2006 UTC (7 years, 1 month ago) by riz
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4
Changes since 1.768: +5 -1 lines
Diff to previous 1.768 (colored)

Dallas Semiconductor 1-Wire bus support, from OpenBSD.  Currently includes
gpioow(4), attaching a bit-banging driver via a GPIO pin.  Also,
owtemp(4) which supports some of the 1-Wire temperature sensors, including
the DS18b20 and DS1920 - temperatures are returned via the envsys(4)
framework.

Original drivers by Alexander Yurchenko (grange@openbsd), with envsys(4)
support and a fix to the 1-wire search algorithm (for discovering
devices on the bus) by me.

As discussed on tech-kern earlier this week.

Revision 1.768 / (download) - annotate - [select for diffs], Fri Apr 7 01:39:13 2006 UTC (7 years, 1 month ago) by gdamore
Branch: MAIN
Changes since 1.767: +4 -1 lines
Diff to previous 1.767 (colored)

Add common videomode include.  As requested by macallan@.

Revision 1.767 / (download) - annotate - [select for diffs], Wed Apr 5 06:54:26 2006 UTC (7 years, 1 month ago) by gdamore
Branch: MAIN
Changes since 1.766: +2 -4 lines
Diff to previous 1.766 (colored)

Rename AH_DEBUG, AH_ASSERT, and AH_DEBUG_ALQ to ATH_XXX.
Use the opt_ah.h for the provided HAL to get options like AH_REGOPS_FUNC.
Add AH_REGOPS_FUNC to a few opt_ah.h that don't have it in this version
of the HAL but need it.  (The next version from Sam should have this fixed
in it.  If it doesn't, then we'll have to take care at import time.)

Ultimately, this should make future imports even easier, and individual ports
should not have to worry about whether AH_REGOPS_FUNC is properly defined or
not, since the opt_ah.h will just take care of it automatically.

Ok'd by dyoung@.

Revision 1.766 / (download) - annotate - [select for diffs], Tue Apr 4 03:13:12 2006 UTC (7 years, 1 month ago) by gdamore
Branch: MAIN
Changes since 1.765: +2 -1 lines
Diff to previous 1.765 (colored)

Convert existing ath users to new Makefile, except for amd64, which needs
the rules due to needing to conditionally postprocess the HAL object file.

Macppc needs a a non-ELF HAL (EABI) object, so take care of that by default
in the atheros include file.

Revision 1.765 / (download) - annotate - [select for diffs], Sun Apr 2 05:52:14 2006 UTC (7 years, 1 month ago) by gdamore
Branch: MAIN
Changes since 1.764: +2 -2 lines
Diff to previous 1.764 (colored)

Reorganize ath layout as requested by sam@ and suggested by dyoung@ in
http://mail-index.netbsd.org/tech-net/2006/03/15/0000.html.

The new layout almost precisely matches FreeBSD, and should make
future imports much easier.

At the same time, import the current 0.9.16.16 HAL from FreeBSD.  According
to sam@, this is the proper version we should be using.

Revision 1.764 / (download) - annotate - [select for diffs], Tue Mar 21 22:33:07 2006 UTC (7 years, 2 months ago) by he
Branch: MAIN
CVS Tags: yamt-pdpolicy-base3
Changes since 1.763: +6 -1 lines
Diff to previous 1.763 (colored)

Commit forgotten definition of the ciss driver.

Revision 1.763 / (download) - annotate - [select for diffs], Wed Mar 1 22:12:09 2006 UTC (7 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.762: +2 -2 lines
Diff to previous 1.762 (colored)

Fix md(4) like raid(4) was fixed.

Revision 1.762 / (download) - annotate - [select for diffs], Sat Feb 25 01:32:10 2006 UTC (7 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Changes since 1.761: +1 -6 lines
Diff to previous 1.761 (colored)

remove vinum

Revision 1.761 / (download) - annotate - [select for diffs], Thu Feb 23 08:01:59 2006 UTC (7 years, 3 months ago) by macallan
Branch: MAIN
Changes since 1.760: +3 -2 lines
Diff to previous 1.760 (colored)

Add support for virtual consoles to igsfb.
Works fine on a Krups, needs testing on other ports.

Revision 1.760 / (download) - annotate - [select for diffs], Sun Feb 19 17:24:36 2006 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.759: +4 -1 lines
Diff to previous 1.759 (colored)

splash is MI; move it out of files.i386

Revision 1.759 / (download) - annotate - [select for diffs], Sun Feb 12 01:32:06 2006 UTC (7 years, 3 months ago) by chs
Branch: MAIN
Changes since 1.758: +2 -2 lines
Diff to previous 1.758 (colored)

convert "magiclinks" from a per-fs mount option to a system-wide sysctl.
as discussed on tech-kern quite some time ago.

Revision 1.758 / (download) - annotate - [select for diffs], Thu Feb 9 19:18:57 2006 UTC (7 years, 3 months ago) by manu
Branch: MAIN
Changes since 1.757: +2 -1 lines
Diff to previous 1.757 (colored)

Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

While I'm here, add SysV IPC to COMPAT_LINUX/amd64

Revision 1.757 / (download) - annotate - [select for diffs], Fri Feb 3 11:04:46 2006 UTC (7 years, 3 months ago) by jmmv
Branch: MAIN
Branch point for: simonb-timecounters
Changes since 1.756: +2 -1 lines
Diff to previous 1.756 (colored)

Implement options string parsing of the form 'a=b c=d ...'.  This will be
initially used by i386's Multiboot support but will be useful in other
situations too (think refactoring mount(2)'s API).

Revision 1.756 / (download) - annotate - [select for diffs], Thu Feb 2 15:26:35 2006 UTC (7 years, 3 months ago) by reinoud
Branch: MAIN
Changes since 1.755: +2 -1 lines
Diff to previous 1.755 (colored)

Initial import of a UDF file system implementation for NetBSD.

Finally the logic glue and the set distribution lists modifications.

Revision 1.755 / (download) - annotate - [select for diffs], Wed Feb 1 03:15:33 2006 UTC (7 years, 3 months ago) by cube
Branch: MAIN
Changes since 1.754: +2 -2 lines
Diff to previous 1.754 (colored)

Have vnd(4) devices automatically created when the user tries to
configure one.  That removes the compile-time constant that limits the
number of vnds.

Thanks xtraeme@ for testing.

Revision 1.754 / (download) - annotate - [select for diffs], Tue Jan 17 06:52:43 2006 UTC (7 years, 4 months ago) by thorpej
Branch: MAIN
Branch point for: rpaulo-netinet-merge-pcb
Changes since 1.753: +3 -2 lines
Diff to previous 1.753 (colored)

Conditionalize firmload.c on the firmload attribute.

Revision 1.753 / (download) - annotate - [select for diffs], Tue Jan 17 06:08:48 2006 UTC (7 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.752: +2 -1 lines
Diff to previous 1.752 (colored)

Add an API for loading firmware images for devices.

Revision 1.752 / (download) - annotate - [select for diffs], Mon Jan 16 22:49:23 2006 UTC (7 years, 4 months ago) by cube
Branch: MAIN
Changes since 1.751: +2 -2 lines
Diff to previous 1.751 (colored)

tap(4) depends on arp:  it is an Ethernet interface, after all.
Solves PR 32548 by Pawel Chwalowski.

Revision 1.751 / (download) - annotate - [select for diffs], Sat Jan 7 14:19:51 2006 UTC (7 years, 4 months ago) by peter
Branch: MAIN
Changes since 1.750: +2 -2 lines
Diff to previous 1.750 (colored)

Include net/pfil.c when pf is set.

Revision 1.750 / (download) - annotate - [select for diffs], Thu Dec 29 14:53:47 2005 UTC (7 years, 4 months ago) by tsutsui
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.749: +2 -1 lines
Diff to previous 1.749 (colored)

Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.

Revision 1.749 / (download) - annotate - [select for diffs], Tue Dec 27 00:46:38 2005 UTC (7 years, 4 months ago) by chs
Branch: MAIN
Changes since 1.748: +2 -2 lines
Diff to previous 1.748 (colored)

remove the COM_MPLOCK option.  always include the spinlock in the softc
and always call the simple_* locking functions.  the locking functions
are compiled out if they are not needed anyway, so a separate option
for this doesn't gain anything.

this also fixes the serial console on my alpha ES40 (which doesn't make much
sense since the com driver should still be under the big lock on alpha,
but whatever).

Revision 1.748 / (download) - annotate - [select for diffs], Wed Dec 21 10:57:22 2005 UTC (7 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.747: +2 -2 lines
Diff to previous 1.747 (colored)

defparam NMBCLUSTERS.

Revision 1.747 / (download) - annotate - [select for diffs], Tue Dec 20 05:35:30 2005 UTC (7 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.746: +1 -3 lines
Diff to previous 1.746 (colored)

Remove the tablet line discipline.

Revision 1.746 / (download) - annotate - [select for diffs], Wed Dec 7 00:42:03 2005 UTC (7 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.745: +1 -2 lines
Diff to previous 1.745 (colored)

Remove the VNODE_OP_NOINLINE option.  We now NEVER inline vnode ops.
Briefly discussed on tech-kern not too long ago.

Revision 1.745 / (download) - annotate - [select for diffs], Sun Nov 27 22:44:35 2005 UTC (7 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-readahead-base3
Changes since 1.744: +4 -22 lines
Diff to previous 1.744 (colored)

Move DDB files to files.ddb
XXX couple of kgdb references -- clean up later

Revision 1.744 / (download) - annotate - [select for diffs], Sun Nov 27 22:18:41 2005 UTC (7 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.743: +6 -32 lines
Diff to previous 1.743 (colored)

Move UVM files to files.uvm

Revision 1.743 / (download) - annotate - [select for diffs], Sun Nov 27 21:14:26 2005 UTC (7 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.742: +2 -16 lines
Diff to previous 1.742 (colored)

Move 802.11-specific files to files.net80211

Revision 1.742 / (download) - annotate - [select for diffs], Sat Nov 26 12:16:44 2005 UTC (7 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.741: +2 -1 lines
Diff to previous 1.741 (colored)

add a new option DDB_COMMANDONENTER.
which can be useful for eg. broken console input.

Revision 1.741 / (download) - annotate - [select for diffs], Fri Nov 25 17:33:56 2005 UTC (7 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.740: +2 -2 lines
Diff to previous 1.740 (colored)

Use a once control to call initialize the 802.11 layer when
ieee80211_ifattach() is called.  "wlan" no longer needs-flag,
and remove the ieee80211_init() call from main().

Revision 1.740 / (download) - annotate - [select for diffs], Fri Nov 18 21:55:14 2005 UTC (7 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: yamt-readahead-base2
Changes since 1.739: +2 -2 lines
Diff to previous 1.739 (colored)

Only call ieee80211_init() in kernels that include some wlan stuff.

Revision 1.739 / (download) - annotate - [select for diffs], Sat Oct 29 11:23:19 2005 UTC (7 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.738: +3 -1 lines
Diff to previous 1.738 (colored)

physio: make requests with large buffers faster,
by queueing more i/o simultaneously.

Revision 1.738 / (download) - annotate - [select for diffs], Fri Oct 21 04:07:48 2005 UTC (7 years, 7 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-vop-base2, thorpej-vnode-attr-base, thorpej-vnode-attr
Changes since 1.737: +2 -2 lines
Diff to previous 1.737 (colored)

Switch to John Bicket's SampleRate algorithm for bitrate adaptation
on Atheros cards.

Revision 1.737 / (download) - annotate - [select for diffs], Wed Oct 19 09:04:23 2005 UTC (7 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.736: +3 -2 lines
Diff to previous 1.736 (colored)

For clarify, use the name opt_athhal.h instead of opt_ah.h for the
file where Atheros HAL options go.

Revision 1.736 / (download) - annotate - [select for diffs], Sat Oct 15 17:29:11 2005 UTC (7 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base
Branch point for: yamt-vop
Changes since 1.735: +2 -1 lines
Diff to previous 1.735 (colored)

- change the way to specify a bufq strategy.  (by string rather than by number)
- rather than embedding bufq_state in driver softc,
  have a pointer to the former.
- move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c.
- rename method to strategy for consistency.
- move some definitions which don't need to be exposed to the rest of kernel
  from sys/bufq.h to sys/bufq_impl.h.
  (is it better to move it to kern/ or somewhere?)
- fix some obvious breakage in dev/qbus/ts.c.  (not tested)

Revision 1.735 / (download) - annotate - [select for diffs], Wed Oct 5 14:16:46 2005 UTC (7 years, 7 months ago) by cube
Branch: MAIN
Changes since 1.734: +2 -2 lines
Diff to previous 1.734 (colored)

tap doesn't expose any locator...  It's just a trick to get a cfdriver
structure.

Revision 1.734 / (download) - annotate - [select for diffs], Tue Sep 27 02:41:10 2005 UTC (7 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.733: +7 -1 lines
Diff to previous 1.733 (colored)

Add gpio files and majors.

Revision 1.733 / (download) - annotate - [select for diffs], Mon Sep 26 14:14:26 2005 UTC (7 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.732: +5 -5 lines
Diff to previous 1.732 (colored)

- defflag bufq_fcfs and bufq_disksort.
- make them on by default.

Revision 1.732 / (download) - annotate - [select for diffs], Fri Sep 23 12:10:31 2005 UTC (7 years, 8 months ago) by jmmv
Branch: MAIN
Changes since 1.731: +2 -1 lines
Diff to previous 1.731 (colored)

Apply the NFS exports list rototill patch:

- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.

Revision 1.731 / (download) - annotate - [select for diffs], Sat Sep 17 14:38:40 2005 UTC (7 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.730: +5 -3 lines
Diff to previous 1.730 (colored)

make VMSWAP optional again.

Revision 1.730 / (download) - annotate - [select for diffs], Sat Sep 10 19:20:51 2005 UTC (7 years, 8 months ago) by jmmv
Branch: MAIN
Changes since 1.729: +2 -1 lines
Diff to previous 1.729 (colored)

Initial addition of tmpfs, an efficient memory file-system.  This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).

Revision 1.729 / (download) - annotate - [select for diffs], Fri Aug 19 02:04:03 2005 UTC (7 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.728: +3 -2 lines
Diff to previous 1.728 (colored)

64 bit inode changes.

Revision 1.728 / (download) - annotate - [select for diffs], Sun Jul 31 04:04:46 2005 UTC (7 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.727: +3 -5 lines
Diff to previous 1.727 (colored)

revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.

Revision 1.727 / (download) - annotate - [select for diffs], Sat Jul 30 06:33:36 2005 UTC (7 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.726: +5 -3 lines
Diff to previous 1.726 (colored)

defflag VMSWAP.

Revision 1.726 / (download) - annotate - [select for diffs], Sun Jul 17 00:08:27 2005 UTC (7 years, 10 months ago) by hubertf
Branch: MAIN
Changes since 1.725: +3 -2 lines
Diff to previous 1.725 (colored)

Add support for reading cloop2 compressed filesystem image,
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.

Revision 1.725 / (download) - annotate - [select for diffs], Sat Jul 16 22:50:15 2005 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.724: +9 -1 lines
Diff to previous 1.724 (colored)

Defopt VERIFIED_EXEC*

Revision 1.724 / (download) - annotate - [select for diffs], Mon Jul 11 15:37:04 2005 UTC (7 years, 10 months ago) by kiyohara
Branch: MAIN
Changes since 1.723: +2 -15 lines
Diff to previous 1.723 (colored)

ieee1394 import from FreeBSD.

Revision 1.723 / (download) - annotate - [select for diffs], Sat Jul 9 01:05:23 2005 UTC (7 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.722: +2 -1 lines
Diff to previous 1.722 (colored)

Move VFS extended attribute support to its own file.

Revision 1.722 / (download) - annotate - [select for diffs], Fri Jul 1 20:11:20 2005 UTC (7 years, 10 months ago) by drochner
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.721: +6 -1 lines
Diff to previous 1.721 (colored)

add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually

Revision 1.721 / (download) - annotate - [select for diffs], Mon Jun 27 21:41:45 2005 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.720: +3 -1 lines
Diff to previous 1.720 (colored)

Create the file opt_ah.h, which appears to be needed. Can we please
s/AH_/ATHHAL_/ everywhere?

Revision 1.720 / (download) - annotate - [select for diffs], Thu Jun 23 00:30:28 2005 UTC (7 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.719: +2 -1 lines
Diff to previous 1.719 (colored)

Implement expansion of special "magic" strings in symlinks into
system-specific values.  Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.

This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag.  It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.

The following magic strings are supported by the implementation:

	@machine	value of MACHINE for the system
	@machine_arch	value of MACHINE_ARCH for the system
	@hostname	the system host name, as set with sethostname()
	@domainname	the system domain name, as set with setdomainname()
	@kernel_ident	the kernel config file name
	@osrelease	the releaes number of the OS
	@ostype		the name of the OS (always "NetBSD" for NetBSD)

Example usage:

	mkdir /arch/i386/bin
	mkdir /arch/sparc/bin
	ln -s /arch/@machine_arch/bin /bin

Revision 1.719 / (download) - annotate - [select for diffs], Wed Jun 22 06:14:52 2005 UTC (7 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.718: +20 -13 lines
Diff to previous 1.718 (colored)

Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD.  Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]).  Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.

Revision 1.718 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:32 2005 UTC (7 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.717: +3 -2 lines
Diff to previous 1.717 (colored)

Reduce INSTALL_TINY by 1.3KB.

Support for a.out coredumps is now conditional on EXEC_AOUT, EXEC_COFF,
EXEC_ECOFF, or EXEC_MACHO, or LKM.  Since coredump_netbsd is the only user
of cpu_coredump, make that conditional too.  Lastly, add 'no options EXEC_AOUT'
so the EXEC_AOUT option in std.i386 can be overridden.

Revision 1.717 / (download) - annotate - [select for diffs], Wed Apr 20 13:44:45 2005 UTC (8 years, 1 month ago) by blymn
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.716: +4 -4 lines
Diff to previous 1.716 (colored)

Rototill of the verified exec functionality.
  * We now use hash tables instead of a list to store the in kernel
    fingerprints.
  * Fingerprint methods handling has been made more flexible, it is now
    even simpler to add new methods.
  * the loader no longer passes in magic numbers representing the
    fingerprint method so veriexecctl is not longer kernel specific.
  * fingerprint methods can be tailored out using options in the kernel
    config file.
  * more fingerprint methods added - rmd160, sha256/384/512
  * veriexecctl can now report the fingerprint methods supported by the
    running kernel.
  * regularised the naming of some portions of veriexec.

Revision 1.716 / (download) - annotate - [select for diffs], Wed Apr 6 11:33:54 2005 UTC (8 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.715: +2 -1 lines
Diff to previous 1.715 (colored)

make blist compilable on netbsd.

Revision 1.715 / (download) - annotate - [select for diffs], Sun Apr 3 11:21:44 2005 UTC (8 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.714: +6 -1 lines
Diff to previous 1.714 (colored)

Add driver for MCA Tiara LANCard / Fujitsu mb86950 EtherStar. Driver provided
in PR kern/26899 by Dave Barnes.

Revision 1.714 / (download) - annotate - [select for diffs], Fri Mar 25 23:06:19 2005 UTC (8 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: yamt-km-base4
Changes since 1.713: +4 -1 lines
Diff to previous 1.713 (colored)

Add attimer(4) driver, with ISA and ACPI attachments.

attimer(4) is the new body of the part of pcppi(4) that mapped the TIMER1
register to set the pitch of the bell.  It was necessary to separate them
in order to have a working ACPI attachment (as the two appear as different
devices in the ACPI structures).

Revision 1.713 / (download) - annotate - [select for diffs], Fri Mar 18 11:11:50 2005 UTC (8 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base3
Changes since 1.712: +3 -1 lines
Diff to previous 1.712 (colored)

add agr(4), a pseudo network device driver for link aggregation.

Revision 1.712 / (download) - annotate - [select for diffs], Sat Feb 26 23:04:16 2005 UTC (8 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.711: +2 -2 lines
Diff to previous 1.711 (colored)

nuke trailing whitespace

Revision 1.711 / (download) - annotate - [select for diffs], Tue Feb 1 16:00:50 2005 UTC (8 years, 3 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-km-base2, matt-timespec
Changes since 1.710: +2 -2 lines
Diff to previous 1.710 (colored)

don't compile isp_target.c if ISP_TARGET_MODE is not required

Revision 1.710 / (download) - annotate - [select for diffs], Mon Jan 31 06:09:03 2005 UTC (8 years, 3 months ago) by joff
Branch: MAIN
Changes since 1.709: +5 -1 lines
Diff to previous 1.709 (colored)

new attribute matrixkp

Revision 1.709 / (download) - annotate - [select for diffs], Fri Jan 21 12:32:18 2005 UTC (8 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base
Branch point for: yamt-km
Changes since 1.708: +2 -1 lines
Diff to previous 1.708 (colored)

- switch to dev/rtl8169.c from pci/if_re.c.
- enable re@cardbus.
both of re@pci and re@cardbus seem to work for me.

Revision 1.708 / (download) - annotate - [select for diffs], Wed Jan 19 10:17:00 2005 UTC (8 years, 4 months ago) by cube
Branch: MAIN
Changes since 1.707: +2 -2 lines
Diff to previous 1.707 (colored)

if_tap.c needs NBPFILTER flag.

Revision 1.707 / (download) - annotate - [select for diffs], Thu Jan 13 20:16:02 2005 UTC (8 years, 4 months ago) by petrov
Branch: MAIN
Branch point for: kent-audio2
Changes since 1.706: +2 -2 lines
Diff to previous 1.706 (colored)

Correct NKMEMPAGES_MIN option name.

Revision 1.706 / (download) - annotate - [select for diffs], Mon Jan 10 22:01:36 2005 UTC (8 years, 4 months ago) by kent
Branch: MAIN
Changes since 1.705: +2 -2 lines
Diff to previous 1.705 (colored)

merge kent-audio1 branch, which introduces audio filter pipeline to the MI
audio framework


Summary of changes:

* struct audio_params
  - remove sw_code, factor, factor_denom, hw_sample_rate,
hw_encoding ,hw_precision, and hw_channels.  Conversion information
is conveyed by stream_filter_list_t.
  - change the type of sample_rate: u_long -> u_int
  - add `validbits,' which represents the valid data size in
precision bits.  It is required in order to distinguish 24/32bit
from 24/24bit or 32/32bit.

* audio_hw_if
 - add two parameters to set_params()
	stream_filter_list_t *pfil, stream_filter_list *rfil
   A HW driver should set filter recipes for requested formats
 - constify audio_params parameters of trigger_output() and
trigger_input().  They represent audio formats for the hardware.
 - make open() and close() optional
 - add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
 to round_blocksize()

* sw_code is replaced with stream_filter_t.
  stream_filer_t converts audio data in an input buffer and writes
into another output buffer unlike sw_code, which converts data in
single buffer.
  converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c,
dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are
reimplemented as stream_filter_t

* MI audio
 - audiosetinfo() builds filter pipelines from stream_filter_list_t
filled by audio_hw_if::set_params()
 - audiosetinfo() returns with EINVAL if mmapped and set_params()
requests filters
 - audio_write(), audio_pint(), and audio_rint() invoke a filter
pipeline.
 - ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS,
AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for
AUDIO_GETINFO handle values for a buffer nearest to userland.

* add `struct device *' parameter to ac97_attach()

* all of audio HW drivers follow audio_hw_if and ac97 changes

Revision 1.705 / (download) - annotate - [select for diffs], Sat Jan 8 22:27:54 2005 UTC (8 years, 4 months ago) by cube
Branch: MAIN
CVS Tags: kent-audio1-beforemerge
Changes since 1.704: +3 -1 lines
Diff to previous 1.704 (colored)

Addition of tap(4).

NAME
     tap - virtual Ethernet device

SYNOPSIS
     pseudo-device tap

DESCRIPTION
     The tap driver allows the creation and use of virtual Ethernet devices.
     Those interfaces appear just as any real Ethernet NIC to the kernel, but
     can also be accessed by userland through a character device node in order
     to read frames being sent by the system or to inject frames.

     In that respect it is very similar to what tun(4) provides, but the added
     Ethernet layer allows easy integration with machine emulators or virtual
     Ethernet networks through the use of bridge(4) with tunneling.

``Qui tacet consentire videtur.''

Revision 1.704 / (download) - annotate - [select for diffs], Sat Jan 8 02:57:08 2005 UTC (8 years, 4 months ago) by joff
Branch: MAIN
Changes since 1.703: +3 -2 lines
Diff to previous 1.703 (colored)

add tscs

Revision 1.703 / (download) - annotate - [select for diffs], Tue Dec 21 16:36:53 2004 UTC (8 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.702: +4 -1 lines
Diff to previous 1.702 (colored)

defparam USB_MEM_RESERVE

Revision 1.702 / (download) - annotate - [select for diffs], Sun Dec 5 05:43:04 2004 UTC (8 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: kent-audio1-base
Branch point for: kent-audio1
Changes since 1.701: +4 -4 lines
Diff to previous 1.701 (colored)

clonify strip and sl.

Revision 1.701 / (download) - annotate - [select for diffs], Sat Dec 4 16:10:25 2004 UTC (8 years, 5 months ago) by peter
Branch: MAIN
Changes since 1.700: +2 -2 lines
Diff to previous 1.700 (colored)

Convert lo(4) to a clonable device.

This also removes the loif array and changes all code to use the new
lo0ifp pointer which points to the lo0 ifnet structure.

Approved by christos.

Revision 1.700 / (download) - annotate - [select for diffs], Tue Nov 30 04:28:43 2004 UTC (8 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.699: +2 -2 lines
Diff to previous 1.699 (colored)

Clonify bpf. I am not changing /dev/bpfX -> /dev/bpf until all userland
programs have been fixed.

Revision 1.699 / (download) - annotate - [select for diffs], Thu Nov 25 06:52:14 2004 UTC (8 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.698: +1 -8 lines
Diff to previous 1.698 (colored)

revert unintended changes in the previous.  pointed by matthew green.

Revision 1.698 / (download) - annotate - [select for diffs], Thu Nov 25 04:52:23 2004 UTC (8 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.697: +17 -6 lines
Diff to previous 1.697 (colored)

lookup bufq using link_set rather than a switch statement.

Revision 1.697 / (download) - annotate - [select for diffs], Sat Nov 13 07:58:14 2004 UTC (8 years, 6 months ago) by kent
Branch: MAIN
Changes since 1.696: +3 -3 lines
Diff to previous 1.696 (colored)

add `needs-flag' to the file line for mulaw.
move the file line for aurateconv.

Revision 1.696 / (download) - annotate - [select for diffs], Thu Nov 11 19:21:46 2004 UTC (8 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.695: +7 -7 lines
Diff to previous 1.695 (colored)

ptyfs moved from miscfs/ to fs/

sort file system includes

Revision 1.695 / (download) - annotate - [select for diffs], Thu Nov 11 03:32:05 2004 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.694: +2 -1 lines
Diff to previous 1.694 (colored)

Add ptyfs; from Geoff Wing.

Revision 1.694 / (download) - annotate - [select for diffs], Wed Nov 10 17:26:16 2004 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.693: +4 -2 lines
Diff to previous 1.693 (colored)

Update to the split pty driver.

Revision 1.693 / (download) - annotate - [select for diffs], Sat Oct 23 17:25:14 2004 UTC (8 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.692: +3 -1 lines
Diff to previous 1.692 (colored)

MBR partition table support for wedges, enabled by the DKWEDGE_METHOD_MBR
option.

Revision 1.692 / (download) - annotate - [select for diffs], Thu Oct 14 05:12:28 2004 UTC (8 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.691: +5 -1 lines
Diff to previous 1.691 (colored)

move i/o schedulers to their own files.
namely, from kern/subr_disk.c to kern/bufq_{fcfs,disksort,readprio,priocscan}.c.

Revision 1.691 / (download) - annotate - [select for diffs], Mon Oct 4 01:16:39 2004 UTC (8 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.690: +3 -1 lines
Diff to previous 1.690 (colored)

Add a parsing module for 4.4BSD/NetBSD disklabels.  This module supports
disklabels nested inside an MBR "NetBSD" or "386BSD" partition (first
one found is considered authoritative for the disk), or in one of several
known locations for various NetBSD platforms.  It can read native or other-
endian disklabels (code is there, but not tested).

If you want to play with this, exercise caution; you can't currently
mountroot on a wedge (setroot() needs some work).  Enabled by the
DKWEDGE_METHOD_BSDLABEL kernel option.

Revision 1.690 / (download) - annotate - [select for diffs], Mon Oct 4 01:07:57 2004 UTC (8 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.689: +1 -2 lines
Diff to previous 1.689 (colored)

Remove something mistakenly committed in last.

Revision 1.689 / (download) - annotate - [select for diffs], Mon Oct 4 01:07:25 2004 UTC (8 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.688: +4 -3 lines
Diff to previous 1.688 (colored)

Move wedge code to a subdirectory, as suggested by Christos.

Revision 1.688 / (download) - annotate - [select for diffs], Fri Oct 1 05:16:04 2004 UTC (8 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.687: +3 -1 lines
Diff to previous 1.687 (colored)

Break out the wedge discovery methods into true modules, and add some
infrastructure that allows new ones to be added.  The discovery methods
are prioritized, and only one can exist at a given priority.

The DKWEDGE_METHOD_GPT option causes GPT support to be included.  GPT is
at priority 0; we prefer GPT above all others.

Revision 1.687 / (download) - annotate - [select for diffs], Sun Sep 26 03:03:17 2004 UTC (8 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.686: +8 -1 lines
Diff to previous 1.686 (colored)

Add rtw(4).

Revision 1.686 / (download) - annotate - [select for diffs], Sat Sep 25 03:30:44 2004 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.685: +4 -1 lines
Diff to previous 1.685 (colored)

Work-in-progress implementation of "wedges", a new way to represent
partitions in the NetBSD kernel.  See discussion on tech-kern for details.

Revision 1.685 / (download) - annotate - [select for diffs], Tue Sep 21 03:10:35 2004 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.684: +2 -1 lines
Diff to previous 1.684 (colored)

Add a new VNODE_LOCKDEBUG option, which enables checks in the VOP_*()
calls to ensure that the vnode lock state is as expected when the VOP
call is made.  Modify vnode_if.src to set the expected state according
to the documenting lock table for each VOP.  Modify vnode_if.sh to emit
the checks.

Notes:
- The checks are only performed if the vnode has the VLOCKSWORK bit
  set.  Some file systems (e.g. specfs) don't even bother with vnode
  locks, so of course the checks will fail.
- We can't actually run with VNODE_LOCKDEBUG because there are so many
  vnode locking problems, not the least of which is the "use SHARED for
  VOP_READ()" issue, which screws things up for the entire call chain.

Inspired by similar changes in OpenBSD, but implemented differently.

Revision 1.684 / (download) - annotate - [select for diffs], Tue Sep 14 16:57:31 2004 UTC (8 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.683: +1 -2 lines
Diff to previous 1.683 (colored)

remove COMPAT_AOUT

Revision 1.683 / (download) - annotate - [select for diffs], Thu Aug 26 16:48:06 2004 UTC (8 years, 8 months ago) by jkunz
Branch: MAIN
Changes since 1.682: +5 -1 lines
Diff to previous 1.682 (colored)

Import STI wscons(4) driver from OpenBSD and add new driver for PS/2
keyboard / mouse pots of LASI.

Revision 1.682 / (download) - annotate - [select for diffs], Thu Aug 26 14:13:46 2004 UTC (8 years, 8 months ago) by itohy
Branch: MAIN
Changes since 1.681: +5 -1 lines
Diff to previous 1.681 (colored)

Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs)

Revision 1.681 / (download) - annotate - [select for diffs], Wed Aug 18 12:19:29 2004 UTC (8 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.680: +5 -1 lines
Diff to previous 1.680 (colored)

add a "drvctl" pseudo-device as userland interface to the autoconf
rescan() and detach() functions

Revision 1.680 / (download) - annotate - [select for diffs], Thu Aug 12 04:23:02 2004 UTC (8 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.679: +4 -3 lines
Diff to previous 1.679 (colored)

Don't assume wdc-specific ATA / ATAPI code should be brought in if atabus
or atapibus are configured; use a separate wdc_common attribute to indicate
that the shared wdc code is also present.

Revision 1.679 / (download) - annotate - [select for diffs], Wed Jul 7 08:41:35 2004 UTC (8 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.678: +5 -1 lines
Diff to previous 1.678 (colored)

Move spc into the MI area.

Revision 1.678 / (download) - annotate - [select for diffs], Thu Jul 1 12:44:26 2004 UTC (8 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.677: +2 -1 lines
Diff to previous 1.677 (colored)

defparam HZ.

Revision 1.677 / (download) - annotate - [select for diffs], Tue Jun 22 14:17:07 2004 UTC (8 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.676: +2 -1 lines
Diff to previous 1.676 (colored)

PF from openbsd 3.5.  missing features:
- pfsync (due to protocol # assignment issues)
- carp (not really a PF portion, but thought important to mention)
- PF and ALTQ are mutually-exclusive.  this will be sorted out when
  kjc@csl.sony.co.jp updates ALTQ and PF (and API inbetween)

reviewed by matt, christos, perry

torture-test is very welcomed.

Revision 1.676 / (download) - annotate - [select for diffs], Fri Jun 18 15:02:29 2004 UTC (8 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.675: +4 -3 lines
Diff to previous 1.675 (colored)

ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM

Revision 1.675 / (download) - annotate - [select for diffs], Sat May 29 12:12:28 2004 UTC (8 years, 11 months ago) by sekiya
Branch: MAIN
Changes since 1.674: +2 -2 lines
Diff to previous 1.674 (colored)

Link rtl81x9.c when re* is defined (hi, Toshi!)

Revision 1.674 / (download) - annotate - [select for diffs], Fri May 28 23:26:27 2004 UTC (8 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.673: +2 -1 lines
Diff to previous 1.673 (colored)

Add common routines for SATA controllers.  Right now, we have sata_speed(),
which reports the speed encoded in the SStatus register.

Revision 1.673 / (download) - annotate - [select for diffs], Fri May 28 15:35:41 2004 UTC (8 years, 11 months ago) by toshii
Branch: MAIN
Changes since 1.672: +5 -1 lines
Diff to previous 1.672 (colored)

Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.

Revision 1.672 / (download) - annotate - [select for diffs], Thu May 27 02:56:38 2004 UTC (8 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.671: +3 -2 lines
Diff to previous 1.671 (colored)

Unix 98 pty multiplexor device; original code from OpenBSD.

Revision 1.671 / (download) - annotate - [select for diffs], Mon May 3 20:10:35 2004 UTC (9 years ago) by petrov
Branch: MAIN
Changes since 1.670: +2 -2 lines
Diff to previous 1.670 (colored)

Revert default uvm counters, rename UVMMAP_COUNTERS to UVMMAP_NOCOUNTERS.

Revision 1.670 / (download) - annotate - [select for diffs], Sat May 1 19:40:39 2004 UTC (9 years ago) by petrov
Branch: MAIN
Changes since 1.669: +2 -2 lines
Diff to previous 1.669 (colored)

Replace uvm counters with evcnt, initialize them through __link_set (from Matt Thomas),
disable counters by default and add configuration option UVMMAP_COUNTERS.

Revision 1.669 / (download) - annotate - [select for diffs], Sat May 1 19:06:24 2004 UTC (9 years ago) by thorpej
Branch: MAIN
Changes since 1.668: +2 -2 lines
Diff to previous 1.668 (colored)

defflag COM_PXA2X0.

Revision 1.668 / (download) - annotate - [select for diffs], Sat May 1 19:03:59 2004 UTC (9 years ago) by thorpej
Branch: MAIN
Changes since 1.667: +4 -3 lines
Diff to previous 1.667 (colored)

Rename the COM16650 option to COM_16650, for consistency with other
com variant options.

Revision 1.667 / (download) - annotate - [select for diffs], Wed Apr 21 12:44:13 2004 UTC (9 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.666: +3 -2 lines
Diff to previous 1.666 (colored)

defopt COMPAT_20

Revision 1.666 / (download) - annotate - [select for diffs], Sat Apr 17 12:56:26 2004 UTC (9 years, 1 month ago) by cl
Branch: MAIN
Changes since 1.665: +2 -2 lines
Diff to previous 1.665 (colored)

add block device driver

Revision 1.665 / (download) - annotate - [select for diffs], Fri Apr 9 19:01:38 2004 UTC (9 years, 1 month ago) by atatat
Branch: MAIN
Changes since 1.664: +2 -2 lines
Diff to previous 1.664 (colored)

s/SYSCTL_USE_DESCR/SYSCTL_INCLUDE_DESCR/g since the latter name seems
more popular.  Or at least, less unpopular.

Revision 1.664 / (download) - annotate - [select for diffs], Fri Apr 9 18:13:36 2004 UTC (9 years, 1 month ago) by atatat
Branch: MAIN
Changes since 1.663: +2 -2 lines
Diff to previous 1.663 (colored)

Invert the meaning of SYSCTL_NO_DESCR by calling it SYSCTL_USE_DESCR
instead.  This makes it an option to include the descriptions, as
opposed to an option to *exclude* them.

Revision 1.663 / (download) - annotate - [select for diffs], Thu Apr 8 03:43:38 2004 UTC (9 years, 1 month ago) by atatat
Branch: MAIN
Changes since 1.662: +7 -1 lines
Diff to previous 1.662 (colored)

Create opt_sysctl.h which will hold sysctl related options.  I suspect
most of these won't be used (well, the description related one will
be), but it's good to formalize things.

Revision 1.662 / (download) - annotate - [select for diffs], Sun Mar 28 22:43:56 2004 UTC (9 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.661: +4 -3 lines
Diff to previous 1.661 (colored)

Make kernel continuations optional for now.

Revision 1.661 / (download) - annotate - [select for diffs], Sat Mar 20 03:12:47 2004 UTC (9 years, 2 months ago) by jonathan
Branch: MAIN
Changes since 1.660: +2 -1 lines
Diff to previous 1.660 (colored)

Pull in sys/kern_kcont. Size is 1.4k, hardly worth making an option
(though it could be made so, if something breaks on platforms without
generic soft-ints).

Revision 1.660 / (download) - annotate - [select for diffs], Sun Mar 14 13:52:12 2004 UTC (9 years, 2 months ago) by bjh21
Branch: MAIN
Changes since 1.659: +2 -4 lines
Diff to previous 1.659 (colored)

pckbc_machdep_cnattach has been replaced by pckbport_machdep_cnattach, so the
former attribute can be removed.

Revision 1.659 / (download) - annotate - [select for diffs], Sat Mar 13 22:45:23 2004 UTC (9 years, 2 months ago) by bjh21
Branch: MAIN
Changes since 1.658: +4 -2 lines
Diff to previous 1.658 (colored)

Add pckbport attribute, and apply it to pckbc.  Somehow I missed this file
in the main commit of pckbport.  *blush*

Revision 1.658 / (download) - annotate - [select for diffs], Fri Mar 12 11:37:17 2004 UTC (9 years, 2 months ago) by jkunz
Branch: MAIN
Changes since 1.657: +6 -1 lines
Diff to previous 1.657 (colored)

Import MI part of new Intel i82596 Ethernet driver.

Revision 1.657 / (download) - annotate - [select for diffs], Tue Feb 17 05:03:15 2004 UTC (9 years, 3 months ago) by rtr
Branch: MAIN
Changes since 1.656: +2 -1 lines
Diff to previous 1.656 (colored)

split off the evcnt code (which is unrelated to autoconfiguration)
into a separate file

approved by simonb@

Revision 1.656 / (download) - annotate - [select for diffs], Sat Feb 14 16:35:58 2004 UTC (9 years, 3 months ago) by junyoung
Branch: MAIN
Changes since 1.655: +8 -8 lines
Diff to previous 1.655 (colored)

device<tab>
attach<tab>
file<tab>

Revision 1.655 / (download) - annotate - [select for diffs], Sat Feb 14 14:33:29 2004 UTC (9 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.654: +4 -2 lines
Diff to previous 1.654 (colored)

Add a new MI attribute, pckbc_machdep_cnattach, and change pckbc_cnattach()
to only call pckbc_machdep_cnattach() if this is present.  This allows
pckbc_machdep_cnattach() to be omitted entirely on most ports, where it only
returns ENXIO anyway.

The devices with this attribute at the moment are pc(4) on i386 and bebox, and
pckbc on sparc, where pckbc_machdep_cnattach() mysteriously returns 0 rather
than ENXIO.

Revision 1.654 / (download) - annotate - [select for diffs], Fri Feb 13 10:05:49 2004 UTC (9 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.653: +3 -3 lines
Diff to previous 1.653 (colored)

RealTek -> Realtek.

Revision 1.653 / (download) - annotate - [select for diffs], Tue Feb 3 19:46:18 2004 UTC (9 years, 3 months ago) by tsarna
Branch: MAIN
Changes since 1.652: +2 -2 lines
Diff to previous 1.652 (colored)

an(4) needs wlan support

Revision 1.652 / (download) - annotate - [select for diffs], Thu Jan 29 02:00:02 2004 UTC (9 years, 3 months ago) by tsarna
Branch: MAIN
Changes since 1.651: +2 -1 lines
Diff to previous 1.651 (colored)

uuidgen(2) syscall.  Originally from FreeBSD, ported by John Franklin in
PR#23470, with minor updates by me. This is only the syscall support
from that PR, for now.

Changes: port over fix from FreeBSD for multicast address generation.
Changed bcopy to memcpy.  For now, #ifdef notyet the portions of
kern_uuid.c that are meant to be used by (currently nonexistent) other
things in the kernel.  Added syscall to COMPAT_FREEBSD as well, though
that's currently not useful, as any program new enough to use this call
also uses other syscalls we don't (yet) emulate.

Revision 1.651 / (download) - annotate - [select for diffs], Tue Jan 20 19:58:01 2004 UTC (9 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.650: +6 -4 lines
Diff to previous 1.650 (colored)

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
  is included there too; dev/ic/lpt.c is not included if ppbus is
  configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
  glue moved to conf/files and dev/pci/files.pci respectively; remove
  device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
  glue

Revision 1.650 / (download) - annotate - [select for diffs], Sat Jan 17 20:55:59 2004 UTC (9 years, 4 months ago) by bjh21
Branch: MAIN
Changes since 1.649: +6 -1 lines
Diff to previous 1.649 (colored)

Simple code to provide a console bell through a generic audio device, for
systems that don't have a dedicated feeper.  It's up to MD code to enable
this by having the "audiobell" attribute and calling audiobell() at the
appropriate moment.

Code for making noise in the kernel from Richard Earnshaw.  Simple synthesizer
design from the RISC OS Programmer's Reference manual.

Revision 1.649 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:23 2003 UTC (9 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.648: +1 -2 lines
Diff to previous 1.648 (colored)

Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

This allows better utilization of memory because buffers can now be allocated
with a granularity finer than the system's native page size (useful for
filesystems with e.g. 1k or 2k fragment sizes).  It also avoids fragmentation
of virtual to physical memory mappings (due to the former fixed virtual
address reservation) resulting in better utilization of MMU resources on some
platforms.  Finally, the scheme is more flexible by allowing run-time decisions
on the amount of memory to be used for buffers.

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.

Revision 1.648 / (download) - annotate - [select for diffs], Fri Dec 12 20:54:30 2003 UTC (9 years, 5 months ago) by scw
Branch: MAIN
Changes since 1.647: +2 -2 lines
Diff to previous 1.647 (colored)

Pull in netinet/ip_ecn.c if FAST_IPSEC is defined.

Revision 1.647 / (download) - annotate - [select for diffs], Wed Dec 10 11:40:11 2003 UTC (9 years, 5 months ago) by hannken
Branch: MAIN
Changes since 1.646: +3 -1 lines
Diff to previous 1.646 (colored)

The file system snapshot pseudo driver.

Uses a hook in spec_strategy() to save data written from a mounted
file system to its block device and a hook in dounmount().

Not enabled by default in any kernel config.

Approved by: Frank van der Linden <fvdl@netbsd.org>

Revision 1.646 / (download) - annotate - [select for diffs], Sun Dec 7 05:30:22 2003 UTC (9 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.645: +2 -1 lines
Diff to previous 1.645 (colored)

Add the RSSI-based rate-adaptation library to the build.

Revision 1.645 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:23 2003 UTC (9 years, 5 months ago) by atatat
Branch: MAIN
Changes since 1.644: +2 -1 lines
Diff to previous 1.644 (colored)

Dynamic sysctl.

Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.

Revision 1.644 / (download) - annotate - [select for diffs], Sun Nov 16 12:10:41 2003 UTC (9 years, 6 months ago) by tls
Branch: MAIN
Changes since 1.643: +2 -1 lines
Diff to previous 1.643 (colored)

Oops.  I missed this file in my previous commit.  Add inclusion of
"files.skipjack" now that Skipjack has been moved from
sys/opencrypto to crypto/skipjack.

Revision 1.643 / (download) - annotate - [select for diffs], Wed Oct 29 17:00:40 2003 UTC (9 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.642: +6 -1 lines
Diff to previous 1.642 (colored)

Add MI driver for mc146818 based time-of-day clock with todr(9) support.

Revision 1.642 / (download) - annotate - [select for diffs], Fri Oct 17 18:16:42 2003 UTC (9 years, 7 months ago) by cdi
Branch: MAIN
Changes since 1.641: +3 -1 lines
Diff to previous 1.641 (colored)

Introduce null console. This pseudo device acts as a normal console with the
exception that it discards any output, and is useful for booting the kernel
on headless boxes.

Revision 1.641 / (download) - annotate - [select for diffs], Mon Oct 13 08:34:15 2003 UTC (9 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.640: +16 -2 lines
Diff to previous 1.640 (colored)

Complete replacement of the old 802.11 layer with the new.

Revision 1.640 / (download) - annotate - [select for diffs], Fri Oct 10 21:26:38 2003 UTC (9 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.639: +2 -2 lines
Diff to previous 1.639 (colored)

move MI majors config file from sys/dev/majors to sys/conf/majors

Revision 1.639 / (download) - annotate - [select for diffs], Fri Oct 10 06:13:02 2003 UTC (9 years, 7 months ago) by grog
Branch: MAIN
Changes since 1.638: +6 -1 lines
Diff to previous 1.638 (colored)

Include Vinum.

Revision 1.638 / (download) - annotate - [select for diffs], Wed Oct 8 20:57:59 2003 UTC (9 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.637: +6 -6 lines
Diff to previous 1.637 (colored)

Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.

Revision 1.637 / (download) - annotate - [select for diffs], Wed Oct 8 10:58:12 2003 UTC (9 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.636: +9 -6 lines
Diff to previous 1.636 (colored)

Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.

Revision 1.636 / (download) - annotate - [select for diffs], Sun Oct 5 08:04:24 2003 UTC (9 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.635: +4 -1 lines
Diff to previous 1.635 (colored)

Add some framework for MI assignment of device majors - add sys/dev/majors
which is automatically included during kernel config, and add comments
to individual machine-dependant majors.* files to assign new MI majors
in MI file.

Range 0-191 is reserved for machine-specific assignments, range
192+ are MI assignments.

Follows recent discussion on tech-kern@

Revision 1.635 / (download) - annotate - [select for diffs], Tue Sep 30 00:35:30 2003 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.634: +4 -9 lines
Diff to previous 1.634 (colored)

New generic I2C framework.  Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc.  Primarily written by Steve Woodford,
with some modification by me.

Revision 1.634 / (download) - annotate - [select for diffs], Thu Sep 25 15:58:14 2003 UTC (9 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.633: +11 -1 lines
Diff to previous 1.633 (colored)

autoconf goop for iavc

Revision 1.633 / (download) - annotate - [select for diffs], Mon Sep 22 17:26:14 2003 UTC (9 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.632: +10 -4 lines
Diff to previous 1.632 (colored)

Make COMPAT_xx imply all later COMPAT_yy.  (COMPAT_09 implies all whereas
COMPAT_14 just implies COMPAT_1[56]).  This means COMPAT_xy implies NetBSD
compatibility for NetBSD x.y OR LATER.

Revision 1.632 / (download) - annotate - [select for diffs], Fri Sep 12 11:20:57 2003 UTC (9 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.631: +3 -3 lines
Diff to previous 1.631 (colored)

merge netipsec/key* into netkey/key*.  no need for both.
change confusing filename

Revision 1.631 / (download) - annotate - [select for diffs], Tue Aug 26 19:23:49 2003 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.630: +1 -5 lines
Diff to previous 1.630 (colored)

Duh, remove clock_subr attribute; I am blind today.

Revision 1.630 / (download) - annotate - [select for diffs], Tue Aug 26 19:20:44 2003 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.629: +5 -5 lines
Diff to previous 1.629 (colored)

Slight cosmetic tweak to last.

Revision 1.629 / (download) - annotate - [select for diffs], Tue Aug 26 19:19:36 2003 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.628: +5 -1 lines
Diff to previous 1.628 (colored)

Define an attribute for clock_subr.c

Revision 1.628 / (download) - annotate - [select for diffs], Tue Aug 26 17:54:33 2003 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.627: +2 -4 lines
Diff to previous 1.627 (colored)

Some slight cleanup.

Revision 1.627 / (download) - annotate - [select for diffs], Sun Aug 24 19:21:11 2003 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.626: +1 -2 lines
Diff to previous 1.626 (colored)

Move the opencrypto defpseudo into files.opencrypto.

Revision 1.626 / (download) - annotate - [select for diffs], Sun Aug 24 19:19:54 2003 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.625: +6 -8 lines
Diff to previous 1.625 (colored)

Make opencrypto explicitly depend on the "des" attribute.  Also pull
in zlib.c explicitly if opencrypto is included.

Revision 1.625 / (download) - annotate - [select for diffs], Fri Aug 8 18:54:39 2003 UTC (9 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.624: +1 -2 lines
Diff to previous 1.624 (colored)

exec_elf_common.c is no more.

Revision 1.624 / (download) - annotate - [select for diffs], Mon Jul 28 21:28:24 2003 UTC (9 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.623: +9 -1 lines
Diff to previous 1.623 (colored)

Clean up dependencies between opencrypto framework and sys/crypto,
by making the sys/crypto transforms depend on
	(per-transform-config-keyword|opencrypto)

Thanks to  Martin Husemann for double-checking the changes.

Revision 1.623 / (download) - annotate - [select for diffs], Sun Jul 27 01:17:37 2003 UTC (9 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.622: +2 -1 lines
Diff to previous 1.622 (colored)

Since everyone uses clock_subr.c (or should, if they don't currently),
list it in conf/files instead of in every port's files.*.

Revision 1.622 / (download) - annotate - [select for diffs], Sat Jul 26 10:26:59 2003 UTC (9 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.621: +2 -2 lines
Diff to previous 1.621 (colored)

Disable opencrypto for now - the previous commit obviously has not even been
test compiled on a single arch.

Revision 1.621 / (download) - annotate - [select for diffs], Fri Jul 25 21:12:39 2003 UTC (9 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.620: +4 -1 lines
Diff to previous 1.620 (colored)

Commit initial NetBSD port of the OpenCrypto Framework (OCF).  This
code is derived from Sam Leffler's FreeBSD port of OCF, which is in
turn a port of Angelos Keromytis's OpenBSD work.
Credit to Sam and Angelos, any blame for the NetBSD port to me.

Revision 1.620 / (download) - annotate - [select for diffs], Fri Jul 25 10:00:51 2003 UTC (9 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.619: +2 -1 lines
Diff to previous 1.619 (colored)

add AH/ESP algorithms: hmac-ripemd160 (AH), AES XCBC MAC (AH),
AES counter mode (ESP)

Revision 1.619 / (download) - annotate - [select for diffs], Tue Jul 22 03:24:23 2003 UTC (9 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.618: +2 -1 lines
Diff to previous 1.618 (colored)

add hmac-sha2 support.  various cleanups (like avoid hardcoding '16').
from kame

Revision 1.618 / (download) - annotate - [select for diffs], Mon Jul 21 05:35:49 2003 UTC (9 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.617: +6 -6 lines
Diff to previous 1.617 (colored)

Include sysmon earlier.

Revision 1.617 / (download) - annotate - [select for diffs], Sun Jul 6 22:56:08 2003 UTC (9 years, 10 months ago) by dyoung
Branch: MAIN
Changes since 1.616: +6 -1 lines
Diff to previous 1.616 (colored)

Add driver atw for PCI/Mini-PCI/Cardbus 802.11b NICs based on the
ADMtek ADM8211. Read the man page for bugs and other outstanding
issues.

Revision 1.616 / (download) - annotate - [select for diffs], Thu Jul 3 01:42:10 2003 UTC (9 years, 10 months ago) by enami
Branch: MAIN
Changes since 1.615: +2 -1 lines
Diff to previous 1.615 (colored)

defparam SOMAXKVA.

Revision 1.615 / (download) - annotate - [select for diffs], Mon Jun 2 22:51:49 2003 UTC (9 years, 11 months ago) by uwe
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.614: +2 -2 lines
Diff to previous 1.614 (colored)

igsfb needs-flag.

Revision 1.614 / (download) - annotate - [select for diffs], Mon Jun 2 04:12:07 2003 UTC (9 years, 11 months ago) by gmcgarry
Branch: MAIN
Changes since 1.613: +2 -1 lines
Diff to previous 1.613 (colored)

Add gpibdev attribute

Revision 1.613 / (download) - annotate - [select for diffs], Mon May 26 21:11:04 2003 UTC (10 years ago) by martin
Branch: MAIN
Changes since 1.612: +2 -2 lines
Diff to previous 1.612 (colored)

Add KGDB_DEVPORT, for machines where KGDB_DEVADDR describes (for example)
a dual uart and we need a port discriminator to decide where to attach
kgdb.

Revision 1.612 / (download) - annotate - [select for diffs], Wed May 14 22:45:03 2003 UTC (10 years ago) by itojun
Branch: MAIN
Changes since 1.611: +1 -2 lines
Diff to previous 1.611 (colored)

no need to compile net_osdep.c.  simplify net_osdep.h conditions (remove
bsdi/freebsd/openbsd stuff)

Revision 1.611 / (download) - annotate - [select for diffs], Tue May 13 15:42:33 2003 UTC (10 years ago) by thorpej
Branch: MAIN
Changes since 1.610: +2 -1 lines
Diff to previous 1.610 (colored)

Add support for the user-generated command interface and event logging
required by the ICP-Vortex management tools.  Many thanks to Achim Leubner
at ICP-Vortex for a few bug fixes and for testing.

Revision 1.610 / (download) - annotate - [select for diffs], Thu Apr 24 20:04:03 2003 UTC (10 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.609: +3 -2 lines
Diff to previous 1.609 (colored)

Include kern_ksyms if ksyms | ddb | lkm. Never include db_elf.c.

Revision 1.609 / (download) - annotate - [select for diffs], Sat Apr 19 19:29:10 2003 UTC (10 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.608: +8 -1 lines
Diff to previous 1.608 (colored)

Changes for newer ahc driver, and ahd driver (the latter is a placeholder
until it's actually added, soon).

Revision 1.608 / (download) - annotate - [select for diffs], Wed Apr 16 22:02:59 2003 UTC (10 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.607: +5 -5 lines
Diff to previous 1.607 (colored)

Device driver for the LSI Logic Fusion-MPT based SCSI and Fibre Channel
adapters.  Currently supports:

* LSI 53c1030 Ultra320 SCSI
* LSI FC909, FC909A, FC919, and FC929 Fibre Channel

Ported from the FreeBSD "mpt" driver, written by Greg Ansley.  Thanks
to Frank van der Linden for testing and some bug finding.

This work was sponsored by Wasabi Systems, Inc.

Revision 1.607 / (download) - annotate - [select for diffs], Fri Apr 11 14:45:27 2003 UTC (10 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.606: +3 -2 lines
Diff to previous 1.606 (colored)

Rename the IPR_VJ option into IRIP_VJ (as irip(4) told all the time),
create an opt_ header and make the dependency on slcompress.c more exact.
(OK by martin)

Revision 1.606 / (download) - annotate - [select for diffs], Thu Apr 10 22:06:51 2003 UTC (10 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.605: +1 -2 lines
Diff to previous 1.605 (colored)

Bye Bye UCONSOLE

Revision 1.605 / (download) - annotate - [select for diffs], Sun Apr 6 09:48:41 2003 UTC (10 years, 1 month ago) by tsutsui
Branch: MAIN
Changes since 1.604: +5 -1 lines
Diff to previous 1.604 (colored)

Add MI NCR/Symbios 53c700 SCSI driver.
This "oosiop" driver was originally written by Shuichiro URATA
for arc port, and then it was modified by me to make it work
also on hp700.

This driver has been tested on my NEC Express5800/240 with 53c700-66
for several months, and also tested on HP9000 735/125 with 53c700
(though current hp700 port has been broken since SA merge).
Both sync transfer and disconnect/reselect work fine,
but tagged queuing is not implemented yet.

Revision 1.604 / (download) - annotate - [select for diffs], Sun Mar 16 11:50:27 2003 UTC (10 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.603: +2 -2 lines
Diff to previous 1.603 (colored)

union fs moved from miscfs/union to fs/union
omission pointed out by Martti Kuparinen

Revision 1.603 / (download) - annotate - [select for diffs], Thu Feb 27 19:22:49 2003 UTC (10 years, 2 months ago) by perseant
Branch: MAIN
Changes since 1.602: +2 -1 lines
Diff to previous 1.602 (colored)

Make BRIDGE_IPF an option, and document it.  Add it (commented) to GENERIC.
Let brconfig tell whether the bridge is using the ipfilter hook, or not.

Revision 1.602 / (download) - annotate - [select for diffs], Wed Feb 26 06:31:08 2003 UTC (10 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.601: +2 -1 lines
Diff to previous 1.601 (colored)

Add MBUFTRACE kernel option.
Do a little mbuf rework while here.  Change all uses of MGET*(*, M_WAIT, *)
to m_get*(M_WAIT, *).  These are not performance critical and making them
call m_get saves considerable space.  Add m_clget analogue of MCLGET and
make corresponding change for M_WAIT uses.
Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE.
Begin to change netstat to use sysctl.

Revision 1.601 / (download) - annotate - [select for diffs], Thu Feb 20 22:16:06 2003 UTC (10 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.600: +2 -1 lines
Diff to previous 1.600 (colored)

Introduce "top down" memory management for mmap()ed allocations.  This
means that the dynamic linker gets mapped in at the top of available
user virtual memory (typically just below the stack), shared libraries
get mapped downwards from that point, and calls to mmap() that don't
specify a preferred address will get mapped in below those.

This means that the heap and the mmap()ed allocations will grow
towards each other, allowing one or the other to grow larger than
before.  Previously, the heap was limited to MAXDSIZ by the placement
of the dynamic linker (and the process's rlimits) and the space
available to mmap was hobbled by this reservation.

This is currently only enabled via an *option* for the i386 platform
(though other platforms are expected to follow).  Add "options
USE_TOPDOWN_VM" to your kernel config file, rerun config, and rebuild
your kernel to take advantage of this.

Note that the pmap_prefer() interface has not yet been modified to
play nicely with this, so those platforms require a bit more work
(most notably the sparc) before they can use this new memory
arrangement.

This change also introduces a VM_DEFAULT_ADDRESS() macro that picks
the appropriate default address based on the size of the allocation or
the size of the process's text segment accordingly.  Several drivers
and the SYSV SHM address assignment were changed to use this instead
of each one picking their own "default".

Revision 1.600 / (download) - annotate - [select for diffs], Tue Feb 18 12:20:19 2003 UTC (10 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.599: +2 -1 lines
Diff to previous 1.599 (colored)

need to include netsmb/files.netsmb

Revision 1.599 / (download) - annotate - [select for diffs], Tue Feb 18 12:18:28 2003 UTC (10 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.598: +1 -14 lines
Diff to previous 1.598 (colored)

move netsmb-specific entries to netsmb/files.netsmb
g/c options SMB and opt_smb.h
rename the pseudo device to nsmb, and use needs-flag instead needs-count,
 adjust nsmbattach() appropriately
replace SMB_CHECKMINOR() with explicit code in smb_dev.c, to improve readability

Revision 1.598 / (download) - annotate - [select for diffs], Mon Feb 10 15:20:04 2003 UTC (10 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.597: +1 -2 lines
Diff to previous 1.597 (colored)

Sorry.  That's not for public consumption yet.

Revision 1.597 / (download) - annotate - [select for diffs], Mon Feb 10 00:35:17 2003 UTC (10 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.596: +4 -1 lines
Diff to previous 1.596 (colored)

Add a kern.dump_on_panic sysctl variable (and documentation, and a
kernel config option) that controls whether the kernel dumps to the
dump device on panic.  Dumps can still be forced via the ``sync''
command from ddb.  Defaults to ``on''.

Revision 1.596 / (download) - annotate - [select for diffs], Wed Feb 5 18:07:46 2003 UTC (10 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.595: +4 -2 lines
Diff to previous 1.595 (colored)

Add ${EXTRA_OBJ} so that pre-compiled .o's can be linked into the kernel.

Revision 1.595 / (download) - annotate - [select for diffs], Tue Feb 4 01:21:03 2003 UTC (10 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.594: +2 -1 lines
Diff to previous 1.594 (colored)

New callout implementation.  This is based on callwheel implementation
done by Artur Grabowski and Thomas Nordin for OpenBSD, which is more
efficient in several ways than the callwheel implementation that it is
replacing.  It has been adapted to our pre-existing callout API, and
also provides the slightly more efficient (and much more intuitive)
API (adapted to the callout_*() naming scheme) that the OpenBSD version
provides.

Among other things, this shaves a bunch of cycles off rescheduling-in-
the-future a callout which is already scheduled, which the common case
for TCP timers (notably REXMT and KEEP).

The API has been simplified a bit, as well.  The (very confusing to
a good many people) "ACTIVE" state for callouts has gone away.  There
is now only "PENDING" (scheduled to fire in the future) and "EXPIRED"
(has fired, and the function called).

Kernel version bump not done; we'll ride the 1.6N bump that happened
with the malloc(9) change.

Revision 1.594 / (download) - annotate - [select for diffs], Mon Feb 3 23:02:42 2003 UTC (10 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.593: +2 -1 lines
Diff to previous 1.593 (colored)

Allow "the forcing of root on md0a to single user" to be overriden by using
options MEMORY_RBFLAGS=0    (XXX forcing to single user needs to die).

Revision 1.593 / (download) - annotate - [select for diffs], Fri Jan 31 21:57:23 2003 UTC (10 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.592: +2 -1 lines
Diff to previous 1.592 (colored)

Changes to allow machines which don't use text mode at the boot time
to use generic VGA driver(s):
- Allow VGA drivers to use wsfont instead of builtin font.
- Add vga_reset() function, which will be called from MD consinit(),
  to put VGA into text mode. This function is enabled by options VGA_RESET.

Revision 1.592 / (download) - annotate - [select for diffs], Mon Jan 20 20:02:01 2003 UTC (10 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.591: +3 -1 lines
Diff to previous 1.591 (colored)

add support for p1003.1b semaphores. From FreeBSD.

Revision 1.591 / (download) - annotate - [select for diffs], Mon Jan 20 02:42:58 2003 UTC (10 years, 4 months ago) by soren
Branch: MAIN
Changes since 1.590: +1 -2 lines
Diff to previous 1.590 (colored)

Remove unintentional change from previous.

Revision 1.590 / (download) - annotate - [select for diffs], Mon Jan 20 01:26:15 2003 UTC (10 years, 4 months ago) by soren
Branch: MAIN
Changes since 1.589: +7 -1 lines
Diff to previous 1.589 (colored)

Attachment for the HD44780 display and keypad on the front of Cobalt machines.

Revision 1.589 / (download) - annotate - [select for diffs], Sat Jan 18 22:39:21 2003 UTC (10 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.588: +2 -1 lines
Diff to previous 1.588 (colored)

add compat_ossaudio

Revision 1.588 / (download) - annotate - [select for diffs], Sat Jan 18 08:51:40 2003 UTC (10 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.587: +3 -1 lines
Diff to previous 1.587 (colored)

Merge the nathanw_sa branch.

Revision 1.587 / (download) - annotate - [select for diffs], Thu Dec 26 12:31:24 2002 UTC (10 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.586: +2 -2 lines
Diff to previous 1.586 (colored)

move msdosfs code from sys/msdosfs to sys/fs/msdosfs

Revision 1.586 / (download) - annotate - [select for diffs], Mon Dec 23 17:52:03 2002 UTC (10 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.585: +2 -2 lines
Diff to previous 1.585 (colored)

move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660

Revision 1.585 / (download) - annotate - [select for diffs], Mon Dec 23 17:38:19 2002 UTC (10 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.584: +2 -2 lines
Diff to previous 1.584 (colored)

move NTFS code from sys/ntfs to sys/fs/ntfs

Revision 1.584 / (download) - annotate - [select for diffs], Mon Dec 23 17:30:36 2002 UTC (10 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.583: +2 -2 lines
Diff to previous 1.583 (colored)

move filecorefs code from sys/filecorefs to sys/fs/filecorefs

Revision 1.583 / (download) - annotate - [select for diffs], Mon Dec 23 17:15:20 2002 UTC (10 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.582: +2 -2 lines
Diff to previous 1.582 (colored)

move adosfs files from sys/adosfs to sys/fs/adosfs

Revision 1.582 / (download) - annotate - [select for diffs], Wed Dec 4 00:28:39 2002 UTC (10 years, 5 months ago) by haya
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.581: +6 -1 lines
Diff to previous 1.581 (colored)

New Feature: add pseudo device for IEEE 1394 isochronous stream and
isochronous reception routine for IEEE 1394 OHCI (fwohci).  The
transmission part is under construction.

The minimum configuration options for this feature are:

# IEEE 1394 (i.LINK)
fwohci*	at pci? dev ? function ?
pseudo-device	fwiso		1

Revision 1.581 / (download) - annotate - [select for diffs], Tue Nov 19 04:11:05 2002 UTC (10 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.580: +3 -2 lines
Diff to previous 1.580 (colored)

Add COMPAT_15, mips need this.

Revision 1.580 / (download) - annotate - [select for diffs], Tue Nov 12 23:40:19 2002 UTC (10 years, 6 months ago) by manu
Branch: MAIN
Changes since 1.579: +2 -1 lines
Diff to previous 1.579 (colored)

The kernel now builds with COMPAT_DARWIN.

Revision 1.579 / (download) - annotate - [select for diffs], Thu Nov 7 21:56:57 2002 UTC (10 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.578: +5 -1 lines
Diff to previous 1.578 (colored)

Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller,
provided by Peter Bex in PR 18675.

Revision 1.578 / (download) - annotate - [select for diffs], Tue Nov 5 13:22:33 2002 UTC (10 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.577: +2 -2 lines
Diff to previous 1.577 (colored)

- do the COMPAT_16 dance in sysctl_diskstats() for the where == NULL case
  as well.  pointed out by enami@.
- defflag COMPAT_16.

Revision 1.577 / (download) - annotate - [select for diffs], Mon Nov 4 06:24:41 2002 UTC (10 years, 6 months ago) by itohy
Branch: MAIN
Changes since 1.576: +2 -2 lines
Diff to previous 1.576 (colored)

Dump DDB_* and SYMTAB_SPACE options to opt_ddbparam.h rather than opt_ddb.h.
These options are used in limited files but #include "opt_ddb.h" are
everywhere, and changing them caused almost full recompilation.

Revision 1.576 / (download) - annotate - [select for diffs], Tue Oct 29 12:31:21 2002 UTC (10 years, 6 months ago) by blymn
Branch: MAIN
Changes since 1.575: +6 -1 lines
Diff to previous 1.575 (colored)

Added support for fingerprinted executables aka verified exec

Revision 1.575 / (download) - annotate - [select for diffs], Fri Oct 25 21:03:47 2002 UTC (10 years, 7 months ago) by leo
Branch: MAIN
Changes since 1.574: +12 -5 lines
Diff to previous 1.574 (colored)

Fritz!PCI v2.0 ISDN driver from FreeBSD.

Revision 1.574 / (download) - annotate - [select for diffs], Wed Oct 23 09:12:56 2002 UTC (10 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.573: +2 -1 lines
Diff to previous 1.573 (colored)

merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.573 / (download) - annotate - [select for diffs], Fri Oct 18 14:31:10 2002 UTC (10 years, 7 months ago) by junyoung
Branch: MAIN
CVS Tags: kqueue-beforemerge
Changes since 1.572: +3 -1 lines
Diff to previous 1.572 (colored)

Add option NEW_BUFQ_STRATEGY, a new buffer queue strategy for better
system responsiness under high disk I/O load.

OK'ed by Juergen Hannken-Illjes.

Revision 1.572 / (download) - annotate - [select for diffs], Tue Oct 15 18:14:41 2002 UTC (10 years, 7 months ago) by junyoung
Branch: MAIN
Changes since 1.571: +5 -3 lines
Diff to previous 1.571 (colored)

Add VGA raster graphics console driver. It is written as an extension
to char-cell based vga(4) driver, and fully compatible with existing
apps like XFree86. Currently it supports 80x25, 80x30, 80x40 and 80x50
text modes using emulation. You can enable it by specifying `options
VGA_RASTERCONSOLE' in your kernel config file.

Note that displaying multilingual text doesn't work yet. Necessary
code is already there, but userland stuff and some functionality isn't
ready for prime time yet. I'm working on them.

Revision 1.571 / (download) - annotate - [select for diffs], Tue Oct 15 17:30:43 2002 UTC (10 years, 7 months ago) by junyoung
Branch: MAIN
Changes since 1.570: +2 -1 lines
Diff to previous 1.570 (colored)

Move vga_common_probe() to vga_common.c. vga_common.c contains common
stuff between existing char-cell VGA driver and raster VGA driver to
come shortly.

Revision 1.570 / (download) - annotate - [select for diffs], Fri Oct 11 01:52:04 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.569: +13 -16 lines
Diff to previous 1.569 (colored)

* Move config defns for the crypto algorithms into their own files.
  Define an attribute for each crypto algorithm, and use that attribute
  to select the files that implement the algorithm.
* Give the "wlan" attribute a dependency on the "arc4" attribute.
* Give the "cgd" pseudo-device the "des", "blowfish", "cast128", and
  "rijndael" attributes.
* Use the new attribute-as-option-dependencies feature of config(8) to
  give the IPSEC_ESP option dependencies on the "des", "blowfish", "cast128",
  and "rijndael" attributes.

Revision 1.569 / (download) - annotate - [select for diffs], Fri Oct 11 01:00:35 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.568: +4 -4 lines
Diff to previous 1.568 (colored)

* Don't make IPKDB an option-dependency of IPKDB_DP8390 (IPKDB_DP8390
  does not "imply" IPKDB ... it is merely an IPKDB parameter).
* Place IPKDB-related selectors in lower-case.

Revision 1.568 / (download) - annotate - [select for diffs], Thu Oct 10 23:04:33 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.567: +2 -13 lines
Diff to previous 1.567 (colored)

Move netns config defns to netns/files.netns.

Revision 1.567 / (download) - annotate - [select for diffs], Thu Oct 10 22:58:49 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.566: +2 -5 lines
Diff to previous 1.566 (colored)

Move netnatm config defns to netnatm/files.netnatm.

Revision 1.566 / (download) - annotate - [select for diffs], Thu Oct 10 22:56:03 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.565: +2 -37 lines
Diff to previous 1.565 (colored)

Move netiso config defns to netiso/files.netiso.

Revision 1.565 / (download) - annotate - [select for diffs], Thu Oct 10 22:45:45 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.564: +13 -84 lines
Diff to previous 1.564 (colored)

Move netinet, netinet6, ipsec, and ipfilter config defns to
netinet/files.ipfilter, etinet/files.netinet, netinet6/files.netinet6,
and netinet6/files.netipsec.

XXX There are still a few stragglers in conf/files, which are entangled
with other network protocols.

Revision 1.564 / (download) - annotate - [select for diffs], Thu Oct 10 22:17:59 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.563: +2 -23 lines
Diff to previous 1.563 (colored)

Move netccitt config defns to netccitt/files.netccitt.

Revision 1.563 / (download) - annotate - [select for diffs], Thu Oct 10 22:12:53 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.562: +5 -2 lines
Diff to previous 1.562 (colored)

Oops, missed include in the last.

Revision 1.562 / (download) - annotate - [select for diffs], Thu Oct 10 22:10:52 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.561: +1 -9 lines
Diff to previous 1.561 (colored)

Move netatalk config defns to netatalk/files.netatalk.

Revision 1.561 / (download) - annotate - [select for diffs], Thu Oct 10 22:07:44 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.560: +1 -9 lines
Diff to previous 1.560 (colored)

Move IR and Bluetooth config defns missed in previous commit.

Revision 1.560 / (download) - annotate - [select for diffs], Thu Oct 10 21:56:50 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.559: +3 -9 lines
Diff to previous 1.559 (colored)

Move IPKDB config defns to ipkdb/files.ipkdb.

Revision 1.559 / (download) - annotate - [select for diffs], Thu Oct 10 21:52:28 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.558: +6 -17 lines
Diff to previous 1.558 (colored)

Move IR and Bluetooth config defns to their own files.

Revision 1.558 / (download) - annotate - [select for diffs], Wed Oct 9 20:23:56 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.557: +3 -2 lines
Diff to previous 1.557 (colored)

Define a "scsi_core" attribute.  Make the "scsi" attribute depend on
"scsi_core".  Make all the files previously selected by the "scsi"
attribute selected by the "scsi_core" attribute.  Give the "scsibus"
device the "scsi_core" attribute.

Revision 1.557 / (download) - annotate - [select for diffs], Sat Oct 5 15:16:10 2002 UTC (10 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.556: +6 -1 lines
Diff to previous 1.556 (colored)

Overhaul of fmv(4) driver:
- Split if_fmv.c into MI/MD part and add ISA-PnP attachment for FMV-183.
  (XXX FMV-184 is not tested. It would require extra media-select functions..)
- Fix probe functions of fmv_isa so that FMV-181A/182A will also match.
  Fixes port-i386/9476.

Revision 1.556 / (download) - annotate - [select for diffs], Fri Oct 4 23:04:53 2002 UTC (10 years, 7 months ago) by elric
Branch: MAIN
Changes since 1.555: +5 -5 lines
Diff to previous 1.555 (colored)

cgd should be able to work with or without ipsec.

Revision 1.555 / (download) - annotate - [select for diffs], Fri Oct 4 18:25:51 2002 UTC (10 years, 7 months ago) by elric
Branch: MAIN
Changes since 1.554: +13 -7 lines
Diff to previous 1.554 (colored)

add in the cgd.

Revision 1.554 / (download) - annotate - [select for diffs], Fri Oct 4 15:22:27 2002 UTC (10 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.553: +1 -2 lines
Diff to previous 1.553 (colored)

- Merge dev/ic/ate_subr.c into dev/ic/mb86960.c since it only has EEPROM
  read function which can also be used for other MB86965 based boards.
- Rewrite EEPROM read function as per 93C06 EEPROM datasheet.
- Misc cleanup.

Revision 1.553 / (download) - annotate - [select for diffs], Mon Sep 30 06:50:39 2002 UTC (10 years, 7 months ago) by onoe
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.552: +2 -4 lines
Diff to previous 1.552 (colored)

Jumbo commit for wi driver.
- Eliminate wi_hostap.c since most of the code are duplicated with
  net/if_ieee80211subr.c
- Station for Infrastructure network and IBSS also use service functions
  as much as possible to be consistent with other wireless drivers.
Now WEP works for station/ibss/hostap.

Revision 1.552 / (download) - annotate - [select for diffs], Wed Sep 25 22:27:38 2002 UTC (10 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.551: +1 -2 lines
Diff to previous 1.551 (colored)

Garbage-collect the old rmap code.

Revision 1.551 / (download) - annotate - [select for diffs], Tue Sep 24 18:17:24 2002 UTC (10 years, 8 months ago) by uwe
Branch: MAIN
Changes since 1.550: +2 -1 lines
Diff to previous 1.550 (colored)

Add some preliminary support for setting up the CyberPro in Netwinder.
Setup sequence obtained from Krups OFW with some CyberPro-specific
magic from Linux driver.  The driver still has a lot of hardcoded
stuff, but it is useful enough to bring up wscons on netwinder.

XXX: Proper console attachment needs to be written (the driver was
originally developed on sparc, where our approach to attaching console
is totally different).

Caveat emptor!

Revision 1.550 / (download) - annotate - [select for diffs], Fri Sep 6 13:22:56 2002 UTC (10 years, 8 months ago) by gehenna
Branch: MAIN
Changes since 1.549: +2 -1 lines
Diff to previous 1.549 (colored)

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.549 / (download) - annotate - [select for diffs], Wed Aug 28 07:19:58 2002 UTC (10 years, 8 months ago) by gmcgarry
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.548: +2 -1 lines
Diff to previous 1.548 (colored)

add kern_ras.c

Revision 1.548 / (download) - annotate - [select for diffs], Sat Aug 24 17:28:58 2002 UTC (10 years, 9 months ago) by augustss
Branch: MAIN
Changes since 1.547: +9 -1 lines
Diff to previous 1.547 (colored)

Add btbus, an attribute for Bluetooth.

Revision 1.547 / (download) - annotate - [select for diffs], Wed Aug 21 05:13:36 2002 UTC (10 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.546: +2 -2 lines
Diff to previous 1.546 (colored)

Make use of page loaning for large socket writes the default.  The
SOSEND_NO_LOAN option can be used to go back to the old behavior.

Revision 1.546 / (download) - annotate - [select for diffs], Sun Aug 11 17:00:04 2002 UTC (10 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.545: +3 -2 lines
Diff to previous 1.545 (colored)

While the "wi" is a wlan device, it does not currently use any code
from if_ieee80211subr.c, since "wi" devices implement the 802.11
protocol in firmware (for the most part).  So, remove the wlan attribute,
which saves a fair bit of kernel text.

Revision 1.545 / (download) - annotate - [select for diffs], Sun Aug 11 13:17:55 2002 UTC (10 years, 9 months ago) by isaki
Branch: MAIN
Changes since 1.544: +6 -1 lines
Diff to previous 1.544 (colored)

Add driver for ScanLogic SL811HS/T USB Host Controller.
XXX It's experimental code yet.

For x68k: USB part of Nereid USB/Ethernet/memory board
For ISA:  ISA USB Host board from Morphy planning

Revision 1.544 / (download) - annotate - [select for diffs], Sun Aug 11 12:09:44 2002 UTC (10 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.543: +2 -1 lines
Diff to previous 1.543 (colored)

pull in wi_hostap.c to make the kernel link again

Revision 1.543 / (download) - annotate - [select for diffs], Wed Aug 7 05:16:21 2002 UTC (10 years, 9 months ago) by briggs
Branch: MAIN
Changes since 1.542: +6 -1 lines
Diff to previous 1.542 (colored)

Implement pmc(9) -- An interface to hardware performance monitoring
counters.  These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.

pmc(9) is meant to be a general interface.  Initially, the Intel XScale
counters are the only ones supported.

Revision 1.542 / (download) - annotate - [select for diffs], Fri Aug 2 00:32:12 2002 UTC (10 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.541: +6 -1 lines
Diff to previous 1.541 (colored)

Add dmover(9) glue.

Revision 1.541 / (download) - annotate - [select for diffs], Sun Jul 7 15:09:52 2002 UTC (10 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.540: +2 -1 lines
Diff to previous 1.540 (colored)

put the "VGA_CONSOLE_SCREENTYPE" parameter into opt_vga.h

Revision 1.540 / (download) - annotate - [select for diffs], Tue Jul 2 20:27:45 2002 UTC (10 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.539: +2 -1 lines
Diff to previous 1.539 (colored)

add KSTACK_CHECK_MAGIC. discussed on tech-kern.

Revision 1.539 / (download) - annotate - [select for diffs], Fri Jun 28 23:27:13 2002 UTC (10 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.538: +5 -1 lines
Diff to previous 1.538 (colored)

This is the "kttcp" network throughput testing pseudo-device.  From
the block comment at the top of the file:

      This module provides kernel support for testing network
      throughput from the perspective of the kernel.  It is
      similar in spirit to the classic ttcp network benchmark
      program, the main difference being that with kttcp, the
      kernel is the source and sink of the data.

      Testing like this is useful for a few reasons:

      1. This allows us to know what kind of performance we can
         expect from network applications that run in the kernel
         space, such as the NFS server or the NFS client.  These
         applications don't have to move the data to/from userspace,
         and so benchmark programs which run in userspace don't
         give us an accurate model.

      2. Since data received is just thrown away, the receiver
         is very fast.  This can provide better exercise for the
         sender at the other end.

      3. Since the NetBSD kernel currently uses a run-to-completion
         scheduling model, kttcp provides a benchmark model where
         preemption of the benchmark program is not an issue.

There is a companion "kttcp" user program which uses the kttcp
pseudo-device.

Largely written by Frank van der Linden, with some modifications
from me.

Revision 1.538 / (download) - annotate - [select for diffs], Fri Jun 28 22:32:58 2002 UTC (10 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.537: +2 -2 lines
Diff to previous 1.537 (colored)

whitespace

Revision 1.537 / (download) - annotate - [select for diffs], Thu Jun 27 06:26:51 2002 UTC (10 years, 10 months ago) by junyoung
Branch: MAIN
Changes since 1.536: +2 -1 lines
Diff to previous 1.536 (colored)

- Work around a hardware bug that loaded fonts don't work, which is
  found on many (all?) of PCI-based ATI graphics cards. It is fully optional
  and can be enabled by adding `options VGA_CONSOLE_ATI_BROKEN_FONTSEL'
  to config file.
- Temporarily remove `quirk' mechanism. Similar code already exists
  in pci_quirks.c.

Revision 1.536 / (download) - annotate - [select for diffs], Mon Jun 24 08:06:20 2002 UTC (10 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.535: +1 -2 lines
Diff to previous 1.535 (colored)

integrate IEEE1394 ARP into generic ARP logic.
XXX there's no check at all in ar_hrd, and we don't set ar_hrd on outgoing.
it seems like a bad thing.

Revision 1.535 / (download) - annotate - [select for diffs], Tue Jun 18 00:33:57 2002 UTC (10 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.534: +2 -2 lines
Diff to previous 1.534 (colored)

Only build kern_systrace.c if the SYSTRACE option is used.

Revision 1.534 / (download) - annotate - [select for diffs], Mon Jun 17 16:24:57 2002 UTC (10 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.533: +3 -1 lines
Diff to previous 1.533 (colored)

systrace support.

Revision 1.533 / (download) - annotate - [select for diffs], Sat Jun 8 21:22:29 2002 UTC (10 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.532: +1 -2 lines
Diff to previous 1.532 (colored)

sync with latest KAME in6_ifaddr/prefix/default router manipulation.
behavior changes:
- two iocts used by ndp(8) are now obsolete (backward compat provided).
  use sysctl path instead.
- lo0 does not get ::1 automatically.  it will get ::1 when lo0 comes up.

Revision 1.532 / (download) - annotate - [select for diffs], Thu Jun 6 23:54:48 2002 UTC (10 years, 11 months ago) by wrstuden
Branch: MAIN
Changes since 1.531: +2 -1 lines
Diff to previous 1.531 (colored)

defparam BPF_BUFSIZE

Revision 1.531 / (download) - annotate - [select for diffs], Wed May 22 05:49:57 2002 UTC (11 years ago) by simonb
Branch: MAIN
Changes since 1.530: +2 -2 lines
Diff to previous 1.530 (colored)

Fix space/tab indentation nit.

Revision 1.530 / (download) - annotate - [select for diffs], Tue May 21 03:05:00 2002 UTC (11 years ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6
Changes since 1.529: +3 -3 lines
Diff to previous 1.529 (colored)

Rename a cpc device.

Revision 1.529 / (download) - annotate - [select for diffs], Tue May 21 03:01:02 2002 UTC (11 years ago) by augustss
Branch: MAIN
Changes since 1.528: +18 -1 lines
Diff to previous 1.528 (colored)

Add stuff for the CPC700.

Revision 1.528 / (download) - annotate - [select for diffs], Sat May 18 07:23:04 2002 UTC (11 years ago) by matt
Branch: MAIN
Changes since 1.527: +6 -1 lines
Diff to previous 1.527 (colored)

Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
driver to added latter.

Revision 1.527 / (download) - annotate - [select for diffs], Thu May 9 15:44:44 2002 UTC (11 years ago) by thorpej
Branch: MAIN
Branch point for: gehenna-devsw
Changes since 1.526: +1 -4 lines
Diff to previous 1.526 (colored)

Move code shared by procfs and the kernel proper out of procfs and
into the kernel proper (renaming functions from procfs_* to process_*).

Revision 1.526 / (download) - annotate - [select for diffs], Fri May 3 17:58:28 2002 UTC (11 years ago) by thorpej
Branch: MAIN
Changes since 1.525: +1 -7 lines
Diff to previous 1.525 (colored)

Revert revision 1.525.

Revision 1.525 / (download) - annotate - [select for diffs], Fri May 3 00:06:56 2002 UTC (11 years ago) by eeh
Branch: MAIN
Changes since 1.524: +7 -1 lines
Diff to previous 1.524 (colored)

Provide _LP64 definition if we are generating LP64 binaries.

Revision 1.524 / (download) - annotate - [select for diffs], Thu May 2 17:55:48 2002 UTC (11 years ago) by thorpej
Branch: MAIN
Changes since 1.523: +4 -1 lines
Diff to previous 1.523 (colored)

Add some experimental page-loaning for writes on sockets.  It is disabled
by default, and can be enabled by adding the SOSEND_LOAN option to your
kernel config.  The SOSEND_COUNTERS option can be used to provide some
instrumentation.

Use of this option, combined with an application that does large enough
writes, gets us zero-copy on the TCP and UDP transmit path.

Revision 1.523 / (download) - annotate - [select for diffs], Fri Apr 26 02:05:09 2002 UTC (11 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.522: +9 -1 lines
Diff to previous 1.522 (colored)

Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.

Revision 1.522 / (download) - annotate - [select for diffs], Tue Apr 23 06:48:47 2002 UTC (11 years, 1 month ago) by manu
Branch: MAIN
Changes since 1.521: +2 -1 lines
Diff to previous 1.521 (colored)

Added IRIX /dev/usema and dev/usemaclone (void driver for now, will be
filled later)

Revision 1.521 / (download) - annotate - [select for diffs], Mon Apr 22 21:05:22 2002 UTC (11 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.520: +13 -1 lines
Diff to previous 1.520 (colored)

Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.

Revision 1.520 / (download) - annotate - [select for diffs], Mon Apr 22 13:03:06 2002 UTC (11 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.519: +5 -1 lines
Diff to previous 1.519 (colored)

Add spic.

Revision 1.519 / (download) - annotate - [select for diffs], Mon Apr 22 09:41:21 2002 UTC (11 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.518: +4 -4 lines
Diff to previous 1.518 (colored)

Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.

Revision 1.518 / (download) - annotate - [select for diffs], Sun Apr 21 22:52:05 2002 UTC (11 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.517: +4 -1 lines
Diff to previous 1.517 (colored)

First cut at a esiop driver (enhanced siop). Doesn't implement tagged queuing
yet.
If is restricted to SIOP which implement the load/store instruction, and
has 10 scratch registers (basically, 825 and newer, possibly 770).
It implements a different interface between host and script, using a real
ring for command starts, and improved support for reconnect which will allow
256 tag per device. It uses interrupt on the fly to signal complete command,
which allows several commands to be serviced per interrupt and doesn't require
the script to stop to signal command completion.

Revision 1.517 / (download) - annotate - [select for diffs], Thu Apr 18 12:04:05 2002 UTC (11 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.516: +2 -1 lines
Diff to previous 1.516 (colored)

defflag SIOP_SYMLED.

Revision 1.516 / (download) - annotate - [select for diffs], Tue Apr 16 23:14:05 2002 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.515: +29 -159 lines
Diff to previous 1.515 (colored)

Cleanup how file system configuration information is declared, grouping
related information together, with the file system code itself.

This is just low-hanging fruit -- more to come.

Revision 1.515 / (download) - annotate - [select for diffs], Tue Apr 16 21:27:13 2002 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.514: +6 -20 lines
Diff to previous 1.514 (colored)

Move ALTQ configuration definitions into altq/files.altq

Revision 1.514 / (download) - annotate - [select for diffs], Tue Apr 16 21:00:27 2002 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.513: +4 -7 lines
Diff to previous 1.513 (colored)

Move sysmon configuration definitions to dev/sysmon/files.sysmon.

Revision 1.513 / (download) - annotate - [select for diffs], Tue Apr 16 20:50:16 2002 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.512: +6 -10 lines
Diff to previous 1.512 (colored)

* Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
  the magic "files include order" dance in N machine-dependent
  configuration definitions.

Revision 1.512 / (download) - annotate - [select for diffs], Tue Apr 16 20:33:00 2002 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.511: +6 -67 lines
Diff to previous 1.511 (colored)

Centralize the RAIDframe config definitions.

Revision 1.511 / (download) - annotate - [select for diffs], Sun Apr 7 06:54:35 2002 UTC (11 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.510: +2 -2 lines
Diff to previous 1.510 (colored)

No need to explicitly list vlan or ppppoe for if_ethersubr.c, both already
use attribute "ether" which will be enough to pull in if_ethersubr.c

Revision 1.510 / (download) - annotate - [select for diffs], Tue Apr 2 10:11:50 2002 UTC (11 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.509: +6 -1 lines
Diff to previous 1.509 (colored)

Provide a definition for sbp2

Revision 1.509 / (download) - annotate - [select for diffs], Tue Apr 2 05:30:52 2002 UTC (11 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.508: +2 -2 lines
Diff to previous 1.508 (colored)

Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...

Revision 1.508 / (download) - annotate - [select for diffs], Sat Mar 30 20:21:21 2002 UTC (11 years, 1 month ago) by uwe
Branch: MAIN
Changes since 1.507: +4 -4 lines
Diff to previous 1.507 (colored)

Add (unfinished) igsfb driver.

While here g/c stale cprofb entry, it's not in the tree and I plan to
support CyberPro cards with igsfb driver eventually (where is my netwinder?)

Revision 1.507 / (download) - annotate - [select for diffs], Thu Mar 28 11:56:32 2002 UTC (11 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.506: +2 -2 lines
Diff to previous 1.506 (colored)

`mk48txx' no longer needs a flag.

Revision 1.506 / (download) - annotate - [select for diffs], Mon Mar 25 16:39:53 2002 UTC (11 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.505: +4 -4 lines
Diff to previous 1.505 (colored)

Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.

Revision 1.505 / (download) - annotate - [select for diffs], Sun Mar 24 20:35:44 2002 UTC (11 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.504: +1 -2 lines
Diff to previous 1.504 (colored)

Now that we have all the pieces of the puzzle available start to unriddle
and move them in their proper places.

Move the BRI registry from layer 2 (duh!) to layer 4, so active cards
(which don't have layer 3 or layer 2 in their driver). Remove all remaining
hard coded controller and driver types. Remove any arbitrary hard coded
limits, at least those that show up in the internal API.

This fixes PR 15950.

Revision 1.504 / (download) - annotate - [select for diffs], Sun Mar 24 17:09:26 2002 UTC (11 years, 2 months ago) by manu
Branch: MAIN
Changes since 1.503: +2 -1 lines
Diff to previous 1.503 (colored)

Aded missing irix_keme pseudodevice declaration

Revision 1.503 / (download) - annotate - [select for diffs], Sat Mar 23 09:40:55 2002 UTC (11 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.502: +2 -2 lines
Diff to previous 1.502 (colored)

rename EXEC_ELF_CATCHALL to EXEC_ELF_NOTELESS

Revision 1.502 / (download) - annotate - [select for diffs], Sat Mar 16 16:56:02 2002 UTC (11 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.501: +26 -25 lines
Diff to previous 1.501 (colored)

Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).

Revision 1.501 / (download) - annotate - [select for diffs], Sun Mar 10 19:56:48 2002 UTC (11 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.500: +2 -4 lines
Diff to previous 1.500 (colored)

* rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
  are now consistently named
* fold opt_mdsize.h into opt_md.h

Revision 1.500 / (download) - annotate - [select for diffs], Sat Mar 9 21:21:57 2002 UTC (11 years, 2 months ago) by kent
Branch: MAIN
CVS Tags: newlock-base
Branch point for: newlock
Changes since 1.499: +3 -1 lines
Diff to previous 1.499 (colored)

Add aurateconv attribute.

Revision 1.499 / (download) - annotate - [select for diffs], Mon Mar 4 13:24:11 2002 UTC (11 years, 2 months ago) by sommerfeld
Branch: MAIN
Changes since 1.498: +1 -3 lines
Diff to previous 1.498 (colored)

The "gif*" tunnelling interface does everything ipip does.
Move usage example from ipip.4 to gif.4
Excise ipip and stitch up the scars.

Revision 1.498 / (download) - annotate - [select for diffs], Wed Feb 27 05:03:24 2002 UTC (11 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: ifpoll-base, ifpoll
Changes since 1.497: +6 -1 lines
Diff to previous 1.497 (colored)

Add definition for ieee1212/p1212

Revision 1.497 / (download) - annotate - [select for diffs], Wed Feb 27 01:16:30 2002 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.496: +2 -1 lines
Diff to previous 1.496 (colored)

Add mm.c

Revision 1.496 / (download) - annotate - [select for diffs], Thu Feb 21 22:23:33 2002 UTC (11 years, 3 months ago) by mjacob
Branch: MAIN
Changes since 1.495: +2 -1 lines
Diff to previous 1.495 (colored)

Add ISP_FW_CRASH_DUMP option for isp.

Revision 1.495 / (download) - annotate - [select for diffs], Mon Feb 11 18:11:41 2002 UTC (11 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.494: +2 -3 lines
Diff to previous 1.494 (colored)

Switch default for pipes to the faster John S. Dyson's implementation.
Old, socketpair-based ones are available with option PIPE_SOCKETPAIR.

Revision 1.494 / (download) - annotate - [select for diffs], Mon Feb 11 18:03:00 2002 UTC (11 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.493: +2 -2 lines
Diff to previous 1.493 (colored)

use opt_pipe.h for PIPE_SOCKETPAIR, add PIPE_NODIRECT there too

Revision 1.493 / (download) - annotate - [select for diffs], Sat Feb 2 18:37:44 2002 UTC (11 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.492: +5 -1 lines
Diff to previous 1.492 (colored)

Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.

Revision 1.492 / (download) - annotate - [select for diffs], Sun Jan 27 10:28:20 2002 UTC (11 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.491: +2 -1 lines
Diff to previous 1.491 (colored)

add defflag PIPE_SOCKETPAIR

Revision 1.491 / (download) - annotate - [select for diffs], Tue Jan 15 12:10:50 2002 UTC (11 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.490: +2 -2 lines
Diff to previous 1.490 (colored)

order dev/clockctl.c appropriately

Revision 1.490 / (download) - annotate - [select for diffs], Wed Jan 9 18:01:38 2002 UTC (11 years, 4 months ago) by deberg
Branch: MAIN
Changes since 1.489: +8 -1 lines
Diff to previous 1.489 (colored)

add smbfs files

Revision 1.489 / (download) - annotate - [select for diffs], Mon Jan 7 17:44:42 2002 UTC (11 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.488: +3 -3 lines
Diff to previous 1.488 (colored)

"attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.

Revision 1.488 / (download) - annotate - [select for diffs], Fri Jan 4 02:42:23 2002 UTC (11 years, 4 months ago) by deberg
Branch: MAIN
Changes since 1.487: +14 -1 lines
Diff to previous 1.487 (colored)

netsmb

Revision 1.487 / (download) - annotate - [select for diffs], Tue Jan 1 21:51:39 2002 UTC (11 years, 4 months ago) by augustss
Branch: MAIN
Changes since 1.486: +15 -2 lines
Diff to previous 1.486 (colored)

Add support for radio cards.  Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.

Revision 1.486 / (download) - annotate - [select for diffs], Mon Dec 17 15:40:43 2001 UTC (11 years, 5 months ago) by atatat
Branch: MAIN
Changes since 1.485: +3 -1 lines
Diff to previous 1.485 (colored)

Provide hooks to include the config file(s) in the kernel binary.

Revision 1.485 / (download) - annotate - [select for diffs], Sun Dec 16 00:22:43 2001 UTC (11 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.484: +6 -1 lines
Diff to previous 1.484 (colored)

if_media support for the DP83905 AT/LANTIC (a souped-up DP8390).

Revision 1.484 / (download) - annotate - [select for diffs], Sat Dec 15 17:47:34 2001 UTC (11 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.483: +7 -1 lines
Diff to previous 1.483 (colored)

Add code to support the bugged Macronix MX98905 chip, as used in several
podulebus Ethernet cards.  This replaces the NE2000 memory-access routines
with ones that don't try to transfer more than 255 bytes at a time.

This code should perhaps be merged into ne2000.c, but presumably most NE2000
clones won't need it.

Revision 1.483 / (download) - annotate - [select for diffs], Mon Dec 10 22:36:21 2001 UTC (11 years, 5 months ago) by uwe
Branch: MAIN
Changes since 1.482: +2 -2 lines
Diff to previous 1.482 (colored)

mk48txx needs-flag to allow sparc's clock.c to be compiled without
mostek support that pulls in a lot of other stuff too.

Revision 1.482 / (download) - annotate - [select for diffs], Sun Dec 9 23:18:09 2001 UTC (11 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.481: +3 -1 lines
Diff to previous 1.481 (colored)

Build core_elf32.c if EXEC_ELF32.  Build core_elf64.c if EXEC_ELF64.

Revision 1.481 / (download) - annotate - [select for diffs], Sat Dec 8 00:35:28 2001 UTC (11 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.480: +2 -1 lines
Diff to previous 1.480 (colored)

Make the coredump routine exec-format/emulation specific.  Split
out traditional NetBSD coredump routines into core_netbsd.c and
netbsd32_core.c (for COMPAT_NETBSD32).

Revision 1.480 / (download) - annotate - [select for diffs], Wed Dec 5 14:50:13 2001 UTC (11 years, 5 months ago) by augustss
Branch: MAIN
Changes since 1.479: +4 -2 lines
Diff to previous 1.479 (colored)

Break out SIR framing to its own file.

Revision 1.479 / (download) - annotate - [select for diffs], Wed Dec 5 04:05:37 2001 UTC (11 years, 5 months ago) by augustss
Branch: MAIN
Changes since 1.478: +5 -5 lines
Diff to previous 1.478 (colored)

Make the right defaults for kbdmux and mux locators.

Revision 1.478 / (download) - annotate - [select for diffs], Mon Dec 3 23:28:20 2001 UTC (11 years, 5 months ago) by augustss
Branch: MAIN
Changes since 1.477: +7 -5 lines
Diff to previous 1.477 (colored)

Add irframetty pseudo device for IrDA frames over tty.

Revision 1.477 / (download) - annotate - [select for diffs], Sun Dec 2 10:41:52 2001 UTC (11 years, 5 months ago) by augustss
Branch: MAIN
Changes since 1.476: +14 -1 lines
Diff to previous 1.476 (colored)

Add irbus (IrDA) and cir (Consumer Ir) and related file directives.

Revision 1.476 / (download) - annotate - [select for diffs], Wed Nov 28 17:40:57 2001 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.475: +2 -2 lines
Diff to previous 1.475 (colored)

and it is TCP_COMPAT_42 not CP_COMPAT_42, I am sharpening my bricks.

Revision 1.475 / (download) - annotate - [select for diffs], Wed Nov 28 17:39:22 2001 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.474: +2 -2 lines
Diff to previous 1.474 (colored)

it is MROUTING, not ROUTING...

Revision 1.474 / (download) - annotate - [select for diffs], Wed Nov 28 10:21:20 2001 UTC (11 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.473: +241 -228 lines
Diff to previous 1.473 (colored)

- convert usage of "defopt" to "defflag" where the relevant option does
  not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups

Revision 1.473 / (download) - annotate - [select for diffs], Wed Nov 28 01:13:21 2001 UTC (11 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.472: +125 -1 lines
Diff to previous 1.472 (colored)

add some empty comment lines to make this more readable (IMHO)

Revision 1.472 / (download) - annotate - [select for diffs], Tue Nov 27 00:50:46 2001 UTC (11 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.471: +2 -1 lines
Diff to previous 1.471 (colored)

defopt COMPAT_IRIX

Revision 1.471 / (download) - annotate - [select for diffs], Mon Nov 26 19:17:05 2001 UTC (11 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.470: +5 -1 lines
Diff to previous 1.470 (colored)

move dev/isa/cs89x0{.c,{var,reg}.h} into dev/ic
and split isadma parts into /dev/isa/cs89x0isa*.

Revision 1.470 / (download) - annotate - [select for diffs], Tue Nov 20 14:34:25 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.469: +44 -41 lines
Diff to previous 1.469 (colored)

- replace "defopt" with "defparam" for options which must take a value,
  as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h

Revision 1.469 / (download) - annotate - [select for diffs], Tue Nov 20 08:43:43 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.468: +6 -5 lines
Diff to previous 1.468 (colored)

- pull in opt_kgdb.h where necessary
- replace opt_kgdb_machdep.h with opt_kgdb.h
- defparam opt_kgdb.h:
	KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
- move from opt_ddbparam.h to opt_ddb.h:
	DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE
- replace KGDBDEV with KGDB_DEV
- replace KGDBADDR with KGDB_DEVADDR
- replace KGDBMODE with KGDB_DEVMODE
- replace KGDBRATE with KGDB_DEVRATE
- use `9600' instead of `0x2580' for 9600 baud rate
- use correct quotes for  options KGDB_DEVNAME="\"com\""
- use correct quotes for  options KGDB_DEV="17*256+0"
- remove unnecessary dependancy on Makefile for kgdb_stub.o
- minor whitespace cleanup

Revision 1.468 / (download) - annotate - [select for diffs], Fri Nov 2 18:39:06 2001 UTC (11 years, 6 months ago) by atatat
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.467: +3 -3 lines
Diff to previous 1.467 (colored)

The cloning devices only needs-flag, not needs-count

Revision 1.467 / (download) - annotate - [select for diffs], Sat Oct 13 13:32:20 2001 UTC (11 years, 7 months ago) by augustss
Branch: MAIN
Branch point for: thorpej-mips-cache
Changes since 1.466: +3 -3 lines
Diff to previous 1.466 (colored)

Add kbdmux locator to wsdisplays.

Revision 1.466 / (download) - annotate - [select for diffs], Thu Oct 4 19:05:32 2001 UTC (11 years, 7 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej-devvp-base3
Changes since 1.465: +2 -1 lines
Diff to previous 1.465 (colored)

Add kern/subr_prop.c.

Revision 1.465 / (download) - annotate - [select for diffs], Wed Oct 3 04:25:29 2001 UTC (11 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.464: +5 -1 lines
Diff to previous 1.464 (colored)

add a backend serial driver for the cirrus logic CL-CD180/1864/1865
8 port chip.  this is used in several sbus (sparc) serial boards, as
well as an 8 port isa card from riscom.  sio16 (sbus) frontend coming
shortly.

this is heavily based on the com and zs drivers.

Revision 1.464 / (download) - annotate - [select for diffs], Fri Sep 28 02:06:17 2001 UTC (11 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base2
Changes since 1.463: +2 -1 lines
Diff to previous 1.463 (colored)

Define an "acpibus" attribute, to which "acpi" can attach.

Revision 1.463 / (download) - annotate - [select for diffs], Tue Sep 18 09:09:57 2001 UTC (11 years, 8 months ago) by onoe
Branch: MAIN
Changes since 1.462: +2 -3 lines
Diff to previous 1.462 (colored)

Move IEEE 802.11 MAC management functions from awi driver to
if_ieee80211subr.c, which can be shared between any IEEE 802.11
drivers.
However, most of current working IEEE 802.11b wireless LAN cards
have rich firmware and we cannot have a control to management frames
for such cards.

IBSS creation is now supported for the awi driver.

Revision 1.462 / (download) - annotate - [select for diffs], Sun Sep 16 07:33:31 2001 UTC (11 years, 8 months ago) by manu
Branch: MAIN
Changes since 1.461: +3 -1 lines
Diff to previous 1.461 (colored)

Added the clockctl pseudodevice driver

Revision 1.461 / (download) - annotate - [select for diffs], Sun Sep 16 00:11:41 2001 UTC (11 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.460: +5 -1 lines
Diff to previous 1.460 (colored)

Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.

Revision 1.460 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:35 2001 UTC (11 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: post-chs-ubcperf
Changes since 1.459: +1 -2 lines
Diff to previous 1.459 (colored)

a whole bunch of changes to improve performance and robustness under load:

 - remove special treatment of pager_map mappings in pmaps.  this is
   required now, since I've removed the globals that expose the address range.
   pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
   no longer any need to special-case it.
 - eliminate struct uvm_vnode by moving its fields into struct vnode.
 - rewrite the pageout path.  the pager is now responsible for handling the
   high-level requests instead of only getting control after a bunch of work
   has already been done on its behalf.  this will allow us to UBCify LFS,
   which needs tighter control over its pages than other filesystems do.
   writing a page to disk no longer requires making it read-only, which
   allows us to write wired pages without causing all kinds of havoc.
 - use a new PG_PAGEOUT flag to indicate that a page should be freed
   on behalf of the pagedaemon when it's unlocked.  this flag is very similar
   to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
   pageout fails due to eg. an indirect-block buffer being locked.
   this allows us to remove the "version" field from struct vm_page,
   and together with shrinking "loan_count" from 32 bits to 16,
   struct vm_page is now 4 bytes smaller.
 - no longer use PG_RELEASED for swap-backed pages.  if the page is busy
   because it's being paged out, we can't release the swap slot to be
   reallocated until that write is complete, but unlike with vnodes we
   don't keep a count of in-progress writes so there's no good way to
   know when the write is done.  instead, when we need to free a busy
   swap-backed page, just sleep until we can get it busy ourselves.
 - implement a fast-path for extending writes which allows us to avoid
   zeroing new pages.  this substantially reduces cpu usage.
 - encapsulate the data used by the genfs code in a struct genfs_node,
   which must be the first element of the filesystem-specific vnode data
   for filesystems which use genfs_{get,put}pages().
 - eliminate many of the UVM pagerops, since they aren't needed anymore
   now that the pager "put" operation is a higher-level operation.
 - enhance the genfs code to allow NFS to use the genfs_{get,put}pages
   instead of a modified copy.
 - clean up struct vnode by removing all the fields that used to be used by
   the vfs_cluster.c code (which we don't use anymore with UBC).
 - remove kmem_object and mb_object since they were useless.
   instead of allocating pages to these objects, we now just allocate
   pages with no object.  such pages are mapped in the kernel until they
   are freed, so we can use the mapping to find the page to free it.
   this allows us to remove splvm() protection in several places.

The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.

Revision 1.459 / (download) - annotate - [select for diffs], Thu Sep 13 05:22:16 2001 UTC (11 years, 8 months ago) by enami
Branch: MAIN
CVS Tags: pre-chs-ubcperf
Changes since 1.458: +3 -1 lines
Diff to previous 1.458 (colored)

Defopt CALLWHEEL_STATS.

Revision 1.458 / (download) - annotate - [select for diffs], Thu Sep 13 05:19:53 2001 UTC (11 years, 8 months ago) by enami
Branch: MAIN
Changes since 1.457: +5 -3 lines
Diff to previous 1.457 (colored)

Wrap long lines.

Revision 1.457 / (download) - annotate - [select for diffs], Mon Sep 10 23:11:05 2001 UTC (11 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.456: +4 -2 lines
Diff to previous 1.456 (colored)

Add MI Econet support.  This is lacking any interfaces to higher-layer
protocols, and lacking any timeouts, but it basically works, doing four-way
handshakes in both directions and incoming Machine Peek operations.

Oh, and Econet is Acorn's ancient, proprietary 500kbit/s networking
technology.

Revision 1.456 / (download) - annotate - [select for diffs], Sun Sep 9 11:01:00 2001 UTC (11 years, 8 months ago) by tls
Branch: MAIN
Changes since 1.455: +5 -2 lines
Diff to previous 1.455 (colored)

Add asm versions of blowfish and des transforms for i386.

This also involved updating the in-kernel DES functions to correspond
to the versions in our in-tree OpenSSL, because the des_SPtrans table
has changed; the asm code will not work with the old permutation table!

C and i386 asm code for the DES, 3DES, and Blowfish CBC modes is also
included; it is not currently built as the ESP processing in esp_core.c
splits the CBC operation and the cipher transform apart.  Hopefully that
will be fixed as there is a substantial performance improvement to be had
from doing so.  It will remain necessary to use the C version of the
Blowfish CBC function on some i386 machines, however, as the asm version
uses bswapl, which ony 486 and later processors have.  The DES CBC code
doesn't have this problem.

Finally, change esp_core.c to use the ecb3_encrypt function instead of
calling ecb_encrypt three times; this improves performance a bit, in
particular in the asm case.

Revision 1.455 / (download) - annotate - [select for diffs], Sat Sep 1 23:50:43 2001 UTC (11 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.454: +2 -1 lines
Diff to previous 1.454 (colored)

Disable all of the RF_ASSERT()s by default, enabling them if the
RAID_DIAGNOSTIC option is specified in the kernel configuration
file.

Revision 1.454 / (download) - annotate - [select for diffs], Fri Aug 17 00:48:29 2001 UTC (11 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.453: +5 -2 lines
Diff to previous 1.453 (colored)

Artur Grabowski's simple brute-force malloc debugger, which uses
guard pages.  Can only debug one malloc type at a time, and nothing
larger than 1 page.  But can be useful for debugging certain types
of "data modified on freelist" type problems.

Modified from code in OpenBSD.

Revision 1.453 / (download) - annotate - [select for diffs], Sat Aug 4 11:38:58 2001 UTC (11 years, 9 months ago) by enami
Branch: MAIN
Changes since 1.452: +5 -1 lines
Diff to previous 1.452 (colored)

MII access routines for ASIX AX88190.

Revision 1.452 / (download) - annotate - [select for diffs], Sat Jul 14 02:05:54 2001 UTC (11 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.451: +4 -2 lines
Diff to previous 1.451 (colored)

add macho glue

Revision 1.451 / (download) - annotate - [select for diffs], Sun Jul 8 16:18:56 2001 UTC (11 years, 10 months ago) by abs
Branch: MAIN
Branch point for: kqueue
Changes since 1.450: +2 -1 lines
Diff to previous 1.450 (colored)

Rename TCPDEBUG to TCP_DEBUG, defopt TCP_DEBUG and TCP_NDEBUG, and
make all usage of tcp_trace dependent on TCP_DEBUG - resulting in
a 31K saving on an INET enabled i386 kernel.

Revision 1.450 / (download) - annotate - [select for diffs], Mon Jul 2 17:17:23 2001 UTC (11 years, 10 months ago) by uch
Branch: MAIN
Changes since 1.449: +2 -2 lines
Diff to previous 1.449 (colored)

add MEMORY_DISK_DYNAMIC option. if enable MEMORY_DISK_DYNAMIC, file
system image's address and size are setted by md_root_setconf().

Revision 1.449 / (download) - annotate - [select for diffs], Sun Jul 1 02:56:20 2001 UTC (11 years, 10 months ago) by gmcgarry
Branch: MAIN
Changes since 1.448: +5 -1 lines
Diff to previous 1.448 (colored)

In-kernel device configuration manager - allows modification
of device locators at run-time.

Written by Mats O Jansson <moj@stacken.kth.se>.  Reworked by
Jun-ichiro itojun Hagino <itojun@netbsd.org>.

Revision 1.448 / (download) - annotate - [select for diffs], Tue Jun 19 17:58:41 2001 UTC (11 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.447: +2 -2 lines
Diff to previous 1.447 (colored)

Do not include the ELF 'catch all' entry in execsw[] by default, which
used to make ELF binaries unmatched by any signature check to be run under
NetBSD 'emulation'. This causes problems like kern/12253.
The old behaviour is available with option EXEC_ELF_CATCHALL.

Revision 1.447 / (download) - annotate - [select for diffs], Sat Jun 16 12:00:03 2001 UTC (11 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.446: +3 -1 lines
Diff to previous 1.446 (colored)

Add port of high performance pipe implementation written by John S. Dyson
for FreeBSD project. Besides huge speed boost compared with socketpair-based
pipes, this implementation also uses pagable kernel memory instead of mbufs.

Significant differences to FreeBSD version:
* uses uvm_loan() facility for direct write
* async/SIGIO handling correct also for sync writer, async reader
* limits settable via sysctl, amountpipekva and nbigpipes available via sysctl
* pipes are unidirectional - this is enforced on file descriptor level
	for now only, the code would be updated to take advantage of it
	eventually
* uses lockmgr(9)-based locks instead of home brew variant
* scatter-gather write is handled correctly for direct write case, data
  is transferred by PIPE_DIRECT_CHUNK bytes maximum, to avoid running out of kva

All FreeBSD/NetBSD specific code is within appropriate #ifdef, in preparation
to feed changes back to FreeBSD tree.

This pipe implementation is optional for now, add 'options NEW_PIPE'
to your kernel config to use it.

Revision 1.446 / (download) - annotate - [select for diffs], Wed Jun 13 06:01:44 2001 UTC (11 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.445: +3 -2 lines
Diff to previous 1.445 (colored)

Add a port to IBM's PPC405GP Reference Board (the "walnut")
by Eduardo Horvath and Simon Burge of Wasabi Systems.

IBM 4xx series CPU features:
 - New pmap and revised trap handler.
 - Support on-chip timers, PCI controller, UARTs
 - Framework for on-chip ethernet and watchdog timer.
General PowerPC features:
 - Add in-kernel PPC floating point emulation
 - New in{,4}_cksum that is between 1.5 and 5 times faster than the
   old version depending on CPU type.
General changes:
 - Kernel support for generic dbsym-style symbols.

Revision 1.445 / (download) - annotate - [select for diffs], Sun Jun 3 13:43:45 2001 UTC (11 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.444: +5 -1 lines
Diff to previous 1.444 (colored)

Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.

Revision 1.444 / (download) - annotate - [select for diffs], Sat Jun 2 16:17:07 2001 UTC (11 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.443: +3 -1 lines
Diff to previous 1.443 (colored)

Implement support for IP/TCP/UDP checksum offloading provided by
network interfaces.  This works by pre-computing the pseudo-header
checksum and caching it, delaying the actual checksum to ip_output()
if the hardware cannot perform the sum for us.  In-bound checksums
can either be fully-checked by hardware, or summed up for final
verification by software.  This method was modeled after how this
is done in FreeBSD, although the code is significantly different in
most places.

We don't delay checksums for IPv6/TCP, but we do take advantage of the
cached pseudo-header checksum.

Note: hardware-assisted checksumming defaults to "off".  It is
enabled with ifconfig(8).  See the manual page for details.

Implement hardware-assisted checksumming on the DP83820 Gigabit Ethernet,
3c90xB/3c90xC 10/100 Ethernet, and Alteon Tigon/Tigon2 Gigabit Ethernet.

Revision 1.443 / (download) - annotate - [select for diffs], Wed May 30 17:50:46 2001 UTC (11 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.442: +2 -2 lines
Diff to previous 1.442 (colored)

build faith(4) only if INET and INET6 are specified.
From: joda@pdc.kth.se (Johan Danielsson) on tech-net

Revision 1.442 / (download) - annotate - [select for diffs], Sat May 26 17:46:11 2001 UTC (12 years ago) by sommerfeld
Branch: MAIN
Changes since 1.441: +3 -3 lines
Diff to previous 1.441 (colored)

Add infrastructure to allow ports to override build of in6_cksum.c by
enabling the INET6_MD_CKSUM option, which is defopted into opt_inet.h.
Supply an i386 assembly version of in6_cksum in in_cksum.s; on
P6-family cpu's, this is is roughly 20% faster than the C code in
sys/netinet6 for ethernet-mtu-sized mbufs in L1 cache.  Turn on
INET6_MD_CKSUM in i386/conf/std.i386

While we're here, also nuke some now-obsolete XXX comments from
in_cksum.s.

Revision 1.441 / (download) - annotate - [select for diffs], Fri May 18 19:59:03 2001 UTC (12 years ago) by matt
Branch: MAIN
Changes since 1.440: +2 -1 lines
Diff to previous 1.440 (colored)

defopt KGDB

Revision 1.440 / (download) - annotate - [select for diffs], Sun May 13 04:54:47 2001 UTC (12 years ago) by jmc
Branch: MAIN
Changes since 1.439: +2 -2 lines
Diff to previous 1.439 (colored)

Add locator support for fwbus's

Revision 1.439 / (download) - annotate - [select for diffs], Fri May 11 04:47:56 2001 UTC (12 years ago) by matt
Branch: MAIN
Changes since 1.438: +4 -1 lines
Diff to previous 1.438 (colored)

Add MI cprofb (used on shark and netwinder)

Revision 1.438 / (download) - annotate - [select for diffs], Sun May 6 03:26:38 2001 UTC (12 years ago) by ichiro
Branch: MAIN
Changes since 1.437: +5 -1 lines
Diff to previous 1.437 (colored)

divided into PCMCIA attachment and common code of wi.
since if_wi_ieee.h does not depend for pcmcia,
sys/dev/pcmcia/if_wi_ieee.h was moved to sys/dev/ic/wi_ieee.h .

Revision 1.437 / (download) - annotate - [select for diffs], Wed May 2 12:53:32 2001 UTC (12 years ago) by minoura
Branch: MAIN
Changes since 1.436: +5 -1 lines
Diff to previous 1.436 (colored)

Software codec for Oki MSM6258 voice synthesizer.
Recording untested.

Revision 1.436 / (download) - annotate - [select for diffs], Mon Apr 30 04:47:50 2001 UTC (12 years ago) by tsutsui
Branch: MAIN
Changes since 1.435: +5 -1 lines
Diff to previous 1.435 (colored)

Add a MI driver for the Symbios/NCR 53c710 SCSI controller.
This is based on amiga's siop driver, but converted to use
bus_space(9) functions and modified to fit bus_dma(9) framework.

Currently tested on NetBSD/arc with jazzio 53c710 SCSI,
which really requires bus_dma(9) functions :-)
Sync transfers and disconnect/reconnect are also working.

TODO:
- Test under more heavy load
- Clean up osiop_checkintr() hander
- Reorganize command queue and sync negotiation handling more suitable
  for thorpej-scsipi mid-layer
- Re-think defered interrupt handling for amiga

Revision 1.435 / (download) - annotate - [select for diffs], Sun Apr 29 09:50:36 2001 UTC (12 years ago) by martin
Branch: MAIN
Changes since 1.434: +4 -2 lines
Diff to previous 1.434 (colored)

Add an in-kernel PPPoE (ppp over ethernet, RFC 2516) implementation,
based on the existing net/if_spppsubr.c stuff.

While there are completely userland (bpf based) implementations available,
those have a vastly larger per packet overhead thus causing major CPU
overhead and higher latency. On an i386 base router, running a 486DX at 50MHz
my line (768kBit/s downstream) was limited to something (varying) between 10
and 20 kByte/s effective download rate. With this implementation I get full
bandwidth (~85kByte/s).

This is client side only. Arguably the right way to add full PPPoE support
(including server side) would be a variation of the ppp line discipline and
appropriate modifications to pppd. I promise every help I can give to anyone
doing that - but I needed this realy fast. Besids, on low memory NAT boxes
with typically a single PPPoE connection, this implementation is more
lightweight than a pppd based one, which nicely fits my needs.

Revision 1.434 / (download) - annotate - [select for diffs], Fri Apr 20 16:39:22 2001 UTC (12 years, 1 month ago) by fredette
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.433: +10 -1 lines
Diff to previous 1.433 (colored)

Add entries for the NatSemi MM58167 time-of-day clock chip
and the chipset used in the Sun2 "sc" SCSI adapters.

Revision 1.433 / (download) - annotate - [select for diffs], Wed Apr 11 03:43:23 2001 UTC (12 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.432: +4 -1 lines
Diff to previous 1.432 (colored)

Add configuration glue for forthcoming bridge code.

Revision 1.432 / (download) - annotate - [select for diffs], Sat Mar 31 00:26:53 2001 UTC (12 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.431: +5 -1 lines
Diff to previous 1.431 (colored)

Prepare for MCA attachment:
* split off sharable stuff to dev/ic/ate_subr.[ch], move ate(4) device
  definition to conf/files
* cosmetic: attach with ate_isa

Revision 1.431 / (download) - annotate - [select for diffs], Thu Mar 29 22:40:06 2001 UTC (12 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.430: +3 -1 lines
Diff to previous 1.430 (colored)

defopt NAMECACHE_ENTER_REVERSE

Revision 1.430 / (download) - annotate - [select for diffs], Sat Mar 24 12:40:29 2001 UTC (12 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.429: +3 -2 lines
Diff to previous 1.429 (colored)

First step to cleanup the hardware driver <-> upper layers interface.
This now provides slightly more functionality than the FreeBSD layer1-newbus
interface. It was meant to be a simple change to one header and a few
c files, but the change rippled all through various stuff.

To prevent a change to the kernel<->userland interface right now the kernel
is now lying about card types to userland (but who cares). This will be fixed
when the userland interface changes, after layer 3 <-> layer 4 has been
fixed.

Functional changes:

Provide a clean interface for hardware drivers to attach to the upper
layers. This will need another small change in the B-channel handling
when a similar change to the layer 3 <-> layer 4 interface happens.

Avoid passing indices into global arrays of pointers around, instead pass
the pointers itself. Don't code hardware driver types by predefined magic
numbers (think LKM). Prepare for detachable drivers (think pcmcia).

While there remove some sets of function pointers always pointing to the
same function (meant to be the configurable set of D channel protocol
handlers). It is unlikely another supported D-channel protocol will fit into
that (maximal layer interface) abstraction. When we get support for another
protocol, we will need to come up with a workable interface. Besides, the
old implementation was, uhm, strange.

Revision 1.429 / (download) - annotate - [select for diffs], Fri Mar 23 19:08:53 2001 UTC (12 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.428: +5 -1 lines
Diff to previous 1.428 (colored)

Split we(4) driver to bus independant and ISA-specific parts, in preparation
for MCA attachment.

Revision 1.428 / (download) - annotate - [select for diffs], Thu Mar 8 04:18:17 2001 UTC (12 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.427: +3 -1 lines
Diff to previous 1.427 (colored)

advlib.c and advmcode.c should be built for all adv, not
just adv_pci.  From takashi.yamamoto@bigfoot.com, kern/12341.

Revision 1.427 / (download) - annotate - [select for diffs], Tue Feb 27 00:29:36 2001 UTC (12 years, 2 months ago) by eeh
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.426: +2 -2 lines
Diff to previous 1.426 (colored)

Combine SVR4 options in one file.

Revision 1.426 / (download) - annotate - [select for diffs], Sat Feb 24 01:34:28 2001 UTC (12 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.425: +615 -614 lines
Diff to previous 1.425 (colored)

whitespace police

Revision 1.425 / (download) - annotate - [select for diffs], Tue Feb 20 22:24:32 2001 UTC (12 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.424: +7 -7 lines
Diff to previous 1.424 (colored)

Filename cleanup: remove i4b_ prefixes outside sys/netisdn, last round.

Renamed in sys/dev/ic:
i4b_hscx.c -> hscx.c
i4b_hscx.h -> hscx.h
i4b_ipac.h -> ipac.h
i4b_isac.c -> isac.c
i4b_isac.h -> isac.h
i4b_isic.c -> isic.c
i4b_isicbchan.c -> isic_bchan.c
i4b_isicl1.c -> isic_l1.c
i4b_isicl1.h -> isic_l1.h
i4b_isicl1fsm.c -> isic_l1fsm.c

Revision 1.424 / (download) - annotate - [select for diffs], Wed Feb 14 08:44:24 2001 UTC (12 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.423: +2 -1 lines
Diff to previous 1.423 (colored)

Add the code to recode filenames to utf8 for NTFS.

Revision 1.423 / (download) - annotate - [select for diffs], Tue Feb 13 02:31:41 2001 UTC (12 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.422: +2 -2 lines
Diff to previous 1.422 (colored)

Oops, `mii' attribute has to go onto the device decl.

Revision 1.422 / (download) - annotate - [select for diffs], Tue Feb 13 01:56:28 2001 UTC (12 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.421: +5 -1 lines
Diff to previous 1.421 (colored)

Config attribute for the DL10019 MII support.

Revision 1.421 / (download) - annotate - [select for diffs], Thu Feb 8 16:48:01 2001 UTC (12 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.420: +2 -1 lines
Diff to previous 1.420 (colored)

move udp6_output() to separate file.  (sync better with kame)

Revision 1.420 / (download) - annotate - [select for diffs], Mon Feb 5 15:56:27 2001 UTC (12 years, 3 months ago) by tv
Branch: MAIN
Changes since 1.419: +4 -4 lines
Diff to previous 1.419 (colored)

Work around yet more LKM system braindamage tickled by rev 1.418 by
including layer_*.c if "options LKM".  This is not the right way to fix
it, but we have as yet no standardized mechanism to add a "LKM code
library" to fill in gaps in the monolithic kernel's code.

Problem noted by <tron@netbsd.org>.

Revision 1.419 / (download) - annotate - [select for diffs], Sun Feb 4 17:05:11 2001 UTC (12 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.418: +8 -1 lines
Diff to previous 1.418 (colored)

Add a driver for the Mylex DAC960 family (including DEC SWXCR).

Revision 1.418 / (download) - annotate - [select for diffs], Fri Feb 2 04:39:35 2001 UTC (12 years, 3 months ago) by tv
Branch: MAIN
Changes since 1.417: +6 -6 lines
Diff to previous 1.417 (colored)

Provide proper option dependencies for some files included either
unconditionally or on too-inclusive conditions (resulting in dead code):

miscfs/genfs/layer_*.c (nullfs | overlay | umapfs)
miscfs/procfs/procfs_map.c (procfs)
netinet/ip_ecn.c (ipsec | gif | stf)

Revision 1.417 / (download) - annotate - [select for diffs], Sun Jan 21 13:50:58 2001 UTC (12 years, 4 months ago) by takemura
Branch: MAIN
Changes since 1.416: +2 -1 lines
Diff to previous 1.416 (colored)

Rasops supports 4bit depth.

Revision 1.416 / (download) - annotate - [select for diffs], Wed Jan 17 01:26:40 2001 UTC (12 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.415: +2 -1 lines
Diff to previous 1.415 (colored)

Add procfs_linux.c

Revision 1.415 / (download) - annotate - [select for diffs], Fri Jan 5 13:09:16 2001 UTC (12 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.414: +60 -2 lines
Diff to previous 1.414 (colored)

Enable the imported ISDN4BSD based ISDN subsystem.

This is the kernel part (userland to follow soon) of the latest (and
very probably last) release (version 0.96) of ISDN4BSD. ISDN4BSD has a
homepage at http://www.freebsd-support.de/i4b/.

It gives the user various ways to use the isdn connection: raw data (via
the i4brbch "raw b-channel" device), ppp (via the isp "isdn PPP" device),
voice/answering machine (the i4btel "telephone" device) and ip over isdn
(the ipr device, "IP over raw ISDN").

Supported are a bunch of common and older cards, more to be added soon
after some cleanup. Currently only the european E-DSS1 variant of the
ISDN D channel protocol is supported.

Revision 1.414 / (download) - annotate - [select for diffs], Fri Dec 29 00:54:58 2000 UTC (12 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.413: +7 -4 lines
Diff to previous 1.413 (colored)

Define a bpf_filter attribute, and include bpf_filter.o when we
have it.  Give the attribute to things which need to use the BPF
virtual machine.

Revision 1.413 / (download) - annotate - [select for diffs], Thu Dec 28 11:10:16 2000 UTC (12 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.412: +2 -2 lines
Diff to previous 1.412 (colored)

add utrace(2) - this syscall allows to add user ktrace entries
idea from FreeBSD, but added argument (const char *id) so that it's possible
to differentiate between entries from different sources

Revision 1.412 / (download) - annotate - [select for diffs], Sun Dec 24 06:39:01 2000 UTC (12 years, 5 months ago) by augustss
Branch: MAIN
Changes since 1.411: +5 -1 lines
Diff to previous 1.411 (colored)

Add some placeholders for the EHCI (USB 2) driver.

Don't get your hopes up.  I've not even finished reading the
(100+) page spec, and I have no hardware.

Revision 1.411 / (download) - annotate - [select for diffs], Thu Dec 14 22:36:49 2000 UTC (12 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.410: +2 -2 lines
Diff to previous 1.410 (colored)

Change the way ALTQ is enabled in the kernel, as there is an
annoying include file name clash.

Revision 1.410 / (download) - annotate - [select for diffs], Thu Dec 14 17:41:38 2000 UTC (12 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.409: +20 -1 lines
Diff to previous 1.409 (colored)

Add ALTQ glue.

Revision 1.409 / (download) - annotate - [select for diffs], Mon Dec 11 23:16:51 2000 UTC (12 years, 5 months ago) by onoe
Branch: MAIN
Changes since 1.408: +5 -1 lines
Diff to previous 1.408 (colored)

Port 'an' driver for Aironet PC4500/PC4800 IEEE802.11 card from FreeBSD.
This is very adhoc work for IETF meeting.
- Since it seems that 'an' and 'wi' have similar hardware, low level
  functions should be shared.
- There are PCI/ISA cards of Aironet but not supported yet.
- The wiconfig interface is changed so that wiconfig cannot be used.
- 'ancontrol' of FreeBSD is not ported.
- Only infrastructure mode is tested.
- WEP is not supported.

Though I only have an Aironet card, Cisco card should be expected to work.

Revision 1.408 / (download) - annotate - [select for diffs], Tue Dec 5 17:59:43 2000 UTC (12 years, 5 months ago) by drochner
Branch: MAIN
Changes since 1.407: +2 -1 lines
Diff to previous 1.407 (colored)

add a kernel configuration option to set the string passed in bp_file
in diskless BOOTP/DHCP configuration - good for booting different
userland versions depending on the kernel version

Revision 1.407 / (download) - annotate - [select for diffs], Sat Dec 2 20:43:08 2000 UTC (12 years, 5 months ago) by scw
Branch: MAIN
Changes since 1.406: +2 -1 lines
Diff to previous 1.406 (colored)

defopt COMPAT_AOUT_M68K

Revision 1.406 / (download) - annotate - [select for diffs], Sat Dec 2 14:53:38 2000 UTC (12 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.405: +2 -3 lines
Diff to previous 1.405 (colored)

defopt AHC_NO_TAGS. Remove unused AHC_* options.

Revision 1.405 / (download) - annotate - [select for diffs], Mon Nov 27 08:39:41 2000 UTC (12 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.404: +2 -1 lines
Diff to previous 1.404 (colored)

Initial integration of the Unified Buffer Cache project.

Revision 1.404 / (download) - annotate - [select for diffs], Sun Nov 26 17:44:02 2000 UTC (12 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.403: +6 -6 lines
Diff to previous 1.403 (colored)

lsu -> ld, by popular request.

Revision 1.403 / (download) - annotate - [select for diffs], Wed Nov 15 21:14:14 2000 UTC (12 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.402: +3 -3 lines
Diff to previous 1.402 (colored)

change a couple of needs-count to needs-flag (which is all they need).

Revision 1.402 / (download) - annotate - [select for diffs], Tue Nov 14 23:37:21 2000 UTC (12 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.401: +4 -4 lines
Diff to previous 1.401 (colored)

Add a fwlynx device.  Move the file for fwohci to files.ieee1394

Revision 1.401 / (download) - annotate - [select for diffs], Wed Nov 8 22:41:58 2000 UTC (12 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.400: +2 -1 lines
Diff to previous 1.400 (colored)

Add console magic sequence framework.

Revision 1.400 / (download) - annotate - [select for diffs], Wed Nov 8 19:20:33 2000 UTC (12 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.399: +3 -3 lines
Diff to previous 1.399 (colored)

Move lsu stuff to more logical locations, and push queueing into the lsu
driver.

Revision 1.399 / (download) - annotate - [select for diffs], Sun Nov 5 17:17:13 2000 UTC (12 years, 6 months ago) by onoe
Branch: MAIN
Changes since 1.398: +4 -1 lines
Diff to previous 1.398 (colored)

First Prototype implementation of network interface part for IEEE1394 (if_fw).

Current status:
	Only OHCI chip is supported (fwohci).
	ping (IPv4) works with Sony's implementation (SmartConnect) on Win98.
	sometimes works but not stable.
Not implemented yet:
	IRM (Isochronous Resource Manager) functionality.
	Link layer fragmentation.
	Topology map.
More to do:
	clean ups
	MCAP
	charactor device part
	dhcp

There is no entry in GENERIC config file yet.
Follow sys/dev/ieee1394/IMPLEMENTATION to enable if_fw.

Revision 1.398 / (download) - annotate - [select for diffs], Sun Nov 5 04:08:10 2000 UTC (12 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.397: +7 -4 lines
Diff to previous 1.397 (colored)

Update for sysmon splitting, and lm carries the sysmon_envsys
attribute.

Revision 1.397 / (download) - annotate - [select for diffs], Thu Oct 19 14:26:41 2000 UTC (12 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.396: +7 -4 lines
Diff to previous 1.396 (colored)

ca -> lsu

Revision 1.396 / (download) - annotate - [select for diffs], Mon Oct 2 17:21:24 2000 UTC (12 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.395: +11 -8 lines
Diff to previous 1.395 (colored)

add ESP rijndael logic.  yet to be usable (until algorithm # is assigned)

Revision 1.395 / (download) - annotate - [select for diffs], Wed Sep 27 23:02:02 2000 UTC (12 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.394: +5 -2 lines
Diff to previous 1.394 (colored)

Add vlan(4) glue.

Revision 1.394 / (download) - annotate - [select for diffs], Sun Sep 24 18:45:37 2000 UTC (12 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.393: +2 -1 lines
Diff to previous 1.393 (colored)

defopt SHMMAXPGS, SEMMNI, SEMMNS, SEMUME and SEMMNU

Revision 1.393 / (download) - annotate - [select for diffs], Sat Sep 23 17:17:11 2000 UTC (12 years, 8 months ago) by sommerfeld
Branch: MAIN
Changes since 1.392: +2 -2 lines
Diff to previous 1.392 (colored)

Add `COM_MPLOCK' option to use a device-instance-specific spinlocks
when running at splserial().  This is a temporary measure (until
there's a MP-safe interrupt handling structure); until then, it should
be used when MULTIPROCESSOR and IPL_SERIAL > IPL_SCHED.

Revision 1.392 / (download) - annotate - [select for diffs], Thu Sep 21 23:29:43 2000 UTC (12 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.391: +2 -2 lines
Diff to previous 1.391 (colored)

Support attachments to `com' needed for the Sun Keyboard/Mouse line disciplines.

Revision 1.391 / (download) - annotate - [select for diffs], Tue Sep 19 17:04:50 2000 UTC (12 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.390: +2 -1 lines
Diff to previous 1.390 (colored)

New kernel option, NFS_V2_ONLY, which aims to reduce the NFS client to just
that required to support NFSv2 mounts.  Not finished yet, but already
provides some 44k of saving in code size on arm26.  More savings, and some
documentation, are still to come.

Revision 1.390 / (download) - annotate - [select for diffs], Mon Sep 18 22:15:21 2000 UTC (12 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.389: +1 -6 lines
Diff to previous 1.389 (colored)

do not compile files under sys/crypto, which we no longer are using.

Revision 1.389 / (download) - annotate - [select for diffs], Mon Sep 18 20:51:14 2000 UTC (12 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.388: +5 -1 lines
Diff to previous 1.388 (colored)

Split the arm26 Ether3 (ea) driver into an MI driver for the SEEQ 8005 chip,
and a front-end driver for the Ether3.  Only semantic change is to remove
ea_claimirq() and ea_releaseirq() on the grounds that the seem too spurious
to warrant a callback to the front-end.

Revision 1.388 / (download) - annotate - [select for diffs], Wed Sep 13 16:10:50 2000 UTC (12 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.387: +2 -1 lines
Diff to previous 1.387 (colored)

defopt VNODE_OP_NOINLINE.

Revision 1.387 / (download) - annotate - [select for diffs], Sat Sep 9 16:54:34 2000 UTC (12 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.386: +2 -2 lines
Diff to previous 1.386 (colored)

needs-count is no longer needed for pty, needs-flag is sufficient

Revision 1.386 / (download) - annotate - [select for diffs], Thu Aug 17 18:56:17 2000 UTC (12 years, 9 months ago) by bjh21
Branch: MAIN
Changes since 1.385: +12 -12 lines
Diff to previous 1.385 (colored)

"upc" uses "wdc", so put the former after the latter.

Revision 1.385 / (download) - annotate - [select for diffs], Wed Aug 16 23:56:08 2000 UTC (12 years, 9 months ago) by bjh21
Branch: MAIN
Changes since 1.384: +12 -1 lines
Diff to previous 1.384 (colored)

Basic driver for CHIPS 82C710 Universal Peripheral Controller and friends,
as used on later arm26 system (A5000, A4, A3010, A3020, A4000).

What we have got:
...
upc0 at iobus0 base 0x010000: config state bb 87 1c 00 00
fdc at upc0 offset 0x3f4 not configured
wdc0 at upc0 offset 0x1f0
lpt0 at upc0 offset 0x278
com0 at upc0 offset 0x3f8: ns8250 or ns16450, no fifo
...

What we haven't got:
 - FDC support (found, but not configured).
 - Clearing lpt interrupts on arm26 systems (needs help from IOEB).
 - A upc(4) manual page.
 - More than minimal testing (my A3020s don't have root devices).
 - A proper probe routine (arm26 can't use one anyway).

Revision 1.384 / (download) - annotate - [select for diffs], Sat Aug 12 20:47:49 2000 UTC (12 years, 9 months ago) by tv
Branch: MAIN
Changes since 1.383: +3 -3 lines
Diff to previous 1.383 (colored)

- Conditionalize ip_gre.c on both "inet" and "gre".
- Comment out use of net_osdep.c.  This file is currently completely #if 0'd.

Revision 1.383 / (download) - annotate - [select for diffs], Fri Aug 11 14:35:57 2000 UTC (12 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.382: +6 -1 lines
Diff to previous 1.382 (colored)

Declare the `depca' device here, now that it can attach to
multiple busses.

Revision 1.382 / (download) - annotate - [select for diffs], Mon Aug 7 15:23:43 2000 UTC (12 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.381: +2 -2 lines
Diff to previous 1.381 (colored)

Add COMPAT_15 to opt_compat_netbsd.h

Revision 1.381 / (download) - annotate - [select for diffs], Thu Aug 3 00:30:49 2000 UTC (12 years, 9 months ago) by jeffs
Branch: MAIN
Changes since 1.380: +2 -2 lines
Diff to previous 1.380 (colored)

Add options DDB_BREAK_CHAR.  This overrides break on the serial console
break character with the supplied one.  This is useful for cases where
break is hard to generate, or you are connected to a PC that "sends"
breaks when power cycled.  For this mode in com, interpret break char
in the polling section, which allows entry into the debugger before
the tty is opened.  Only supported in the com driver currently.

Revision 1.380 / (download) - annotate - [select for diffs], Tue Aug 1 20:01:52 2000 UTC (12 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.379: +2 -2 lines
Diff to previous 1.379 (colored)

add ISP_LOGDEFAULT for isp driver options

Revision 1.379 / (download) - annotate - [select for diffs], Sun Jul 30 21:34:47 2000 UTC (12 years, 9 months ago) by briggs
Branch: MAIN
Changes since 1.378: +2 -2 lines
Diff to previous 1.378 (colored)

Add MII support to smc91cxx driver.  This is supported for the 91c100
and 91c100FD (FEAST) controllers.  Existing controllers should continue
to work as they have.  Added the card's memory to the probe message.

Revision 1.378 / (download) - annotate - [select for diffs], Tue Jul 25 22:41:58 2000 UTC (12 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.377: +9 -1 lines
Diff to previous 1.377 (colored)

Define mk48txx and intersil7170

Revision 1.377 / (download) - annotate - [select for diffs], Wed Jul 5 22:30:05 2000 UTC (12 years, 10 months ago) by mjacob
Branch: MAIN
Changes since 1.376: +4 -4 lines
Diff to previous 1.376 (colored)

remove obsolete Qlogic isp options

Revision 1.376 / (download) - annotate - [select for diffs], Tue Jul 4 14:27:56 2000 UTC (12 years, 10 months ago) by onoe
Branch: MAIN
Changes since 1.375: +11 -2 lines
Diff to previous 1.375 (colored)

Support WEP functions for awi driver.
	arc4 implementation by Kalle Kaukonen has been added.
	define "wlan" in files.
		XXX: only awi depends on wlan for now.
	Allow authentication for adhoc (IBSS) mode.
Disable adhoc mode without bssid (mediaopt adhoc,flag0) for FH radio.
	FH cannot work without synchronization by beacons.
Align IP header for ethernet encapsulation (IFF_FLAG0) mode.
Print available access points for IFF_DEBUG.

Revision 1.375 / (download) - annotate - [select for diffs], Sat Jun 24 00:37:19 2000 UTC (12 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.374: +6 -2 lines
Diff to previous 1.374 (colored)

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI).  Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.

Revision 1.374 / (download) - annotate - [select for diffs], Thu Jun 22 20:31:46 2000 UTC (12 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.373: +2 -1 lines
Diff to previous 1.373 (colored)

Adapt for ffs_softdep.c move.

Revision 1.373 / (download) - annotate - [select for diffs], Wed Jun 14 19:47:12 2000 UTC (12 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.372: +14 -1 lines
Diff to previous 1.372 (colored)

Add IPsec ESP and crypto files.

Revision 1.372 / (download) - annotate - [select for diffs], Tue Jun 6 18:26:32 2000 UTC (12 years, 11 months ago) by soren
Branch: MAIN
Changes since 1.371: +3 -2 lines
Diff to previous 1.371 (colored)

defopt SYSCALL_DEBUG.

Revision 1.371 / (download) - annotate - [select for diffs], Sun Jun 4 16:26:12 2000 UTC (12 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.370: +2 -1 lines
Diff to previous 1.370 (colored)

Add stubs for PE/COFF.

Revision 1.370 / (download) - annotate - [select for diffs], Sat Jun 3 14:36:32 2000 UTC (12 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.369: +2 -1 lines
Diff to previous 1.369 (colored)

sync with kame.
- use latest source address selection code - in6_src.c.
- correct frag header insertion.
- deep copy ip6 header portion in ip6_mloopback to avoid overwrite.
- do not bark when we forward packet to loopback.
- some cosmetics.

Revision 1.369 / (download) - annotate - [select for diffs], Tue May 30 00:48:47 2000 UTC (12 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.368: +7 -1 lines
Diff to previous 1.368 (colored)

Add IEEE 1394 OHCI node and IEEE 1394 bus.  Just placeholders for now.

Revision 1.368 / (download) - annotate - [select for diffs], Mon May 15 08:27:24 2000 UTC (13 years ago) by bouyer
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.367: +6 -2 lines
Diff to previous 1.367 (colored)

Update for siop split.

Revision 1.367 / (download) - annotate - [select for diffs], Thu May 11 16:49:01 2000 UTC (13 years ago) by jdolecek
Branch: MAIN
Changes since 1.366: +3 -2 lines
Diff to previous 1.366 (colored)

Merge MI part of MicroChannel Architecture bus support

This work is based on code written by Scott D. Telford, the IBM
Token Ring card attachment was written by Gregory McGarry.

XXX this is still very experimental and development version; use at your
XXX own risk

Revision 1.366 / (download) - annotate - [select for diffs], Tue May 2 06:30:49 2000 UTC (13 years ago) by augustss
Branch: MAIN
Changes since 1.365: +3 -3 lines
Diff to previous 1.365 (colored)

Make am7930 driver machine independent. PR 10032 from Gregory McGarry.

Revision 1.365 / (download) - annotate - [select for diffs], Tue Apr 25 06:08:31 2000 UTC (13 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.364: +2 -2 lines
Diff to previous 1.364 (colored)

ipip is needs-count, not needs-flags.  evidence: manpage and all
sys/arch/*/conf/GENERIC has count.

Revision 1.364 / (download) - annotate - [select for diffs], Fri Apr 21 17:57:01 2000 UTC (13 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.363: +5 -1 lines
Diff to previous 1.363 (colored)

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.

Revision 1.363 / (download) - annotate - [select for diffs], Thu Apr 20 18:23:37 2000 UTC (13 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.362: +10 -1 lines
Diff to previous 1.362 (colored)

Put the rasops attributes in conf/files so that everyone can run
config(8) without pulling in files.rasops.  There is prior art for
this, e.g. audio.

Revision 1.362 / (download) - annotate - [select for diffs], Wed Apr 19 08:44:31 2000 UTC (13 years, 1 month ago) by haya
Branch: MAIN
Changes since 1.361: +3 -3 lines
Diff to previous 1.361 (colored)

Changes the name of RealTek driver.  The new name is `rtk'.  This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.

Revision 1.361 / (download) - annotate - [select for diffs], Wed Apr 19 06:30:51 2000 UTC (13 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.360: +5 -2 lines
Diff to previous 1.360 (colored)

introduce sys/netinet/ip_encap.c, to dispatch inbound packets
to protocol handlers, based on src/dst (for ip proto #4/41).
see comment in ip_encap.c for details of the problem we have.
there are too many protocol specs for ip proto #4/41.
backward compatibility with MROUTING case is now provided in ip_encap.c.

fix ipip to work with gif (using ip_encap.c).  sorry for breakage.

gif now uses ip_encap.c.

introduce stf pseudo interface (implements 6to4, another IPv6-over-IPv4 code
with ip proto #41).

Revision 1.360 / (download) - annotate - [select for diffs], Mon Apr 10 07:42:55 2000 UTC (13 years, 1 month ago) by haya
Branch: MAIN
Changes since 1.359: +5 -1 lines
Diff to previous 1.359 (colored)

Incorporate the changes of RL81x9 driver provided by M. Kanaoka
<kanaoka@ann.hi-ho.ne.jp>.  He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.

Revision 1.359 / (download) - annotate - [select for diffs], Sat Mar 25 19:58:04 2000 UTC (13 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.358: +3 -2 lines
Diff to previous 1.358 (colored)

Move esp declaration to conf/files.

Revision 1.358 / (download) - annotate - [select for diffs], Wed Mar 22 20:58:28 2000 UTC (13 years, 2 months ago) by ws
Branch: MAIN
Changes since 1.357: +9 -15 lines
Diff to previous 1.357 (colored)

Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.

Revision 1.357 / (download) - annotate - [select for diffs], Wed Mar 22 20:28:29 2000 UTC (13 years, 2 months ago) by soren
Branch: MAIN
Changes since 1.356: +2 -2 lines
Diff to previous 1.356 (colored)

Remove BIOS_VERBOSE, which does not exist.

Revision 1.356 / (download) - annotate - [select for diffs], Mon Mar 20 11:03:42 2000 UTC (13 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.355: +2 -1 lines
Diff to previous 1.355 (colored)

Move `nca' declaration to `conf/files'.

Revision 1.355 / (download) - annotate - [select for diffs], Thu Mar 16 14:52:23 2000 UTC (13 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.354: +9 -1 lines
Diff to previous 1.354 (colored)

Driver for Compaq array controllers and disks (cac(4)/ca(4)).

Revision 1.354 / (download) - annotate - [select for diffs], Wed Mar 15 02:10:09 2000 UTC (13 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.353: +3 -1 lines
Diff to previous 1.353 (colored)

Add new files for common VL/EISA ahc code.

Revision 1.353 / (download) - annotate - [select for diffs], Sat Feb 26 17:35:33 2000 UTC (13 years, 2 months ago) by oster
Branch: MAIN
Changes since 1.352: +4 -1 lines
Diff to previous 1.352 (colored)

Defopt 'RAID_AUTOCONFIG'.  Adding 'options RAID_AUTOCONFIG' turns on
the component auto-detection and auto-configuration of RAID sets.
Also, add "#options RAID_AUTOCONFIG" to the GENERIC config files.

Revision 1.352 / (download) - annotate - [select for diffs], Fri Feb 25 10:02:13 2000 UTC (13 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.351: +2 -2 lines
Diff to previous 1.351 (colored)

lm needs-flag

Revision 1.351 / (download) - annotate - [select for diffs], Fri Feb 25 02:17:45 2000 UTC (13 years, 3 months ago) by groo
Branch: MAIN
Changes since 1.350: +5 -1 lines
Diff to previous 1.350 (colored)

Initial import of National Semiconductor LM7[89] Hardware Monitor with isa and
pnpbios attach.

examples:

	lm0 at pnpbios0 index?
	lm0 at isa? port 0x290


TODO: spinlocks, i2c interface.

Revision 1.350 / (download) - annotate - [select for diffs], Sat Feb 19 10:31:07 2000 UTC (13 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.349: +67 -70 lines
Diff to previous 1.349 (colored)

sort filenames, mainly to sort ip6/ipsec entries.
requested by: matthew green <mrg@eterna.com.au>

Revision 1.349 / (download) - annotate - [select for diffs], Mon Feb 14 21:42:50 2000 UTC (13 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.348: +1 -2 lines
Diff to previous 1.348 (colored)

Allow arch-specific code to specify in4_cksum() like it can specify
in_cksum().

Revision 1.348 / (download) - annotate - [select for diffs], Fri Feb 11 19:22:53 2000 UTC (13 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.347: +2 -1 lines
Diff to previous 1.347 (colored)

Add some very simple code to auto-size the kmem_map.  We take the
amount of physical memory, divide it by 4, and then allow machine
dependent code to place upper and lower bounds on the size.  Export
the computed value to userspace via the new "vm.nkmempages" sysctl.

NKMEMCLUSTERS is now deprecated and will generate an error if you
attempt to use it.  The new option, should you choose to use it,
is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and
NKMEMPAGES_MAX allow the user to configure the bounds in the kernel
config file.

Revision 1.347 / (download) - annotate - [select for diffs], Mon Jan 31 14:18:52 2000 UTC (13 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.346: +2 -1 lines
Diff to previous 1.346 (colored)

bring in latest KAME ipsec tree.
- interop issues in ipcomp is fixed
- padding type (after ESP) is configurable
- key database memory management (need more fixes)
- policy specification is revisited

XXX m->m_pkthdr.rcvif is still overloaded - hope to fix it soon

Revision 1.346 / (download) - annotate - [select for diffs], Wed Jan 26 06:27:33 2000 UTC (13 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.345: +5 -1 lines
Diff to previous 1.345 (colored)

Fix an oversight in the AIC-7xxx SEEPROM split.

Revision 1.345 / (download) - annotate - [select for diffs], Wed Jan 26 06:04:37 2000 UTC (13 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.344: +3 -1 lines
Diff to previous 1.344 (colored)

Split the code that reads the SEEPROM into its own file.

Revision 1.344 / (download) - annotate - [select for diffs], Thu Jan 20 19:12:37 2000 UTC (13 years, 4 months ago) by wrstuden
Branch: MAIN
Changes since 1.343: +4 -2 lines
Diff to previous 1.343 (colored)

Add overlay to kernel configs.

Revision 1.343 / (download) - annotate - [select for diffs], Thu Jan 20 17:12:34 2000 UTC (13 years, 4 months ago) by mjacob
Branch: MAIN
Changes since 1.342: +3 -2 lines
Diff to previous 1.342 (colored)

add a (currently unused) option reference to isp_target mode

Revision 1.342 / (download) - annotate - [select for diffs], Mon Jan 17 02:59:26 2000 UTC (13 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.341: +2 -1 lines
Diff to previous 1.341 (colored)

defopt COMPAT_VAX1K

Revision 1.341 / (download) - annotate - [select for diffs], Sun Jan 9 02:22:25 2000 UTC (13 years, 4 months ago) by oster
Branch: MAIN
Changes since 1.340: +1 -2 lines
Diff to previous 1.340 (colored)

src/sys/dev/raidframe/rf_cpuutils.c is no longer needed.  Remove it
from the list.

Revision 1.340 / (download) - annotate - [select for diffs], Fri Jan 7 11:21:21 2000 UTC (13 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.339: +2 -2 lines
Diff to previous 1.339 (colored)

defopt EXEC_COFF

Revision 1.339 / (download) - annotate - [select for diffs], Tue Jan 4 06:37:05 2000 UTC (13 years, 4 months ago) by chopps
Branch: MAIN
Changes since 1.338: +4 -1 lines
Diff to previous 1.338 (colored)

move ntwoc here now that we have isa and pci attachments

Revision 1.338 / (download) - annotate - [select for diffs], Mon Dec 13 15:17:17 1999 UTC (13 years, 5 months ago) by itojun
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.337: +4 -1 lines
Diff to previous 1.337 (colored)

sync IPv6 part with latest KAME tree.   IPsec part is left unmodified
due to massive changes in KAME side.
- IPv6 output goes through nd6_output
- faith can capture IPv4 packets as well - you can run IPv4-to-IPv6 translator
  using heavily modified DNS servers
- per-interface statistics (required for IPv6 MIB)
- interface autoconfig is revisited
- udp input handling has a big change for mapped address support.
- introduce in4_cksum() for non-overwriting checksumming
- introduce m_pulldown()
- neighbor discovery cleanups/improvements
- netinet/in.h strictly conforms to RFC2553 (no extra defs visible to userland)
- IFA_STATS is fixed a bit (not tested)
- and more more more.

TODO:
- cleanup os-independency #ifdef
- avoid rcvif dual use (for IPsec) to help ifdetach

(sorry for jumbo commit, I can't separate this any more...)

Revision 1.337 / (download) - annotate - [select for diffs], Tue Dec 7 08:28:47 1999 UTC (13 years, 5 months ago) by itohy
Branch: MAIN
Changes since 1.336: +3 -3 lines
Diff to previous 1.336 (colored)

- softdep functions are used outside of FFS.  Why?
- ffs_bswap.c is currently unused by LFS.

Revision 1.336 / (download) - annotate - [select for diffs], Fri Dec 3 22:48:24 1999 UTC (13 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.335: +5 -1 lines
Diff to previous 1.335 (colored)

Split the PC-like keyboard controller driver into chip back-end and
bus front-end.

Revision 1.335 / (download) - annotate - [select for diffs], Fri Dec 3 18:02:15 1999 UTC (13 years, 5 months ago) by mjacob
Branch: MAIN
Changes since 1.334: +2 -2 lines
Diff to previous 1.334 (colored)

add ISP_DISABLE_FW defopt

Revision 1.334 / (download) - annotate - [select for diffs], Mon Nov 22 03:53:40 1999 UTC (13 years, 6 months ago) by sommerfeld
Branch: MAIN
Changes since 1.333: +2 -1 lines
Diff to previous 1.333 (colored)

defopt COM_DEBUG, COM_HAYESP, and COM16650

Revision 1.333 / (download) - annotate - [select for diffs], Fri Nov 19 18:16:13 1999 UTC (13 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.332: +3 -3 lines
Diff to previous 1.332 (colored)

Add the mii_bitbang attribute to the elink3 and tlp drivers.

Revision 1.332 / (download) - annotate - [select for diffs], Fri Nov 19 05:49:53 1999 UTC (13 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.331: +2 -1 lines
Diff to previous 1.331 (colored)

defopt SOFTDEP

Revision 1.331 / (download) - annotate - [select for diffs], Wed Nov 17 17:56:00 1999 UTC (13 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.330: +8 -2 lines
Diff to previous 1.330 (colored)

Define the `mii_bitbang' attribute, and give it to the `ex' driver.

Revision 1.330 / (download) - annotate - [select for diffs], Mon Nov 15 18:49:07 1999 UTC (13 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.329: +4 -1 lines
Diff to previous 1.329 (colored)

Add Kirk McKusick's soft updates code to the trunk. Not enabled by
default, as the copyright on the main file (ffs_softdep.c) is such
that is has been put into gnusrc. options SOFTDEP will pull this
in. This code also contains the trickle syncer.

Bump version number to 1.4O

Revision 1.329 / (download) - annotate - [select for diffs], Sat Nov 13 05:02:25 1999 UTC (13 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.328: +2 -1 lines
Diff to previous 1.328 (colored)

Defopt MAXUPRC.

Revision 1.328 / (download) - annotate - [select for diffs], Fri Oct 29 21:41:19 1999 UTC (13 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.327: +2 -1 lines
Diff to previous 1.327 (colored)

forgot one patch.  add a define for wavelan

Revision 1.327 / (download) - annotate - [select for diffs], Fri Oct 29 21:35:43 1999 UTC (13 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.326: +5 -1 lines
Diff to previous 1.326 (colored)

Add a placeholder for the ISA WaveLAN card

Revision 1.326 / (download) - annotate - [select for diffs], Wed Oct 27 13:18:02 1999 UTC (13 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.325: +5 -1 lines
Diff to previous 1.325 (colored)

Add AC97 mixer/codec support.  From OpenBSD and FreeBSD.

Revision 1.325 / (download) - annotate - [select for diffs], Mon Oct 25 19:18:10 1999 UTC (13 years, 7 months ago) by drochner
Branch: MAIN
Changes since 1.324: +4 -3 lines
Diff to previous 1.324 (colored)

defopt the XNS protocol (options NS), clean up the use of related
option headers / defines

Revision 1.324 / (download) - annotate - [select for diffs], Fri Oct 15 06:09:29 1999 UTC (13 years, 7 months ago) by haya
Branch: MAIN
Branch point for: thorpej_scsipi, fvdl-softdep
Changes since 1.323: +3 -1 lines
Diff to previous 1.323 (colored)

This is the first check-in of CardBus driver.  CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
  o Conform to the KNF more strictly.
  o Be unified with pcmcia code as much as possible.
  o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

	sys/arch/i386/conf/files.i386
	sys/arch/macppc/conf/files.macppc
	sys/conf/files
	sys/dev/ic/elinkxl.c
	sys/dev/ic/elinkxlvar.h
	sys/dev/ic/i82365.c
	sys/dev/ic/i82365var.h
	sys/dev/isa/i82365_isasubr.c
	sys/dev/pci/files.pci
	sys/dev/pcmcia/pcmcia.c
	sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

	sys/arch/i386/conf/CARDBUS
	sys/arch/i386/include/rbus_machdep.h
	sys/arch/i386/i386/rbus_machdep.c
	sys/arch/macppc/include/rbus_machdep.h
	sys/arch/macppc/macppc/rbus_machdep.c
	sys/dev/cardbus/if_ex_cardbus.c
	sys/dev/cardbus/Makefile.cardbusdevs
	sys/dev/cardbus/cardbus.c
	sys/dev/cardbus/cardbus_map.c
	sys/dev/cardbus/cardbusdevs
	sys/dev/cardbus/cardbusdevs.h
	sys/dev/cardbus/cardbusdevs_data.h
	sys/dev/cardbus/cardbusvar.h
	sys/dev/cardbus/cardslot.c
	sys/dev/cardbus/cardslotvar.h
	sys/dev/cardbus/devlist2h.awk
	sys/dev/cardbus/files.cardbus
	sys/dev/cardbus/if_fxp_cardbus.c
	sys/dev/cardbus/pccardcis.h
	sys/dev/cardbus/rbus.c
	sys/dev/cardbus/rbus.h
	sys/dev/pci/pccbb.c
	sys/dev/pci/pccbbreg.h
	sys/dev/pci/pccbbvar.h

Revision 1.323 / (download) - annotate - [select for diffs], Thu Oct 14 18:42:15 1999 UTC (13 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.322: +1 -2 lines
Diff to previous 1.322 (colored)

remove the MI Debugger() added recently. It doesn't make sense in
it's current form.
make Debugger just an alias for cpu_Debugger

Revision 1.322 / (download) - annotate - [select for diffs], Wed Oct 13 18:37:12 1999 UTC (13 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.321: +5 -1 lines
Diff to previous 1.321 (colored)

Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.

Note: this is a placeholder right now; the driver should be ready in the
next few days.

Revision 1.321 / (download) - annotate - [select for diffs], Tue Oct 12 17:08:56 1999 UTC (13 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.320: +2 -1 lines
Diff to previous 1.320 (colored)

rename the MD Debugger() to cpu_Debugger()
add MI Debugger() which switches to console if wscons is used prior
to calling cpu_Debugger()

Revision 1.320 / (download) - annotate - [select for diffs], Mon Oct 11 16:15:13 1999 UTC (13 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.319: +1 -12 lines
Diff to previous 1.319 (colored)

remove the ipx stuff accidentaly added in rev 1.260.

Revision 1.319 / (download) - annotate - [select for diffs], Tue Sep 28 14:47:02 1999 UTC (13 years, 7 months ago) by bouyer
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.318: +2 -2 lines
Diff to previous 1.318 (colored)

Remplace kern.shortcorename sysctl with a more flexible sheme,
core filename format, which allow to change the name of the core dump,
and to relocate it in a directory. Credits to Bill Sommerfeld for giving me
the idea :)
The default core filename format can be changed by options DEFCORENAME and/or
kern.defcorename
Create a new sysctl tree, proc, which holds per-process values (for now
the corename format, and resources limits). Process is designed by its pid
at the second level name. These values are inherited on fork, and the corename
fomat is reset to defcorename on suid/sgid exec.
Create a p_sugid() function, to take appropriate actions on suid/sgid
exec (for now set the P_SUGID flag and reset the per-proc corename).
Adjust dosetrlimit() to allow changing limits of one proc by another, with
credential controls.

Revision 1.318 / (download) - annotate - [select for diffs], Mon Sep 27 23:44:27 1999 UTC (13 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.317: +5 -1 lines
Diff to previous 1.317 (colored)

Add glue for 'dpt' driver.

Revision 1.317 / (download) - annotate - [select for diffs], Sat Sep 25 17:49:27 1999 UTC (13 years, 8 months ago) by is
Branch: MAIN
Changes since 1.316: +2 -2 lines
Diff to previous 1.316 (colored)

Decouple IP mtu for ARCnet devices from interface MTU.
This is important, because for most protocols, link level fragmentation is
used, but with different default effective MTUs. (e.g.: IPv4 default MTU
is 1500 octets, IPv6 default MTU is 9072 octets).

Revision 1.316 / (download) - annotate - [select for diffs], Sun Sep 19 21:48:09 1999 UTC (13 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.315: +2 -1 lines
Diff to previous 1.315 (colored)

- mc6845's cursor is disabled by punching bit 6 of cursor start register.
- Add new option (PCDISPLAY_SOFTCURSOR) that provides a large, non-blinking
  cursor in software.

Revision 1.315 / (download) - annotate - [select for diffs], Sun Sep 12 01:17:32 1999 UTC (13 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.314: +1 -2 lines
Diff to previous 1.314 (colored)

eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.

Revision 1.314 / (download) - annotate - [select for diffs], Wed Sep 1 00:32:42 1999 UTC (13 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.313: +5 -1 lines
Diff to previous 1.313 (colored)

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.

Revision 1.313 / (download) - annotate - [select for diffs], Sat Aug 21 03:47:50 1999 UTC (13 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.312: +2 -2 lines
Diff to previous 1.312 (colored)

Add needs-flag to if_fddisubr.c for previous commit

Revision 1.312 / (download) - annotate - [select for diffs], Tue Aug 17 06:42:41 1999 UTC (13 years, 9 months ago) by enami
Branch: MAIN
Changes since 1.311: +1 -5 lines
Diff to previous 1.311 (colored)

DEVPAGER, SWAPPAGER and VNODEPAGER are no longer used (except std.pica).

Revision