150840 Commits

Author SHA1 Message Date
plunky
4f1cbddc12 update to bluetooth device attachment:
remove pseudo-device btdev(4) and inherent limitations

add bthub(4) which autoconfigures at bluetooth controllers as they
are enabled. bluetooth devices now attach here.

btdevctl(8) and its cache is updated to handle new semantics

etc/rc.d/btdevctl is updated to configure devices from a list
in /etc/bluetooth/btdevctl.conf
2006-09-10 15:45:55 +00:00
bouyer
96c9f80c3d Hypercalls returns negative error codes, so return -error in ioctl
function.
2006-09-10 14:34:11 +00:00
tsutsui
e5dc12ca9c Change mips3_clockintr() to take (struct clockframe *) rather than
pc and status since it calls hardclock(9) anyway.
OK'ed by gdamore on port-mips.
2006-09-10 14:27:38 +00:00
gavan
843ed515f0 dsrtc_settime already takes a volatile struct timeval *, also qualify
with volatile for dsrtc_gettime.
2006-09-10 14:06:54 +00:00
kardel
6d944d24c9 correct usage() handling 2006-09-10 13:28:29 +00:00
kardel
2bd639915d rename index to idx to avoid shadowing index() 2006-09-10 13:21:46 +00:00
kardel
a246979d62 add time regression test directory 2006-09-10 12:23:10 +00:00
kardel
a2576338b4 exit early on negative time deltas 2006-09-10 11:46:57 +00:00
kardel
68a8ba43dc Add regression test to verify the monotonocity of the
CLOCK_REALTIME implementation
2006-09-10 11:37:04 +00:00
tsutsui
aca8f57145 Change dumb DELAY(9) macro into inline version with asm like
other mips ports for gcc4's aggressive optimization.
2006-09-10 11:12:20 +00:00
simonb
f4ec8156e1 Add NetBSD RCS tag to top of file. 2006-09-10 11:03:14 +00:00
blymn
eee340bffe Prevent a veriexec file from being truncated. 2006-09-10 10:59:44 +00:00
yamt
81662b1d00 yamt-pdpolicy: update base 2006-09-10 08:56:54 +00:00
yamt
809688e00c mention an intention of yamt-lazymbuf. 2006-09-10 08:12:58 +00:00
tsutsui
3134621b5b Fix splclock()/splx() mismatch in previous. 2006-09-10 08:09:46 +00:00
tsutsui
ca3e00268a - add more sanity checks (from playstation2/clock.c)
- fix a typo
2006-09-10 07:06:48 +00:00
tsutsui
10e0e7415c Remove or comment out now unused code after MI mips3_clockintr migration. 2006-09-10 06:41:09 +00:00
tsutsui
c231727267 Fix a typo (settime -> gettime) so that we can get time. 2006-09-10 06:39:00 +00:00
yamt
4d81bcfe21 unexport getnewbuf. 2006-09-10 06:35:42 +00:00
dbj
8bcbd194da make comment match logic in cache_lookup dvp unlock code 2006-09-10 05:51:33 +00:00
manu
bdfbd98ac1 When getting the program argument or environement string, we previously
assumed that all the strings were stored in a row, separated by NUL chars,
 at the address pointed bu argv[0] (or envp[0]).

This was wrong: if the program changed argvs[0], we still read the
first string correctly, but the next strings did contain unexpected data.

