85607 Commits

Author SHA1 Message Date
simonb
23e2bcbe95 Descend into int_fmtio. 2001-09-22 19:57:42 +00:00
simonb
47675c180b Add a simple regression test for the printf/scanf formats in
<machine/int_fmtio.h>.
2001-09-22 19:56:45 +00:00
eeh
53ebc1b431 Correct the `fast' int types. 2001-09-22 19:51:48 +00:00
manu
e7a3ba084e Empty framework for upcoming work on IRIX_COMPAT 2001-09-22 18:51:35 +00:00
simonb
5847ff0480 *int_fast64_t should be "long", not "long long".
From Klaus Klein.
2001-09-22 18:03:10 +00:00
explorer
56b9583089 Implement two major items:
(1) Add an IOCTL to tell the Lucent based cards how often to
	    do an access point scan.  These results are returned by
	    calling another IOCTL to get the most recent scan data.

	    This function works with prism2 cards as well, but the
	    data is returned in a different format, or perhaps it is
	    data only for the closest access point.

	(2) For prism2 cards, add the ability to put it into LAN monitor
	    mode, where (via BPF) all packets can be received.  This
	    mode works best with "wiconfig wi0 -p 3 -f ?" to put the
	    card into pseudo-IBSS mode (to keep it from channel-hopping
	    and scanning for access points) and to set the frequency of
	    the AP you wish to monitor.

	    The returned data has a partial wi_frame header (down to the
	    wi_dat_len field) followed by the raw data of the packet.
	    I have and will put up on http://www.flame.org/NetBSD/wireless/
	    some simple utilities which do some perhaps interesting things,
	    like scan for access points, capture packets, etc.
2001-09-22 17:22:25 +00:00
bjh21
0368c93d47 Move the functionality of eca_init_rx_hard() into the tail end of
eca_fiqhandler_tx and eca_tx_downgrade.  This seems to reduce the
number of Rx overruns to zero on my current test case.
2001-09-22 17:19:27 +00:00
bjh21
35de4e1a4c Add fiq_downgrade_dont_disable, which does what fiq_downgrade does, but
doesn't disable FIQs in the process.
2001-09-22 17:16:18 +00:00
wiz
6babc456e2 Fix some nits. 2001-09-22 16:46:41 +00:00
wiz
f70c916c87 Remove some trailing space, and some punctuation nits. 2001-09-22 16:39:25 +00:00
wiz
ac61c2aac2 Sort sections, sort SEE ALSO, paragraph fixes and misc. improvements. 2001-09-22 16:36:21 +00:00
ad
30951ed237 Add manual page for dpti. 2001-09-22 16:29:33 +00:00
rafal
0143775c35 If OSLoadOptions is set to auto, boot straight to multi-user. Requested
one too many times and it seems to do no harm, so enable it.
2001-09-22 16:26:34 +00:00
wiz
a52af0ae72 Sort sections, sort SEE ALSO, paragraph and misc. fixes. 2001-09-22 16:21:42 +00:00
wiz
c0e0bf4913 Sort SEE ALSO, and paragraph fixes. 2001-09-22 16:03:58 +00:00
wiz
f89a29f2fe Sort SEE ALSO, sort sections, drop some .Pp, misc. markup improvements. 2001-09-22 15:58:13 +00:00
bjh21
ea073a0cd4 eca_init_rx_hard() shouldn't call eca_init_rx_soft(). That's the
whole point.
2001-09-22 15:33:53 +00:00
bjh21
cddb5108f8 More re-arrangements: Split eca_init_rx() into two parts, one of which
(eca_init_rx_soft()) just sets up software state, and the other of
which (eca_init_rx_hard()) actually puts the interface into receive
mode and sets up the FIQ handler etc.  Arrange that when we transmit a
frame, eca_init_rx_soft() has already been called, so we only need to
call eca_init_rx_hard() from the Tx downgrade handler.

The point of this is that I should be able to incorporate the
functionality of eca_init_rx_hard() into the Tx FIQ handler so that we
can switch from Tx to Rx with little enough delay that we don't drop
the first few bytes of the incoming frame.
2001-09-22 15:29:20 +00:00
bjh21
ffe2e2dfd3 Re-organize eca_gotframe to make the logic a little clearer (to me). 2001-09-22 14:42:51 +00:00
ad
5ed7f8b717 Save some info about the board for dpti. 2001-09-22 13:05:36 +00:00
tv
284306ffbc Put do-make-tools before creating distrib-dirs (as binstall has to be
available before making distrib-dirs).
2001-09-22 12:30:13 +00:00
tv
9998046745 Work around "make obj" lossage in tools/. Dunno why this is happening
just yet; will investigate this evening.
2001-09-22 12:29:22 +00:00
chs
62378d7238 add some tunables from vmparam.h. from Greg Woods in PR 9068. 2001-09-22 08:43:28 +00:00
simonb
6879b04b7e Pacify gcc 2.95.3: put an "=" output constraint at the start in an
asm argument.
Also, wrap >80 character line.
2001-09-22 06:30:17 +00:00
jdolecek
8573719e3d add new UVM_LOAN_WIRED flag - the memory pages loaned in TOPAGE case
are only wired if this flag is present (i.e. they are not wired by default now)
loaned pages are unloaned via new uvm_unloan(), uvm_unloananon() and
uvm_unloanpage() are no longer exported
adjust uvm_unloanpage() to unwire the pages if UVM_LOAN_WIRED is specified
mark uvm_loanuobj() and uvm_loanzero() static also in function implementation

kern/sys_pipe.c: uvm_unloanpage() --> uvm_unloan()
2001-09-22 05:58:04 +00:00
tv
aea7f2e0d5 Move the definitions of host tools from Makefile.tools to <bsd.own.mk>.
Turn on USE_NEW_TOOLCHAIN explicitly on i386.  (See current-users or
tech-toolchain for the heads up announcement and tech details.)
2001-09-22 05:45:50 +00:00
tv
b764adf722 Get compile_et from ${COMPILE_ET}. 2001-09-22 05:39:54 +00:00
tv
9a0eaa53ba flex -> ${LEX} 2001-09-22 05:39:22 +00:00
chs
afb591ce4d describe UVMHIST* options. 2001-09-22 05:38:30 +00:00
tv
932e899041 Always use src/share/mk as the source of the system .mk files for a build. 2001-09-22 05:37:17 +00:00
tsutsui
baa3ec7385 Fix errors on make cleandir in stand/boot* dirs.
Patch from misc/14012 by kwellsch@tampabay.rr.com.
2001-09-22 05:19:39 +00:00
tv
e704f6d2ea Move <bsd.hostprog.mk> to the right place so TOOLDIR can be set in mk.conf. 2001-09-22 05:02:13 +00:00
tv
cda4a8d07c The -m option is automatically propagated by make(1). Don't add yet more
(possibly wrong) `-m' options; this will only make MAKEFLAGS bigger and
bigger with each recursion.
2001-09-22 05:01:26 +00:00
tv
14e39089db Add lorder to TOOLDIR host tools.
Only descend into directories if USE_NEW_TOOLCHAIN is set (allows top level
Makefile to use "-m ${.CURDIR}/share/mk" to get the "correct" <bsd.own.mk>
when descending into src/tools/Makefile).
2001-09-22 04:15:19 +00:00
tv
772c71ae08 Revert previous. The dependency strategy used in "tools" is not the same as
in the rest of the source tree, for reasons that will be documented separately.

