Commit Graph

73394 Commits

Author SHA1 Message Date
onoe 99675e3dde cleanup headers: remove duplicate definition, split reg.h/var.h. 2000-12-12 05:11:15 +00:00
thorpej b22f104458 Add powersave, -powersave, and powersavesleep to manipulate 802.11
power management parameters.
2000-12-12 04:08:40 +00:00
nisimura a141a84ce1 Relocate boot flag detection from consinit() to more logical place. 2000-12-12 04:07:35 +00:00
nisimura 80195863fc This file is a replicant of hp300. The following is peculair to
the original HPBSD implementation and HP hardware design.

 * Portions of the last segment of KVA space (0xFFF00000 -
 * 0xFFFFFFFF) are mapped for a couple of purposes.  0xFFF00000
 * for UPAGES is used for mapping the current process u-area
 * (u + kernel stack).  The very last page (0xFFFFF000) is mapped
 * to the last physical page of RAM to give us a region in which
 * PA == VA.  We use the first part of this page for enabling
 * and disabling mapping.  The last part of this page also contains
 * info left by the boot ROM.

Nuke lptpa because that is irrelavant for LUNA.
Put #if defined(M68040) for consistency postponing efforts of LUNA-2.
2000-12-12 04:06:08 +00:00
thorpej c0bcfa5994 Support SIOC{G,S}80211POWER. 2000-12-12 04:04:29 +00:00
thorpej 589bc762b7 Add a way to manipulate the power management parameters specified in
802.11.
2000-12-12 04:03:38 +00:00
mycroft 0175db6e40 #ifdef KTRACE some stuff. 2000-12-12 03:33:16 +00:00
thorpej 41d6a62c1c s/Ethernet/802.11/ when printing the address. 2000-12-12 01:32:34 +00:00
onoe c63194c7af To fix panic at "ifconfig an0 down",
define ANCACHE in if_an_pcmcia.c (XXX)
try not to access registers after interface down.
2000-12-11 23:58:55 +00:00
bjh21 afb44982ee Correct the mangled-vectors check. 2000-12-11 23:51:58 +00:00
bjh21 fc878a5f9c Bump Dd 2000-12-11 23:50:16 +00:00
bjh21 2268d7952a Document cache-disable flag. 2000-12-11 23:49:36 +00:00
bjh21 0692c35dda Since BBBB correctly disables the CPU cache at startup, we now decide whether
to leave it disabled based on the bottom bit of cpu0's cf_flags.
2000-12-11 23:46:50 +00:00
onoe 9c25e9208a Port 'an' driver for Aironet PC4500/PC4800 IEEE802.11 card from FreeBSD.
This is very adhoc work for IETF meeting.
- Since it seems that 'an' and 'wi' have similar hardware, low level
  functions should be shared.
- There are PCI/ISA cards of Aironet but not supported yet.
- The wiconfig interface is changed so that wiconfig cannot be used.
- 'ancontrol' of FreeBSD is not ported.
- Only infrastructure mode is tested.
- WEP is not supported.

Though I only have an Aironet card, Cisco card should be expected to work.
2000-12-11 23:16:50 +00:00
bjh21 d606f7e6e0 Move most of the RISC OS shutdown into BASIC code.
Issue Service_PreReset to get the hardware to a sane state.
Use *ShutDown to log off fileservers.
Use the correct arguments to Cache_Control.
Using Service_PreReset seems to have rendered the Podule_ReadID trick
unnecessary, so g/c it.
2000-12-11 22:19:18 +00:00
itojun 0e7d3ce88c split /usr/include/sys/md5.h and /usr/include/md5.h completely.
future direction: nuke /usr/include/sys/md5.h, it shouldn't be there as
we don't provide libkern to userland.
2000-12-11 21:05:14 +00:00
scw b875ed466e Some micro-optimisations to _spl() and _splraise(), saving one instruction
in the former, and three to seven in the latter.
2000-12-11 20:05:33 +00:00
martin ac28b114d2 Make this compilable again on ports without __HAVE_SYSCALL_INTERN. 2000-12-11 19:53:06 +00:00
ad bf2be27cd8 Remove /usr/share/lkm & subdirs and kill evil whitespace. 2000-12-11 19:47:32 +00:00
augustss 19954165b5 Since lkm/ seems to be gone now, don't list it as a SUBDIR. 2000-12-11 19:39:33 +00:00
ad 3998cc1155 Nits. 2000-12-11 19:33:55 +00:00
itojun 1101f217b5 no need to rtalloc1() twice in pmtud. from kame 2000-12-11 19:28:47 +00:00
ad ea1b0bdc3e Argh. Use __weak_alias on the RMD160 functions. 2000-12-11 19:12:35 +00:00
ad c15d1647fc The second argument to xxData() is a size_t. 2000-12-11 18:57:46 +00:00
eeh ce7f4ef73f Don't use rwindow_save() since the stack has already been made COW. 2000-12-11 18:51:55 +00:00
marcus 83334549fb Initial import of port "dreamcast" (cloned from port "evbsh3"). 2000-12-11 18:19:12 +00:00
thorpej 17bf4cff64 Add support for 802.11 authentication frames, required to interoperate
with Aviator Pro cards on Windows.  Written by Steve Weiss for OpenBSD,
ported to NetBSD by me.
2000-12-11 17:53:19 +00:00
itojun 8b398d8448 typo in -s message 2000-12-11 17:52:43 +00:00
mycroft 9a8fbe25bc Handle the VM86-mode syscall problem by changing the syscall vector when
jumping in or out of VM86 mode.
2000-12-11 17:36:03 +00:00
ws 8132c2a6aa Fix the previous differently:
The intent was to protect the full range of ports on the board by the
barriers.  But the start address was wrong.  Fix it.

