martin
3e4f7c877a
Add missing <sys/device.h> include.
...
XXX - this is handled inconsistently accross the ath* files, maybe we
should move it to ath_netbsd.h and be done?
2005-10-25 19:59:02 +00:00
riz
4df8bb6c9b
source is too big for multi-cd3 when pkgsrc is included; substitute
...
sgimips instead.
2005-10-25 19:43:20 +00:00
drochner
afcc05d0fe
finally nuke the useless cardbus "dev" locator
2005-10-25 16:37:50 +00:00
yamt
78e012015b
add some #if 0'ed out SADB_X_* definitions found in kame tree
...
to avoid conflicting numbers.
2005-10-25 06:12:49 +00:00
wiz
cb875aba7d
New sentence, new line.
2005-10-25 02:27:18 +00:00
wiz
acaf0263d7
Fix a typo.
2005-10-25 02:25:32 +00:00
dyoung
689c61f61d
Overhaul makefs -t cd9660.
...
Functional: Do not add a missing period or a version number to
directories, since that doesn't fit the standard (thanks
Daniel Watt).
Add RRIP PX records (POSIX meta-information) to '.'
and '..' entries. Quiets kernel complaint, when we
mount a cd9660 filesystem, that there is a missing PX
entry.
Cosmetic: Reduce height of staircases. Remove an unused member
from struct _cd9660node. Extract a subroutine. KNF.
Use a TAILQ macros for lists of both SUSP/RRIP attributes
and directory entries.
XXX
XXX The new RRIP PX entries are not quite right.
XXX
2005-10-25 02:22:04 +00:00
jdolecek
bb7b3655f0
constify
2005-10-24 16:31:54 +00:00
cube
75d561e358
Move prototypes for siginfo32 to/from siginfo converters at the right
...
place.
2005-10-24 15:28:09 +00:00
hannken
366a53ff0c
Run all i/o from or to backing store through fss_bs_io().
...
Replace VOP_BMAP()/VOP_BALLOC() by vn_rdwr()/VOP_PUTPAGES().
Inspired by discussion on tech-kern@
2005-10-24 14:25:06 +00:00
simonb
0dc198a64d
Add a "/* !_SYS_TIMEVAR_H_ */" comment to the #endif at the bottom
...
of this file.
2005-10-24 13:43:27 +00:00
christos
f3c42fa4d4
Don't assume that fts(3) will add a slash to the name. From Steve Woodford.
...
KNF.
2005-10-24 13:17:22 +00:00
kleink
fd4c891ff8
Remove the "" -> "." target conversion kludge.
2005-10-24 12:59:07 +00:00
christos
6f981830a9
PR/31905: Wolfgang Stukenbrock: Termios ioctls TIOCMBIC and TIOCMBIS missing
...
in linux emulation code
2005-10-24 12:58:34 +00:00
chs
da3f825c26
remove the assertion in uvm_swapout_threads() about LSONPROC lwps
...
not running on the same CPU as the swapper. l_stat is protected by
sched_lock, which isn't held here, so we can race with that lwp
starting to run and see its l_cpu not updated yet, as in PR 31870.
we check l_stat again in uvm_swapout() while holding sched_lock,
so the race itself is harmless.
2005-10-24 00:26:37 +00:00
jschauma
3478ebe108
document that -h makes -l suppress -s.
...
(Ie 'ls -lhs' == 'ls -lh')
2005-10-23 20:52:47 +00:00
christos
8f370e24ef
The previous change (to use bus_space_read_2), was broken because it was
...
reading from an odd offset. From Robert Elz
2005-10-23 20:03:04 +00:00
christos
a751ffb4fe
Adjust for icmp_error signature.
2005-10-23 19:40:20 +00:00
christos
ff7f1eddad
No need to pass an interface when only the mtu is needed. From OpenBSD via
...
Liam Foy.
2005-10-23 18:38:53 +00:00
dsl
c58f95b0f5
Don't read entry after end of array.
...
Discovered by Neil Ludban running curses under 'ElecticFence'
2005-10-23 18:38:52 +00:00
kochi
1b13c5e5de
revive a piece of code for workaround for buggy BIOSes.
...
this code was accidentally dropped when the last merge of ACPI-CA.
(this code is one of NetBSD-local changes against original ACPI-CA)
2005-10-23 16:39:29 +00:00
thorpej
327a57156c
Use the real field name (d_fileno instead of d_ino).
2005-10-23 16:12:02 +00:00
peter
1c9957b31e
- Remove options PORTMASTER (not used any code).
...
- Add (commented out) options DEBUG.
- Add "pseudo-device ksyms".
2005-10-23 15:34:19 +00:00
peter
70417e76a9
Make this compile when DEBUG is defined.
2005-10-23 15:30:02 +00:00
peter
5280269a8f
Add a dummy WSKBDIO_GETLEDS, to make "wsconsctl -ka" work.
2005-10-23 15:27:06 +00:00
peter
61eb4528fc
Remove the DEBUG define, this should be set in the config file.
2005-10-23 15:21:08 +00:00
peter
8a5e924b94
- Use ANSI function decls.
...
- KNF.
2005-10-23 15:19:58 +00:00
peter
fcadfb2052
- Use ANSI function decls.
...
- Add static, KNF.
- Print a newline in the attach routine for pretty dmesg output.
2005-10-23 15:18:54 +00:00
peter
d62e20c6c5
Minor KNF.
2005-10-23 15:15:39 +00:00
peter
14b26643ea
- Merge Interrupt/SPL related stuff from hpcarm/hpcarm/stubs.c.
...
PR/17346 from Kevin Lo. ok by ichiro@
- Remove __P.
- Use ANSI functions decls.
- Minor KNF.
2005-10-23 15:15:09 +00:00
peter
83a03b3e58
Use arm/arm32/stubs.c instead of hpcarm/hpcarm/stubs.c to reduce
...
duplicated code. PR/17346 from Kevin Lo. ok by ichiro@
2005-10-23 15:14:39 +00:00
peter
70500cd708
- Remove __P.
...
- Use ANSI function decls.
- Put some debug information into #ifdef DEBUG.
2005-10-23 15:08:18 +00:00
peter
ab405b2010
- Remove __P.
...
- Use ANSI function decls.
- Tweak some comments.
- Fix a few typos.
- KNF.
2005-10-23 15:06:35 +00:00
peter
545de90bdb
Fix some typos.
2005-10-23 15:04:43 +00:00
peter
6a6d8015e0
Fix a typo.
2005-10-23 15:02:48 +00:00
peter
f2afca5030
- Remove __P.
...
- Remove var names in function declaration.
2005-10-23 15:02:30 +00:00
jmcneill
f18dd07571
If the temperature sensors are disabled, enable them rather than giving up.
2005-10-23 14:01:36 +00:00
cube
c42d7a0c74
Only include sys/systm.h under _KERNEL, otherwise it needlessly pollutes
...
namespace, as shown by libkvm failing to compile for shadowing one of the
variables listed in sys/systm.h. Reported by xtraeme@.
2005-10-23 11:41:08 +00:00
christos
f229ea7f53
make debugging code compile after 64 bit inode changes.
2005-10-23 04:28:53 +00:00
cube
fc1218444f
Regen (kqueue, kevent).
2005-10-23 01:34:33 +00:00
cube
97e4d77453
- Split sys_kevent into kevent1 so that it can be used by COMPAT_NETBSD32
...
code.
- To achieve COMPAT_NETBSD32 compatibility, introduce a parameter to
kevent1 that points to functions that do the actual copyin/copyout
operations. This is similar to what was done in FreeBSD by Paul Saab.
- Add the COMPAT_NETBSD32 definitions and hooks.
2005-10-23 01:33:32 +00:00
cube
388b97e039
Implement a few changes needed to properly resolve PR#30924, as
...
discussed in the PR.
- introduce sys/timevar.h to hold kernel-specific stuff relevant to
sys/time.h. Ideally, timevar.h would contain all (or almost) of the
#ifdef _KERNEL part of time.h, but that's a pretty big and tedious
change to make. For now, it will contain only the prototypes I
introduced when working on COMPAT_NETBSD32.
- split copyinout_t into copyin_t and copyout_t, it makes prototypes more
explicit about the meaning of a given argument. Suggested by yamt@.
- move copyinout_t definition in sys/time.h to systm.h as copyin_t and
copyout_t
- make everything uses the new types and include the proper headers at
the proper places.
2005-10-23 00:09:14 +00:00
christos
2ce4c16c0d
Instead of special-casing root, special case paths that end with a /, so
...
that find foo/ does not print foo//bar. From FreeBSD.
2005-10-22 20:55:13 +00:00
christos
41a71d9929
change tr '[a-z]' '[A-Z]' to tr '[:lower:]' '[:upper:]' so that POSIX systems
...
work properly regardless of environment variable settings.
2005-10-22 16:45:03 +00:00
riz
47cc213a59
Don't make sgimips images bootable unless EXTFILES.sgimips is defined.
...
While I'm here, fix so that building from a clean objdir works
properly.
2005-10-22 15:56:16 +00:00
riz
52bd3a4883
Add configurations for the NetBSD 2.1 release.
2005-10-22 15:52:43 +00:00
nonaka
0827467dac
Don't forget original allocated memory address.
2005-10-22 15:32:48 +00:00
nonaka
2f7c0c1f96
fix EMODE instruction cache range index op.
2005-10-22 15:13:38 +00:00
nonaka
4fa7623be8
Use I2C_OP_{READ,WRITE}_WITH_STOP instead of I2C_OP_{READ,WRITE}.
2005-10-22 15:12:28 +00:00
wiz
850fd51087
Add /usr/share/legal.
2005-10-22 12:31:52 +00:00