Short story: host tools that are out of date need to be rebuilt
*from scratch* to avoid our common `source skew accidents'.
2001-09-22 04:12:33 +00:00
perry
215d097e45 run mtree on the special file using the new -l option, so it will not
complain about things like files set 444 instead of 644.

part of the campaign against spurious output in the nightly security run.
2001-09-22 04:06:23 +00:00
perry
9864f0aae8 Add a -l flag which does "loose" permissions checks, i.e. a mode 444
matches a check for mode 644 (though obviously not the reverse). This
can be used by the nightly security run, making the output1 more useful
by having it contain fewer spurious permissions violations.

Note that I did not make -l work if you have a sgid/suid/sticky bit
set. I don't know how you could cause security trouble with more
stringent settings and a suid file, but I don't want to find out the
hard way.
2001-09-22 03:56:29 +00:00
tv
ab11c169b5 objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
now in bsd.own.mk).
2001-09-22 03:34:17 +00:00
tv
d63e12815a objcopy -> ${OBJCOPY} 2001-09-22 02:01:13 +00:00
wiz
7511ab2515 Sort SEE ALSO, sort sections, some markup improvements, some more common
section headers.
2001-09-22 01:44:54 +00:00
wiz
759f600d81 Sort SEE ALSO, sort sections, and slight markup improvements. 2001-09-22 01:39:12 +00:00
wiz
2bf6410a1b Sort SEE ALSO, sort sections, use slightly more standard section
names in some cases, drop some .Pps, improve markup in some places.
2001-09-22 01:34:47 +00:00
tv
8601a3d8d9 Build libc (and its lint libraries) before all other libs, as llib-lc.ln
is needed in order to build useful lint libraries for the rest.
2001-09-22 01:22:59 +00:00
wiz
dae373813a Sort SEE ALSO, sort sections, some minor markup changes. 2001-09-22 01:22:48 +00:00
mrg
158c241b62 add UPDATE/NOCLEANDIR support. 2001-09-22 01:19:11 +00:00
wiz
0c1cb3c84a Sort SEE ALSO, add .An. 2001-09-22 01:16:15 +00:00
eeh
ebe55962eb Handle fpu registers 32-63 properly. 2001-09-22 01:05:04 +00:00
mrg
343880977d don't print the alignment fault twice. 2001-09-22 00:59:30 +00:00
mrg
bb9e4c2671 sync. 2001-09-22 00:58:46 +00:00
mrg
8e278c1dc1 update to reality: remove a bunch of stuff. 2001-09-22 00:58:13 +00:00