Commit Graph

156168 Commits

Author SHA1 Message Date
pooka 7d7c04f43a * sprinkle some comments to obvious XXX places
* remove outdated #ifdef from write
* return 0 if unmount is not supported instead of ENOSYS
2007-02-11 10:51:53 +00:00
yamt fb8ab06b18 remove a forward decl of sa_emul. 2007-02-11 10:47:38 +00:00
tsutsui a5c3cb6b54 Note news68k generic softintr(9). 2007-02-11 10:39:31 +00:00
agc 992d360ec2 Note the librefuse addition, adding compatibility with the file system
in userspace, layered on top of libpuffs.
2007-02-11 10:35:09 +00:00
agc 4cccedc203 Add an implementation of the file system in userspace functionality,
based on top of libpuffs.  This version is still barebones and
incomplete, but will benefit from others working on it, rather than
just me.

The option code has still to be implemented, but this gets far enough
to run hellofs (from the fuse web page):

	% priv ./hellofs ~/hellofs/mnt &
	% l ~/hellofs/mnt
	total 2
	drwxr-xr-x  2 root  wheel    0 Jan  1  1970 .
	drwxr-xr-x  4 agc   agc    512 Feb  9 18:05 ..
	-r--r--r--  1 root  wheel   13 Jan  1  1970 hello
	% cat ~/hellofs/mnt/hello
	Hello World!
	% df ~/hellofs/mnt
	Filesystem           1K-blocks      Used     Avail Capacity  Mounted on
	/dev/dk0              28101396  18946682   7749646    70%    /
	kernfs                       1         1         0   100%    /kern
	procfs                       4         4         0   100%    /proc
	ptyfs                        1         1         0   100%    /dev/pts
	puffs:refuse:hellofs  28101396  18946682   7749646    70%    /home/agc/hellofs/mnt
	% mount -v -v
	...
	mount: mount_puffs not found for /home/agc/hellofs/mnt
	puffs:refuse:hellofs on /home/agc/hellofs/mnt type puffs (nosuid, nodev, fsid: 0xcb01/0x6acb, reads: sync 0 async 0, writes: sync 0 async 0)
	%

This code is not enabled by default. Yet.
2007-02-11 10:31:37 +00:00
mlelstv 8d08c62fcc Make setsockopt return compatible error codes for AF_UNIX sockets. 2007-02-11 08:00:59 +00:00
ad 6bcf70b518 - Add/correct comments.
- Print correct function name when an assertion triggers.
2007-02-10 21:07:52 +00:00
reed b173114f5c Fix typo/mispelling in comment. 2007-02-10 19:40:58 +00:00
reed 5e11b7d474 Fix spelling/typo. 2007-02-10 19:40:10 +00:00
reed ed94d203e5 Fix mispelling in comment. 2007-02-10 19:39:02 +00:00
reed a5a4385fd4 Fix typo/mispelling in comment. 2007-02-10 19:36:56 +00:00
reed a87b66bd95 Add "catman" to the SEE ALSO. 2007-02-10 19:27:39 +00:00
macallan ba96662cde add missing defflags from previous commits 2007-02-10 19:10:24 +00:00
reed ab2b69b1e9 Remove sentence that says variables can be set to NO to
disable the test. There is no "test". So it is confusing.

Instead say:

  The variables described below can be set to ``YES'' or ``NO'' in the
  /etc/weekly.conf file.  The default settings are in the
  /etc/defaults/weekly.conf file.  (Note that you should never edit
  /etc/defaults/weekly.conf directly, as it is often replaced during system
  upgrades.)

(I don't suggest that all are YES because of a possible upcoming
addition.)
2007-02-10 18:27:28 +00:00
ad 8966ad6a93 Further changes to use compat process flags mapped by sysctl. To be
revisited soon.
2007-02-10 18:20:12 +00:00
hannken 39aa6289a6 newlock2: curproc->p_sigctx.ps_sigmask -> curlwp->l_sigmask.
Ok: Andrew Doran <ad@netbsd.org>
2007-02-10 18:16:18 +00:00
xtraeme b42a191f38 Add pseudo-device cmos - see cmos(4)
Remove unit number in pseudo-device swwdog, by default it is 1.
2007-02-10 18:00:59 +00:00
nakayama f7be5e7f25 s/___asm/__asm/ 2007-02-10 17:34:46 +00:00
ad 5df226f2ad NSPR builds seem to choke on 'inline'. Replace it with __inline. 2007-02-10 16:19:39 +00:00
ad 2b0ac2e782 Fix a pasto (mutex_exit -> mutex_enter). 2007-02-10 16:08:16 +00:00
hannken 9c928583f1 newlock2: syncer_lock is now a mutex. 2007-02-10 15:51:02 +00:00
salo 1e8bf357a2 regen. 2007-02-10 14:30:38 +00:00
salo 9cc3a93f72 Add support for CDMA modems sold by Eurotel (now O2) in .cz
From Dan Bilik <dan at mail dot neosystem dot cz> via private mail.
2007-02-10 14:28:55 +00:00
yamt 997a2a3c4f remove function prototypes of sa_awaken. 2007-02-10 14:02:01 +00:00
skrll 1472d08a88 Fix a label. 2007-02-10 13:21:52 +00:00
pooka cd66766e1a * in write, do sync pageflush for the ubc case every 64k, otherwise
the user file server can't really keep up and just writing and writing
  may result in kernel memory exhaustion.  this lossage is also partially
  due to the stupid way mtime + size info is handled currently, but that
  should change soon (*knock knock* ;)
