Commit Graph

30191 Commits

Author SHA1 Message Date
chuck
bc385d2051 typeo in comment (PR#3836: Curt Sampson) 1997-07-19 22:51:13 +00:00
kleink
20b33f1d4c When creating new device nodes based on the major number of the LKM slot we
have been assigned, try to remove any existing ones first; otherwise loading
the LKM could fail with EEXIST.  Fixes PR kern/3868.

Why was this call dropped between v3-2alpha7 and v3-2beta1?
1997-07-19 22:42:18 +00:00
is
f8ce8a3693 Fix my own PR port-m68k/3871, nee port-amiga/3871:
- don't erase FPSR exception bits _after_ doing most of the operations in
fpu_implode(), erase them before doing arith and store operations. This fixes
losing the DZ bit.
- create FPSR_OVFL and FPSR_UNFL bits in fpu_implode(). This showed up when
the first error was fixed.
XXX some more work needs to be done. E.g., creating OPERR together with
OVFL looks bogus, but I'm too tired know to re-check docs; and at least we
pass our own regression tests know.
1997-07-19 22:28:48 +00:00
perry
28753bf1c0 fix pr-2619, from cgd. really obscure bug in exec'ing reboot when single user. 1997-07-19 22:27:20 +00:00
perry
9aea42ec4e Change the "overlarge UID/GID truncation" from USHRT_MAX, which might
someday exceed 16 bits, to an arbitrary constant that won't.
1997-07-19 22:19:35 +00:00
pk
0e6ca8da9f Use `target selection with DMA' by default. 1997-07-19 21:57:01 +00:00
pk
2b8fb4cacd Propagate SCSI status byte back to higher levels. 1997-07-19 21:54:16 +00:00
pk
63fa13065c #include "locators.h" 1997-07-19 21:43:54 +00:00
jonathan
39814d8abc Add pointer to _mcount to avoid bogus warnings about unused static function.
(calls from interpolated assembler are invisible to gcc.)

If _KERNEL, add prototypes for non-profiled entrypoints _splhigh(), _splx().
1997-07-19 21:30:25 +00:00
fvdl
6ca80cfb1e Make sure that the last fields in the transmitted stat structs are set
correctly. PR 809, from Jarle Greipsland
1997-07-19 20:25:44 +00:00
kleink
1aecc913a4 Typo. 1997-07-19 20:05:31 +00:00
perry
bccc3d5d81 add -o option -- submitted in pr-1857 by Niklas Hallqvist 1997-07-19 19:47:38 +00:00
kleink
d77864a270 Substitute a `2' with STDERR_FILENO for clarity; minor KNF. 1997-07-19 19:43:59 +00:00
perry
3f2367bf01 add WARN=1 1997-07-19 19:00:58 +00:00
perry
ba588d9705 get rid of "register" declarations.
turn 0 pointers into NULLs
Fix WARN=1 warnings
1997-07-19 19:00:44 +00:00
perry
2cb2701a4e rename DEBUGSHELL to ALTSHELL 1997-07-19 18:12:47 +00:00
perry
53222a55ef 1) change rcsid[] and copyright[] to use __RCSID and __COPYRIGHT
macros.
2) Clean up some gratuitous uses of write() instead of fprintf()
3) Clean up some of the alternative shell code in single_user(),
   fixing a couple of bugs in the meanwhile. Also, fix pr-2620 from
   Chris Demetriou -- when an alternative shell is exec'ed, it is now
   not called "-sh" automatically.
4) rename the DEBUGSHELL option ALTSHELL since its almost always used
   in NetBSD.

Notes:
1) It isn't clear that the ALTSHELL code is really ever very useful,
   but we seem to have decided to always enable it anyway.
2) The code in init really needs an overall cleanup, but I just don't
   have time or energy.
1997-07-19 18:11:59 +00:00
perry
f40020042e merge lite-2 changes 1997-07-19 17:06:29 +00:00
perry
e47e6a8f47 in NetBSD, setting the clock back is inhibited in securelevel 2, not s-lev 1 1997-07-19 16:58:47 +00:00
perry
dfc8543445 (mostly) merge lite-2 changes (except for some silly ones.) 1997-07-19 16:51:40 +00:00
kleink
897349ed1e __RCSID() police, typo in variable name; from jbernard@tater.mines.edu in
PR lib/3889.
1997-07-19 16:02:05 +00:00
kleink
fd8f56cb11 __RCSID() police; from jbernard@tater.mines.edu in PR lib/3890. 1997-07-19 15:58:31 +00:00
kleink
cc67a99801 Nuke definitions of the unused TIOCMOD[GS] ioctls; they are pre-4.4BSD vintage
and aren't implemented in the tty(4) driver any longer.  Fixes standards/2741
(actually this is not the appropriate category) from Greg Lindahl.
1997-07-19 15:44:39 +00:00
kleink
24b86eb3f3 Sync if_ipl_lkmentry()'s prototype with the function's actual name; from
Matthias Scheler in PR kern/3868.
1997-07-19 15:35:27 +00:00
jonathan
ad4cc08b75 Bound x motion by framebuffer width, not height.
Bound y motion by framebuffer height, not width.
   (cf revision 1.4.)