While here, change two other barriers to also protect the full range
(not only the nic ports), and add yet another similar barrier.
2000-12-11 17:07:38 +00:00
mycroft 1ef2795be9 Separate the syscall handlers into two versions -- one which does ktrace, and
one which doesn't.  Dynamically switch.
There's more to do on this, but I have to go to work.
2000-12-11 16:49:15 +00:00
mycroft 11fcbfe7a6 Call e_syscall_intern every time ktrace flags are modified. 2000-12-11 16:39:01 +00:00
is aaed06d422 Identical on m68k. 2000-12-11 16:17:18 +00:00
is f06406d722 uuchk is not program-called; it is called by the administrator to check the
configuration file.
2000-12-11 15:49:07 +00:00
ad a52c851297 London switched area codes earlier this year. While there's supposedly only
one code, for the moment they still map to inner and outer London (as the
old ones did), so supply two codes.
2000-12-11 15:44:19 +00:00
tsutsui c8a3a939e3 space -> TAB 2000-12-11 15:38:43 +00:00
tsutsui 7212823f47 Set USPACE_ALIGN to USPACE on mips. 2000-12-11 15:37:32 +00:00
tsutsui aaa48a8d25 Use USPACE_ALIGN for an alignment argument on allocating U-area.
The default value is 0, and could be overridden by machine/vmparam.h.
2000-12-11 15:35:42 +00:00
hubertf e2c37ca77d Update, submitted by petri.koistinen@iki.fi in PR 11691 2000-12-11 15:35:09 +00:00
ad c87303f168 Put back missing line break. 2000-12-11 14:38:43 +00:00
wiz 9bf97e8322 Back out sysctl part for now, awaiting the result of further discussion,
on request of Andrew Doran.
2000-12-11 14:33:51 +00:00
ad d299ad2a0f Fix compiler warnings. 2000-12-11 13:58:46 +00:00
jdolecek a780efe627 reformat the module type descriptions, add stuff from former
/usr/share/lkm/README
add (short) Emulation module description, update Execution Interpreters
entry
add NOTES sections, mention secutiry considerations here and note that
module can crash system easily (part of the latter was also taken from
/usr/share/lkm/README)
don't xref /usr/share/lkm (that doesn't exist anymore) - reference
lkm/ under kernel source tree
remove BUGS section - the bit about 'killing machine' is under NOTES now,
and the streams note is outdated
2000-12-11 13:58:02 +00:00
ad 18900b7349 Note a bug. 2000-12-11 13:55:16 +00:00
ad f7e9cac3fa Xr iopctl 8 2000-12-11 13:53:11 +00:00
jdolecek 4772ad1b89 add new LKMs: compat_linux.o and exec_linux_elf.o
pointed out by Bernd Ernesti
2000-12-11 13:51:49 +00:00
ad 9af5448e0a Add a basic control program for iop devices. 2000-12-11 13:48:52 +00:00
jdolecek 128eb4ec07 bring in 'syscall' and 'misc' example modules from former /usr/share/lkm,
updated to current LKM programming style
even through the modules do work, they are not built nor installed by default -
they are here solely as a help to potential LKM writer
2000-12-11 13:48:10 +00:00
jdolecek 02ab8e1e3f nuke /usr/share/lkm - kernel modules are inherently depedant upon kernel,
so the example lkms should be included in kernel sets only; furthermore,
the stuff was highly outdated
relevant items will be moved to lkm(4) and under syssrc/sys/lkm/
2000-12-11 13:44:00 +00:00
ad 2940363203 Report soft-errors-per-unit once per minute at most. 2000-12-11 13:19:50 +00:00