blymn
3c0adb7d99
Make i/o statistics collection more generic, include tape drives and
...
nfs mounts in the set of devices that statistics will be reported on.
2006-04-14 13:09:05 +00:00
oster
82818fa5ca
Explicitly include <m68k/frame.h> here, rather than relying on it getting
...
pulled in via signal.h by accident.
2006-04-01 18:02:04 +00:00
tsutsui
7e2e0fa776
Add a missing parenthesis.
2006-03-29 16:03:37 +00:00
thorpej
2be6494fc9
Use device_cfdata().
2006-03-29 04:16:44 +00:00
pavel
dc1372c547
Add stf to all kernel configs which have INET6 and gif, except the INSTALL
...
ones and those for specific machines of developers. PR 32304.
OK'ed by rpaulo.
N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
2006-03-28 20:58:39 +00:00
thorpej
39cd836ee1
Use device_unit().
2006-03-28 17:38:24 +00:00
tsutsui
14b642c7d7
Hmm, apply a missed fix for hp300 in the folloing commit:
...
http://mail-index.netbsd.org/source-changes/2002/02/14/0023.html
> allow writing to write-only mappings. fixes PR 3493.
2006-03-26 02:33:31 +00:00
tsutsui
17b38bf99c
Remove/sort some #include headers.
2006-03-26 02:28:37 +00:00
tsutsui
9bb95b5330
Fix a typo in previous.
2006-03-26 02:02:01 +00:00
tsutsui
b8b61c2254
- fix botch in comment on register prefix removal
...
- use m68k_page_offset() macro
- some KNF
2006-03-26 01:59:31 +00:00
tsutsui
e627d48e89
Make this compile with options DEBUG.
2006-03-26 01:58:28 +00:00
tsutsui
2bc47497e2
Include header files rather than local declaration.
2006-03-26 01:50:07 +00:00
tsutsui
e46696d02a
Make this compile with options PANICBUTTON.
2006-03-26 01:49:09 +00:00
tsutsui
c04fe5f13c
Disable KERNFS since installer will use dmesg(8).
2006-03-21 03:42:28 +00:00
tsutsui
8cb3a5a803
Fix inverted logic on device_is_a() conversion.
2006-03-21 01:15:03 +00:00
tsutsui
8fe92db798
Add trailing semicolons to some macroes which have been changed
...
using do{}while(/*CONSTCOND*/0) statements.
2006-03-19 19:17:01 +00:00
tsutsui
9834d09359
- TAB/space cleanup
...
- use do{}while(/*CONSTCOND*/0) for macro with multiple statements
2006-03-19 06:50:13 +00:00
tsutsui
1eda58c44f
TAB/space cleanup.
2006-03-19 06:47:35 +00:00
tsutsui
2e1bb9e9d2
Replace MALLOC(9) with malloc(9) in non critical path.
2006-03-19 06:13:43 +00:00
drochner
47fbb9d86b
adapt to uvm_fault() interface cleanup: kill the useless 3rd argument
2006-03-15 18:12:02 +00:00
lukem
a1f606d3fd
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
...
Add a space between numbers and Hz unit.
2006-03-08 23:46:22 +00:00
thorpej
132ce1f07f
Use device_is_a()
2006-02-26 05:24:52 +00:00
wiz
5d1e8b2745
Fix some typos.
2006-02-25 02:28:55 +00:00
thorpej
458b3e43f7
Use device_parent().
2006-02-23 05:37:46 +00:00
thorpej
58853410ae
Use device_class() instead of accessing dv_class directly.
2006-02-21 04:32:38 +00:00
perry
fbae48b901
Change "inline" back to "__inline" in .h files -- C99 is still too
...
new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
2006-02-16 20:17:12 +00:00
cube
6ff13154dd
Remove 'count' argument for pseudo-devices that ignore it
...
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
2006-02-05 05:01:48 +00:00
rpaulo
e1c6b6ed0f
bpfilter doesn't accept count anymore.
2006-02-04 02:53:13 +00:00
reinoud
a92fdbbc53
Add commented out UDF file-system entry in all GENERIC configurations.
2006-02-02 21:32:08 +00:00
tsutsui
438f912c45
Fix botch on ANSIfy.
2006-01-28 12:00:56 +00:00
christos
606bb2caed
free -> dealloc
...
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
perry
2d65de2479
bare asm -> __asm
2005-12-24 22:45:33 +00:00
perry
5f1c88d70d
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:06:46 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
elad
4591e5acfd
Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
...
and remove the i386 GENERIC_VERIEXEC config.
2005-12-09 23:34:01 +00:00
tsutsui
2a32b6081e
Remove obsolete options VNODE_OP_NOINLINE.
2005-12-07 12:40:46 +00:00
tsutsui
ff9b47d69e
Adjust comments for options FFS_NO_SNAPSHOT.
...
XXX: This option should be mentioned in options(4).
2005-12-07 09:10:11 +00:00
tsutsui
9a79305c7a
Protect against multiple inclusion.
2005-12-06 17:15:13 +00:00
tsutsui
47e5fb6e7d
Use _HP300_FOO_H_ instead of _MACHINE_FOO_H_.
2005-12-06 17:06:00 +00:00
tsutsui
d5503af8b3
Remove defines DB_ELF_SYMBOLS and DB_ELFSIZE, which are defined
...
in <m68k/db_machdep.h>.
XXX: should we remove DB_AOUT_SYMBOLS from <m68k/db_machdep.h>, or
XXX: should all m68k ports still have DB_AOUT_SYMBOLS?
2005-12-06 17:05:02 +00:00
tsutsui
2300cc78ab
Remove multiple inclusion protection from files which just include
...
MI m68k headers and don't have any own declarations.
2005-12-06 17:02:53 +00:00
chs
59fddeceaa
turn off DEBUG and DIAGNOSTIC in GENERIC kernels so that they
...
are compatible with the LKMs that are part of the release.
2005-11-03 16:48:29 +00:00
chs
df1287ee8b
fix crash dumps on m68k platforms, cpu_kcore_hdr_t is larger than
...
512 bytes now so we need a bigger buffer. PR 26958.
2005-10-30 15:49:39 +00:00
yamt
aec75b1cc6
- 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)
2005-10-15 17:29:10 +00:00
yamt
d597202302
make VMSWAP optional again.
2005-09-17 14:38:38 +00:00
yamt
7e71f567e4
include "conf/std".
2005-09-17 09:44:05 +00:00
he
dc4ed2e4cb
Patterned after next68k, omit inclusion of <sys/device.h> if we
...
are not in _KERNEL. This should work around our lint problems
related to "unspecified-size array at end of struct" constructs.
2005-09-11 23:15:18 +00:00
jmmv
ec93365612
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@).
2005-09-10 19:20:48 +00:00
kleink
aece7a90fd
Change the driver open function's conditional for overriding exclusive tty
...
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
2005-09-06 21:40:37 +00:00
drochner
44bf0a7ee2
s/locdesc_t/int/g
2005-08-26 13:19:34 +00:00