1997-07-19 12:03:51 +00:00
jonathan
21717110ba Raise spl to spltty() in polled console input routine dtopKBDGetc(),
to ensure polled console I/O really is polled.

From Michael L. Hitch <mhitch@lightning.oscs.montana.edu>.
1997-07-19 12:00:10 +00:00
kleink
73997cc33d Add missing `#include "locators.h"' from last commit. 1997-07-19 11:19:05 +00:00
cgd
8f43428a7f regen for new pcidevs 1997-07-19 10:41:57 +00:00
cgd
5579e9d3bd * move COPTS out of the 'program variables' section of the makefile and
into the 'argument variables' section.
* define variables for CPP and SIZE, defaulting to cpp and size, respectively.
* kill HOSTED_C*, since it's no longer used.
* use ${SIZE} rather than using 'size' directly, so it can be overridden for
cross-builds.
* generate assym.h via assym.s and an awk script.
1997-07-19 10:12:13 +00:00
cgd
75b9c1bce1 convert to use a genassym.c that produces awk-able assembler output, a
la the sun3 port.  This makes cross-compilation easier.
1997-07-19 10:02:53 +00:00
jonathan
ccf3801c92 * Re-apply changes from rev 1.6 of sys/arch/mips/include/reg.h accidentally
undone by rev 1.7:
  >redo pmax/include/reg.h
  >so that the definitions needed by locore.S are in a separate file,
  >pmax/include/regnum.h.

* Add explicit `#include <mips/regnum.h>'  where symbolic offsets
  into a mips trapframe or struct reg are used..
1997-07-19 09:54:23 +00:00
cgd
d2bdd55b3a clean up a few entries, fix the entry for the TI PCI1130 so the device
is properly named, add entries for the TI PCI1131 and PCI2030.  also note
that you shouldn't always believe everything you read.
1997-07-19 09:54:09 +00:00
cgd
429a941288 don't expect/provide pci_decompose_tag to be a MI, public function. It
wasn't intended to be to begin with, and uses of it (e.g. the one in the
'de' driver) are quite likely to be incorrect.
1997-07-19 09:49:39 +00:00
jonathan
c89683a7a5 remove old Sprite-compatible header files machAsmDefs.h and machConst.h 1997-07-19 07:02:04 +00:00
cgd
866bc1b267 sync with dev/isa/wd.c rev. 1.162:
>date: 1997/07/18 00:26:22;  author: fvdl;  state: Exp;  lines: +10 -10
>Work around possible race condition with 2 drives on one controller
>in wd_get_parms. PR 3773, from Onno van der Linden (onno@simplex.nl)
S: ----------------------------------------------------------------------
1997-07-19 06:39:22 +00:00
jtc
2526fda257 Implement sleep() and usleep() in terms of nanosleep(). Uses only one
syscall instead of eight, and doesn't have any interactions with alarm
or interval timers.
1997-07-19 02:42:30 +00:00
is
4d8c2c3528 Make Amiga battery clocks autoconfiguration devices, so that they can be
left out of specialized configurations.
1997-07-19 00:01:40 +00:00
perry
1edc7aef02 fix 3885 from Matthias Scheler -- print out the name of each loaded module 1997-07-18 23:38:52 +00:00
perry
4c79cc7435 fix 3884 from SAITOH Masanobu 1997-07-18 23:31:00 +00:00
thorpej
1569c18c63 Fix typo in previous. 1997-07-18 23:08:45 +00:00
thorpej
1c4fcb7069 Cast pointers to u_long before casting to another integral type. 1997-07-18 23:07:44 +00:00
thorpej
1f01636e14 Cast time_t's to long, and use %ld format, when printing. 1997-07-18 22:48:31 +00:00
thorpej
3d8138fc0e Fix compiler warnings (and an awful lot of annoying little bugs). 1997-07-18 21:57:00 +00:00
thorpej
c5dab54215 - Be more careful with type sizes (many u_long -> u_int32_t in protocol
structures).
- Use NTOH*() and HTON*() where appropriate.
- Some slight formatting cleanup in a few places.
1997-07-18 19:30:33 +00:00
thorpej
d891aff808 Cast the result of pointer arithmetic to "long", and use %ld to print it. 1997-07-18 17:46:59 +00:00
christos
7af5edbdc3 Fix reversed test for version 3 that broke nfs version 2 mounts. 1997-07-18 17:31:46 +00:00
jtk
ce7e4557dd Don't generate defines for locators or bus attachments which have spaces
or tabs in the names; we can't generate reasonable #defines in those cases.
fixes PR# 3880.
1997-07-18 11:27:37 +00:00
veego
344a043fcf Build with warnings enabled on m68k systems. 1997-07-18 10:52:36 +00:00
thorpej
79f6630e5a Rearrange a little, and build with WARNS. 1997-07-18 08:16:57 +00:00
thorpej
587f144521 - Fix compiler warnings.
- KNF.
1997-07-18 08:10:41 +00:00