140875 Commits

Author SHA1 Message Date
elad
2fc1513987 The emulation for these should be "native", not "netbsd".
Noted by Ray Lai.
2005-10-26 21:17:23 +00:00
uwe
29511150ab Add missing extern to make the definition of softnet_cookie into a declaration. 2005-10-26 21:11:05 +00:00
uwe
7781633361 Cosmetic. Kill __P. Remove few remaining paramter names in
prototypes.  CONSTCOND in while (0).  Move wcopy/wzero declarations
with the rest of machdep.c.  Add some blank lines for readability.
2005-10-26 20:52:33 +00:00
rpaulo
89c0260a2e s/SYNAPTICS_DEBUG/SYNAPTICSDEBUG/ to keep consistency. 2005-10-26 17:20:19 +00:00
macallan
9a4155718f Add include pathc for fb, render and xaa 2005-10-26 10:56:44 +00:00
chs
0a185981ab in sa_switch(), if after we set up the LWP with cpu_setfunc(), we decide that
we can't do an SA context switch after all, we need to clear the sau from
the LWP's arg.  sa_switch() frees the sau in this case, but if we don't
reset the LWP's state and the process exits, then the exiting LWP will
try to free the sau again.

also, change the sadebug printf stuff to use printf_nolog(), since
otherwise we deadlock because we're already holding sched_lock and
the normal printf() will try to wakeup the log reader.
2005-10-26 06:24:04 +00:00
jschauma
ea274fd69c Rather than '-h' suppressing '-s' when using '-l', make it display
the blocks used in human readable form, as suggested by Alan Barrett
and Daniel Carosone.
2005-10-26 02:24:22 +00:00
uwe
5c38a3d254 sigcode is needed only for COMPAT_16. 2005-10-26 01:30:20 +00:00
christos
23dfb0b17f eliminate unused passpromptlen and copy a default password each time we
don't receive one in SRA_CONTINUE.
2005-10-25 23:36:07 +00:00
uwe
0e0096c441 Compute c_totalsize for split caches correctly: it's max, not sum (and
we even have that documented in cache.h).  Initialize c_nlines for
split caches.

This should fix srmmu cache flush routines for split I/D caches that
has been broken since cache.c revision 1.79 started using c_nlines.
2005-10-25 22:12:07 +00:00
uwe
c2ec5cfaef Sync c_linesize and c_nlines comments with reality. 2005-10-25 22:03:43 +00:00
christos
64fe9d910c XXX: SRA does not have a protocol feature to pass back a password prompt
which is needed for things like S/KEY. We abuse the SRA_CONTINUE message
passing the password prompt there. That is usually NULL, so SRA
implementations usually ignore it. While I am here, if telnet_gets() fails
[user hit <eof> for example], then we exit.
2005-10-25 22:03:34 +00:00
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