The fix: read the whole argv (or envp) array, then copy the string one by
one, using their addresses in argv (or agrp)
2006-09-10 05:46:02 +00:00
riz
ed679e385b scan_ffs -F file support has been pulled up to netbsd-4. 2006-09-10 05:14:25 +00:00
tsutsui
f1bcafd071 - note hp300 timecounter
- use date when changes committed and sort entries by date
2006-09-10 05:06:23 +00:00
riz
c55d464580 Add msk and mskc. 2006-09-10 02:28:33 +00:00
riz
da05843338 Note addition of msk(4). 2006-09-09 23:57:21 +00:00
riz
11d88bbe54 Add msk(4) info to the sk(4) manpage, and install links (from OpenBSD).
Also, add msk to DEVNAMES.
2006-09-09 23:52:27 +00:00
mrg
2012483547 significant clean up effort, largely from petrov@ via martin@.
- fix a bunch of comments for proc->lwp
- remove old TRAPTRACE, NOT_DEBUG, etc. code that has bit-rotted
- put some older DEBUG code under NOT_DEBUG
- add a bunch of new debugging/tracing code ("KTR") that depends on
other changes not yet present.
2006-09-09 22:47:12 +00:00
gdamore
da6781514a evbsh5 is timecountered.
Mention the existence of MI todr framework, which others have suggested
should be noted.
2006-09-09 22:46:13 +00:00
gdamore
56d0303ea2 Don't forget to call tc_init() to register the timecounter. 2006-09-09 22:40:42 +00:00
gdamore
3b99481ae2 Convert to timecounters. Compile tested only. Ok steve@. 2006-09-09 22:33:13 +00:00
gdamore
06674c98b5 Convet to MI todr. Ok steve@. 2006-09-09 22:28:27 +00:00
gdamore
7020797810 Convert to MI clock_ymdhms versions of todr calls. 2006-09-09 21:10:01 +00:00
tsutsui
79d97d7582 Switch hp300 to timecounter with MC6840 interval timer, which is
used for hardclcok(9). Old code is still left for reference.

XXX: possibly problematic if hardclock(9) is blocked more than 1/HZ,
XXX: but old microtime(9) implementation also had the similar problem.
2006-09-09 19:45:49 +00:00
manu
ba5b97f363 Fix ipsec-tools build after recent import 2006-09-09 17:52:01 +00:00
manu
bf904e9aa6 Migration of ipsec-tools to NetBSD cvs: the version is "cvs" now... 2006-09-09 16:23:13 +00:00
manu
c8214a0a83 Migration of ipsec-tools to NetBSD CVS part 2: resolving the import conflicts.
Since we previously had a release branch and we import here the HEAD of CVS,
let's assume all local changes are to be dumped. Local patches should have
been propagated upstream, anyway.
2006-09-09 16:22:08 +00:00
riz
d5e3d70afd Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD.  There are still some outstanding
issues with this driver, namely:

 - Checksum offload is unsupported
 - There is a significant amount of code duplication from sk(4)
 - There remain some 'magic numbers'
 - Performance is not heavily tested, and likely to be lower than
   the chip is capable of in some cases.  Syncing some of the
   aforementioned 'magic numbers' with the Marvell FreeBSD driver
   should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.
2006-09-09 16:17:50 +00:00
manu
e3de131b63 Migrate ipsec-tools CVS to cvs.netbsd.org 2006-09-09 16:11:26 +00:00
tnozaki
3acfcd1374 add iconv GB18030 <-> Unicode BMP conversion table. 2006-09-09 15:43:04 +00:00
thorpej
452b3d1a33 Take the node indices out of the same namespace that <sys/tree.h> uses. 2006-09-09 15:19:18 +00:00
thorpej
fd7e02e68f Revert previous. 2006-09-09 15:01:37 +00:00
tnozaki
48d386f61a mapper_std iconv module and mkcsmapper(1) now can treat
plain-row-col charset and 4byte code(like GB18030) as SRC_ZONE.
2006-09-09 14:35:17 +00:00
tsutsui
33a8df7bae ${.CURDIR}/sleeptest -> ./sleeptest for MKOBJDIR=yes case. 2006-09-09 12:20:07 +00:00
elad
eb92c9c9aa Authorize ntp_adjtime() on the correct scope. 2006-09-09 11:52:56 +00:00
tsutsui
c1ba1fb63b Try to make this timecounter ready.
XXX untested since I have no HP-UX binary to test these syscalls
2006-09-09 11:27:19 +00:00
tsutsui
2ef029e9e9 Use microtime(9), rather than copying time directly. 2006-09-09 11:12:53 +00:00
tsutsui
57878c999b time.tv_sec -> time_second 2006-09-09 11:09:48 +00:00
mlelstv
a7851eb473 initialize global est_fqlist to NULL in case nothing is found
in est_cpus table.
Don't use a fake table on the stack, est_fqlist points to it
and is used by the sysctl_helper.
2006-09-09 09:39:35 +00:00
xtraeme
82b358e3b5 Don't re-define RB_{LEFT,RIGHT,PARENT} before undef'ing them first. 2006-09-09 09:35:16 +00:00
tsutsui
e6031402c8 volatile void -> void __attribute__((__noreturn__)) to appease gcc4. 2006-09-09 08:27:13 +00:00