38123 Commits

Author SHA1 Message Date
mrg
a6b580d769 make sincereal "static int" rather than just "static" 1998-03-29 04:36:29 +00:00
scottr
8e25cfb973 Better integration of Power Manager IC ADB driver into the direct ADB driver framework,
from Takashi Hamada.  Also includes a handler for unsolicited ADB
packets.
1998-03-29 03:50:30 +00:00
jonathan
0e0d7a04aa Split 3max (kn02) and 3maxplus (kn03, kn05) memory-error handling out
dec_3max.c into a shared file. These models have compatible memory
subsystems, the same memory slots, and (apparently) the same error reporting.

Add markers for where MNN probes for configurations with a mixture of
RAM sizes and for Prestoserve NVRAM (in normal RAM slots) should go.
1998-03-29 01:12:14 +00:00
thorpej
3ef999a19b Make sure all LKMs get built with -DUVM and -DPMAP_NEW if so configured
in mk.conf.
1998-03-28 23:58:44 +00:00
thorpej
f1821c7811 Adjust for recent ttyopen() and dialout device changes. 1998-03-28 23:49:06 +00:00
christos
d611392726 PR/5225: Jason Thorpe: make with -j 4 and subdirs core-dumps.
This revealed another long standing problem with pmake's port to bsd.
.MAKE was not set as the manual page states. Set it and remove another
typo in my last commit.
1998-03-28 22:29:04 +00:00
christos
e0436952f0 Split out the verbose printing of scsi messages, so that user programs
can use the printing routines.
1998-03-28 21:57:08 +00:00
thorpej
0ce9e8b825 We don't have software-only maps, so a NULL pmap_t will never be passed
to pmap functions.
1998-03-28 19:53:42 +00:00
pk
2a65520c69 bus_space_probe() prototype. 1998-03-28 19:45:29 +00:00
thorpej
cbc72091e5 Remove a comment that is not applicable in NetBSD - we don't have
software-only maps.
1998-03-28 19:44:49 +00:00
pk
89444e9309 Implement generic bus probe function. 1998-03-28 19:44:08 +00:00
thorpej
d725b1a332 Remove a comment in tcp_mss_to_advertise() that no longer applies. 1998-03-28 19:39:57 +00:00
kleink
6618749e5a Per XPG, if the file descriptor argument to mmap() refers to a file whose
type is not supported (neither VREG nor VCHR, or not a vnode at all), fail
with ENODEV instead of EINVAL.
1998-03-28 16:58:04 +00:00
thorpej
ce4810822b Add autoconfiguration support for the Cypress 82C693 PCI-ISA bridge,
found on AlphaPC164SX boards.

Partially from Anders Magnusson <ragge@ludd.luth.se>.
1998-03-28 06:58:43 +00:00
thorpej
686a1a1177 Regen. 1998-03-28 06:39:13 +00:00
thorpej
515d7f04bf Add the Contaq/Cypress 82C693 PCI-ISA bridge. 1998-03-28 06:38:46 +00:00
cjs
9308c6c2e1 Add uugetty manpage link. 1998-03-28 06:10:32 +00:00
cgd
2f8f14b311 check vendor against PCI_VENDOR_INVALID instead of 0xffff.
Suggested by Soren S. Jorvang.
1998-03-28 02:24:04 +00:00
cgd
7fa109343c cope with name fixup in pcidevs 1998-03-28 02:12:02 +00:00
cgd
6108f60999 regen 1998-03-28 02:10:40 +00:00
cgd
3371d8f00f fix bogus produce name tags for 82371FB_ISA and 82371FB_IDE (were 82471FB_*).
Pointed out by Soren S. Jorvang.  Rename "BAD" vendor id to "INVALID".
1998-03-28 02:09:29 +00:00
thorpej
dd03631f2f User land might need enum uio_seg' and struct uio', too. 1998-03-28 01:15:23 +00:00
cgd
c0ac8bae67 GC alpha's ECOFF_TOOLCHAIN make variable, and related bits. Nobody
should be using an ECOFF toolchain on NetBSD/alpha any more.
1998-03-28 00:50:41 +00:00
thorpej
4893f22399 Much more sane boot block builds, from Chris Demetriou. 1998-03-28 00:21:35 +00:00
mark
66477b8680 Only call dosoftints() from splx if there is a soft interrupt actually
pending. This save us doing a function call and a bunch of instructions
for every splx() call. (Patch from cgd).
1998-03-28 00:14:51 +00:00
mark
b6fa862ee6 Remove un-necessary prototype of set_boot_devs() (from cgd). 1998-03-28 00:06:03 +00:00
mark
fcade25040 Make physlock global rather than a static local to mmrw() (from cgd). 1998-03-28 00:04:46 +00:00
cgd
56eaa22285 kill some unused variables that i missed in my last checkin 1998-03-27 23:39:57 +00:00
is
07a1b88ab8 Use the physmem variable to get at the physical memory size (instead of the
avail_end - avail_start difference which is only correct on machines with
contiguous memory).
1998-03-27 22:45:47 +00:00
cgd
9264961c87 add a short delay (5ms) after ATAPI software reset is done, suggested by
Soren S. Jorvang <soren@t.dk>.  Apparently some devices Really Want this.
1998-03-27 19:32:15 +00:00
cgd
db74b327b9 fix a few bogus pointer checks (was checking pointers which would
never be against NULL, instead of checking the correct pointer against
NULL).  Pointed out (with diff) to Mark Brinicombe on March 17, no reply.
1998-03-27 19:28:52 +00:00
thorpej
a95651eaea Add a PMAP_KERNEL_PTE() macro that returns the PTE for a given KVA. If
DEBUG, this performs a table walk.  Othwise, the Virtual Page Table is
used.  Use this macro in a few places where this was done by-hand.