* score a few debug printfs
2007-02-10 13:12:43 +00:00
tsutsui 67b858ce4e - fix prototype for ctrl_int2 port (u_char -> uint8_t) in intr.h
- use proper macro to assert/clear ctrl_int2 port for softintr
- use KDASSERT() rather than #ifdef DEBUG + assert()
- don't count uvmexp.softs twice in softintr_dispatch()

XXX: Maybe we should have common m68k/softintr.c like mips ports.
2007-02-10 13:08:30 +00:00
tsutsui 6da4c2af88 Clear IFF_OACTIVE in re_txeof() only if there are more than RE_TXDESC_RSVD
free TXDESCs. From FreeBSD, but I'm still wondering why we have to reserve
some free TXDESCs even on re_start().
2007-02-10 12:46:29 +00:00
dsl cb94bcc573 Remove some ancient debugging leftovers left in by Michael Lorenz. 2007-02-10 12:22:26 +00:00
skrll de10cef758 Destroy a mutex correctly. That is, overright the owner and don't set
mtx_waiters.
2007-02-10 12:15:24 +00:00
ad 7fba50c03c 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.
2007-02-10 11:55:23 +00:00
ad 2a34c11ab8 Regen. 2007-02-10 11:32:58 +00:00
ad b6ab00c330 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.
2007-02-10 11:32:21 +00:00
ad 743f737961 Add manual pages for new LWP syscalls. 2007-02-10 10:38:25 +00:00
mlelstv f3a70d9e2c Get the correct RCS-IDs included 2007-02-10 10:36:50 +00:00
mlelstv 0689aa7931 Get the correct RCS-Id pulled in 2007-02-10 10:35:42 +00:00
ad e7cc9f60bb - Sync with reality.
- Fix date.
2007-02-10 10:34:03 +00:00
ad 8f4adbff6b Regen. 2007-02-10 10:25:44 +00:00
ad f7c038012b Fix arguments to _lwp_park/unpark/unpark_all to match userland. 2007-02-10 10:24:44 +00:00
mlelstv b773ba67f1 Add support for VT8237A/VT82C586A PCI-ISA-Bridge
Fixes PR kern/35314
2007-02-10 10:23:18 +00:00
ad 36d73dc21a Remove unused file. 2007-02-10 10:18:32 +00:00
ad 1727553fe8 Make a couple more updates for signal handling. 2007-02-10 10:16:33 +00:00
ad 6faf4c1b76 Sprinkle some more locks. 2007-02-10 10:12:34 +00:00
ad 8cfae44a35 Sprinkle a couple more locks. 2007-02-10 10:09:01 +00:00
skrll 24f8ad7f38 Remove empty files. 2007-02-10 10:02:49 +00:00
degroote e2211411a4 Commit my SoC work
Add ipv6 support for fast_ipsec
Note that currently, packet with extensions headers are not correctly
supported
Change the ipcomp logic
2007-02-10 09:43:05 +00:00
mlelstv 1fb16b2557 The diagnostic code doesn't track busy_free correctly when a
device gets removed. However, when the diagnostic check fails,
it is much better to complete the free operation than to abort
it, because this just causes an infinite loop.
2007-02-10 07:52:29 +00:00
mlelstv cf2092aa79 Option N.V. is the real vendor, Vodafone just sells the UMTS cards.
Add support for Globetrotter Fusion Quad Lite cards.
2007-02-10 07:44:00 +00:00
tsutsui 83a47fa604 Pull a multicast fix from FreeBSD's if_re.c rev 1.81:
Fix rtk_setmulti() so that it works correctly for PCIe chips where
 the multicast hash table are in reverse order compared to older
 devices.

Closes PR kern/35579 from Nino Dehne.
2007-02-10 03:58:32 +00:00
tsutsui b184e0b11b Fix botch on newlock2 merge. 2007-02-10 03:38:47 +00:00