Garrett Wollman
e98e6beea3
Add PPP. NB: this is VERY VERY VERY green code, added to make it easier
...
to test things out. It compiles, but I don't know if it works (yet).
1994-09-23 00:14:11 +00:00
Garrett Wollman
45d17740c2
Make the kernel side of PPP compile.
1994-09-23 00:13:22 +00:00
Garrett Wollman
2980d1306a
Initial revision
1994-09-23 00:10:32 +00:00
Garrett Wollman
42477d75d0
Create NFS LKM.
1994-09-22 22:12:59 +00:00
Garrett Wollman
e21fa31a8e
Make NFS loadable.
1994-09-22 22:10:49 +00:00
Andrey A. Chernov
b6b51eb3b0
make 8bit clean defaults
1994-09-22 19:51:43 +00:00
Garrett Wollman
c9b1d6048d
More loadable VFS changes:
...
- Make a number of filesystems work again when they are statically compiled
(blush)
- FIFOs are no longer optional; ``options FIFO'' removed from distributed
config files.
1994-09-22 19:38:41 +00:00
David Greenman
6ce81dd1b2
From 1.1.5:
...
>revision 1.8
>date: 1994/06/03 06:42:30; author: davidg; state: Exp; lines: +2 -2
>Patch from Bruce Evans: npxintr() needs to mask softclock().
1994-09-22 14:44:16 +00:00
Garrett Wollman
862cdb8eb6
Call ffs ``ufs'' for the benefit of poor, confused user-land programs.
1994-09-22 01:57:27 +00:00
Garrett Wollman
dff55bb5c2
mount.h: Declare getvfs* functions from libc.
...
vfs_init.c: Fix fs_sysctl() so that getvfs* functions actually work.
1994-09-22 01:05:09 +00:00
Garrett Wollman
4b1e44f14a
Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more
...
work; ditto NFS and it's even more work.)
1994-09-21 23:27:16 +00:00
Garrett Wollman
67bfdf835b
Fix a few niggling little bugs:
...
- set args->lkm_offset correctly so that VFS modules can be unloaded
- initialize _fs_vfsops.vfc_refcount correctly so that VFS modules can
be unloaded
- include kernel.h in a few placves to get the correct definition of DATA_SET
1994-09-21 23:22:52 +00:00
Bruce Evans
f6d370a798
Fix the consistent mistranslation of Linux's get_fs_word() and
...
put_fs_word() to fuword() and suword(). Linux words are 16 bits
but BSD words are 32-bits, at least on vax's. Writing a too-large
word trashed the neighbouring short word.
Bruce
1994-09-21 22:22:48 +00:00
Bruce Evans
ccadde2151
Fix compiler warnings.
1994-09-21 21:58:39 +00:00
David Greenman
36317691a4
#if 0'd evil dynamic fifo trigger level adjustment; it just bit me and
...
a couple of other people again.
1994-09-21 19:39:25 +00:00
David Greenman
354c733261
From 1.1.5:
...
>date: 1994/05/27 01:09:16; author: ache; state: Exp; lines: +3 -3
>Russian keymap: Ctrl-Alt-Del with NumLock on fixed
1994-09-21 18:43:08 +00:00
David Greenman
11fe0935dd
From 1.1.5:
...
>date: 1994/06/15 14:35:30; author: paul; state: Exp; lines: +3 -3
>CHanged MAXMEM to ISMAXMEM for safety
1994-09-21 18:33:23 +00:00
David Greenman
868424648b
Fixed up a couple of comments.
1994-09-21 18:17:56 +00:00
Garrett Wollman
1aa57be361
Make it easier to create filesystem LKMs by doing most of the
...
work in the Makefile. Just define VFS_LKM and you're off!
1994-09-21 03:49:59 +00:00
Garrett Wollman
c901836c14
Implemented loadable VFS modules, and made most existing filesystems
...
loadable. (NFS is a notable exception.)
1994-09-21 03:47:43 +00:00
Jordan K. Hubbard
84cc2dc332
Add entry for transputer (cdev 8).
...
Reviewed by: jkh
Submitted by: luigi
1994-09-21 01:33:00 +00:00
Jordan K. Hubbard
db814a26b3
Add entries for transputer driver.
...
Reviewed by: jkh
Submitted by: luigi
1994-09-21 01:30:15 +00:00
Jordan K. Hubbard
27552c6f58
Add the transputer driver from Christoph Niemann, Luigi Rizzo and
...
Lorenzo Vicisano
Reviewed by: jkh
Submitted by: luigi
1994-09-21 01:29:41 +00:00
Bruce Evans
8793135f2d
Don't provide bogus source operands in some asms. This probably shouldn't
...
matter, but similar bogusness in npx.c causes compiling without -O to fail.
Use __volatile in all asms.
Parenthesize macro args.
Change the names of the macros to avoid namespace pollution.
Remove unnecessary "#ifdef __i386__".
Sort #defines.
Add comments.
1994-09-20 22:26:37 +00:00
Adam David
f89971dfe7
Better documentation, 1ms calibration, default 5 seconds BOOTWAIT
...
Reviewed by: adam
Submitted by: rgrimes
1994-09-20 22:25:00 +00:00
Bruce Evans
2c5bafb1f8
Parenthesize macro args.
...
Comment #endif's.
1994-09-20 22:24:26 +00:00
Bruce Evans
38a03467df
Don't supply the `usermode' arg to softclock(). The 2.0 softclock() doesn't
...
take an arg.
1994-09-20 21:35:49 +00:00
Bruce Evans
7fecb8e845
Don't lose the RTC interrupt in resettodr().
1994-09-20 21:20:46 +00:00
David Greenman
db3170abc8
Sorted.
1994-09-20 15:55:09 +00:00
Bruce Evans
1819efa6e7
Use `1' for a boolean value instead of something irrelevant (MNT_WAIT)
...
that happens to be nonzero.
1994-09-20 05:53:24 +00:00
Bruce Evans
0b53fbe8da
Don't use SIG_DFL or SIG_IGN for case label expressions. ANSI requires
...
such expressions to have integral type. "gcc -ansi -pedantic -W..."
fails to diagnose this constraint error.
1994-09-20 05:42:46 +00:00
Bruce Evans
2b3d0249bd
Remove the alias splnone() for spl0(). It was used only once.
1994-09-20 05:07:32 +00:00
Andrey A. Chernov
e79033e4cf
resettodr() now exists, enable it
1994-09-20 00:32:40 +00:00
Andrey A. Chernov
7b915aa631
resettodr() implemented, inittodr() fixed
...
Submitted by: me & chris@gnome.co.uk
1994-09-20 00:31:07 +00:00
Garrett Wollman
075e8696f8
Put back missing .text before swi_net. This could probably be made faster;
...
I invite Bruce to look at it.
1994-09-19 22:24:31 +00:00
Andrey A. Chernov
a40a3595b7
oget/sethostname: add missing argument to kern_sysctl
...
Reviewed by:
Submitted by:
Obtained from:
1994-09-19 21:15:14 +00:00
Andrey A. Chernov
e9e2a85282
sysctl incorrectly check name[2] instead of name[1]
1994-09-19 21:07:00 +00:00
Adam David
fcf8309d74
Default wait approx 10 seconds for keypress during boot
...
Added comment about multiplication factor
1994-09-19 19:54:49 +00:00
Doug Rabson
2eed683f10
Changed some NetBSD backwards compatibility code which was confusing mountd.
1994-09-19 19:24:44 +00:00
Andrey A. Chernov
1e35c6c787
Add vm/vm.h for complete sysctl type.
...
Remove wrong time declaration, already have correct in kernel.h
(kern_ntptime not compiled without this changes)
1994-09-19 17:39:21 +00:00
Doug Rabson
834d25cdf1
Reversed last revision which was a mistake.
1994-09-19 15:49:46 +00:00
Doug Rabson
3f9a698275
Added MSDOSFS option.
1994-09-19 15:45:02 +00:00
Doug Rabson
27a0bc89a4
Added msdosfs.
...
Obtained from: NetBSD
1994-09-19 15:41:57 +00:00
Bruce Evans
8ebeb948c5
The previous revision got the wrong log message (for clock.c). It should
...
have got the following:
Back out the changes in the previous revision. Function-like macros
were replaced by compound statements that work in less contexts.
Unoformize idempotency #ifdef.
1994-09-18 23:18:32 +00:00
Bruce Evans
eb51e37703
Remove some unnecessary #includes.
...
Restore the simple leap year calculation as a macro and document it so
that it doesn't become complicated again. The simple version works
for all leap years covered by 32-bit time_t's. The complicated version
doesn't work for all leap years covered by 64-bit time_t's since among
other reasons, the solar system is not stable for long enough.
Fix declarations.
Nuke spinwait().
1994-09-18 23:08:56 +00:00
Bruce Evans
6485b5ff77
Use new-style declarations for min/max functions so that
...
"gcc -Wstrict-prototypes" doesn't emit warnings about them.
Write each min/max functions on a single line so that the similarity and
triviality of the functions is more obvious.
Put the quad min/max functions in the correct place (aphabetical order).
The u_quad min/max functions are missing. Only 3 or 4 of the min/max
functions are actually used. sys/socketvar.h ``should use "lmin" but
it doesn't exist now''. lmin does exist now, but isn't used. Since we
depend on gcc for `inline', perhaps we should depend on it for __typeof
and function-expressions and use only macros min() and max() that work
for any types (I'm not sure how to handle mixed types).
1994-09-18 23:04:25 +00:00
Bruce Evans
6052572ac4
Replace unsigned' by
u_int' so that it is not necessary to include
...
<sys/types.h> before including this header. This header is now
idempotent.
Uniformize idempotency #ifdef.
1994-09-18 22:05:22 +00:00
Bruce Evans
e4b7e53da8
Clean up #includes. <machine/spl.h> has to be included by almost everything
...
in case an spl inline is used, so this is not the place to include it.
Uniformize idempotency #ifdef.
1994-09-18 21:37:56 +00:00
Bruce Evans
a58a9ef8c0
Remove "#ifdef notdef" around declaration of fuibyte(). fuibyte() _is_
...
actually used.
Remove "#ifdef __GNUC__" around some __dead* declarations. __dead* is
harmless if __GNUC__ is not defined.
Uniformize idempotency #ifdef.
1994-09-18 21:30:30 +00:00
Stefan Eßer
d49fc97c3c
Removed obsolete example of specifying PCI IntA to IRQ mapping for NCR.
1994-09-18 21:18:49 +00:00