Make vtophys() use PMAP_KERNEL_PTE().  In non-DEBUG cases, this is
a fair bit faster.
1998-03-27 19:18:04 +00:00
drochner
46f85eeab2 let all 8 bits go through 1998-03-27 18:26:22 +00:00
drochner
cbff98f7ff fix max() vs min() confusion at 2 places 1998-03-27 18:22:36 +00:00
scottr
e3e82a2bd2 Move bus_space implementation to bus_space.c. 1998-03-27 18:11:31 +00:00
kleink
3a88962e8e Name space cleanup: protect UIO_READ and UIO_WRITE against _XOPEN_SOURCE,
and extend _KERNEL protection to cover UIO_USERSPACE and UIO_SYSSPACE.
1998-03-27 15:14:37 +00:00
kleink
5d9a1f3207 Regen: syscalls.master changed. 1998-03-27 13:09:52 +00:00
kleink
3a1500efe9 Per X/Open CAE Spec Issue 5 Version 2, change the buffer size argument of
readlink() from type `int' to type `size_t'.  This isn't an ABI change, since
the calling convention of our only LP64 platform (the Alpha) already promotes
this argument to a `long'.

This may not be the final action on this matter; readlink() still returns
an `int', which may change in a future revision of the standard.
1998-03-27 13:02:20 +00:00
agc
efa0b41486 Clean up some lint warnings about return value of errx. 1998-03-27 12:17:58 +00:00
agc
ac649ec457 When reading the PLIST file, don't abort everything if you don't
recognise an '@' command - just flag the line as being unrecognised,
and move to the next line.
1998-03-27 12:16:26 +00:00
jtc
6351dbac24 Rename initialization and termination functions from __init() and
__fini() to _init() and _fini().  The linker sets the DT_INIT and
DT_FINI .dynamic section entries based on the latter names.
1998-03-27 09:11:33 +00:00
scottr
a1c2154bd6 Add (commented out) ALTXBUTTONS option. 1998-03-27 06:12:32 +00:00
scottr
57191652f3 Don't map Opt-{1,2,3} to mouse buttons unless the ALTXBUTTONS option is
specified.  (Doing so breaks German keyboards!)  Fixes PR 4929.
1998-03-27 06:10:54 +00:00
cgd
066f971d37 copy from libc:
limits.h if user-land, machine/limits.h if kernel or standalone
1998-03-27 05:35:47 +00:00
cgd
4da39bc7c1 limits.h if user-land, machine/limits.h if kernel or standalone 1998-03-27 05:34:15 +00:00
hubertf
babf21e12e Update usage string for [-cs]; pointed out by Soren S. Jorvang <soren@t.dk> 1998-03-27 02:40:38 +00:00
thorpej
b436157e65 Make proc0 use the statically-allocate vmspace0 again, and make it use
the kernel's pmap, since proc0 (and other that share its address space)
are kernel-only processes, and should never contain userspace mappings.

This makes it easier to detect errors, like entering user mappings
for kernel processes, in pmap modules, and makes some sense, considering
that kernel processes are really just "thread contexts" for the kernel.
1998-03-27 01:52:01 +00:00
thorpej
b65c510879 Split uvmspace_alloc() into uvmspace_alloc() and uvmspace_init(). The latter
can be used for initializing a pre-allocated vmspace.
1998-03-27 01:47:06 +00:00
thorpej
6e89972d82 Split vmspace_alloc() into vmspace_alloc() and vmspace_init(). The latter
can be used for initializing a pre-allocated vmspace.
1998-03-27 01:46:20 +00:00
cgd
b3d285e625 add -nostdinc to CPPFLAGS, so that /usr/include won't be used 1998-03-27 01:32:53 +00:00