Commit Graph

11030 Commits

Author SHA1 Message Date
phk
010c461fbe staticize. 1995-11-14 20:53:20 +00:00
phk
440f6747ef Removed:
#include <i386/isa/isa_device.h>
 #include <i386/eisa/eisaconf.h>
 #include <pci/pcireg.h>
 #include <pci/pcivar.h>
 #include <scsi/scsi_all.h>
 #include <scsi/scsiconf.h>
they are not needed, and slows down compilation.
1995-11-14 20:52:14 +00:00
phk
abbc333b67 Fiddle with <machine/isa_device.h> 1995-11-14 20:49:24 +00:00
phk
39e0ab2a22 Do what is generally belived to be the right thing, though it may not be :-) 1995-11-14 20:43:29 +00:00
phk
db2c71245d New style sysctl & staticize alot of stuff. 1995-11-14 20:34:56 +00:00
jkh
23272197e7 Merge from 2.1 (got the direction backwards - argh!). 1995-11-14 13:54:06 +00:00
phk
adf28f3330 statizice some internal magic. 1995-11-14 10:03:56 +00:00
phk
d08180594a Staticize various private parts. 1995-11-14 09:58:47 +00:00
phk
d31da25b90 Make a lot of private stuff static 1995-11-14 09:53:17 +00:00
phk
8838e78de6 Fix a couple of printfs. 1995-11-14 09:52:25 +00:00
phk
8d3e9824b0 Final part of this bunch of sysctl commits: cleanup. 1995-11-14 09:42:22 +00:00
phk
df7c5ad2a5 Get rid of the last debug sysctl variables of the old style. 1995-11-14 09:40:06 +00:00
phk
ec15d167b9 Get rid of hostnamelen variable. 1995-11-14 09:37:22 +00:00
phk
0cd6c033b7 Move all the VM sysctl stuff home where it belongs. 1995-11-14 09:29:34 +00:00
phk
c04786d47c A couple of nitpicks. 1995-11-14 09:26:17 +00:00
phk
fb71a2c5dd Convert dumpdev & securelevel. 1995-11-14 09:22:15 +00:00
phk
dd42080c0c Change some of the debug sysctl vars. The semantics of these will change. 1995-11-14 09:19:16 +00:00
phk
f8d7b213d8 KERN_MAXFILESPERPROC, KERN_MAXFILES went to another file. 1995-11-14 09:17:32 +00:00
phk
021045a4b6 Hmm, I seem to have got all my patches screwed up anyway. Too bad.
this is where the proctable stuff went.
1995-11-14 09:16:27 +00:00
phk
c23e20dc57 Get rid of domainnamelen. 1995-11-14 09:10:54 +00:00
phk
08ab771c4d Move KERN_NTP to a more suitable file. 1995-11-14 09:07:14 +00:00
phk
32605f2bff Move the process-table stuff to a more suitable file.
Remove filetable stuff from kern_sysctl.c
1995-11-14 09:05:40 +00:00
phk
926091b331 Add new-style sysctl for KERN_FILE here. 1995-11-14 08:58:35 +00:00
bde
b9f0e11d4a Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC()
from a string to an identifier so that it can be used to generate
declarations and strings.  It's much easier to stringize an identifier
than to identifize a string.  A uniform naming scheme must be used
for the automatically generated things to apply.  This is a feature.

Used the module identifer to generate prototypes for the module load,
unload and stat functions.  Removed the few prototypes for these that
already existed.

Used the module identifier to generate a unique struct tag in MOD_DEV().
This should probably be done for all the MOD_*() macros.

Moved the trailing semicolon from the MOD_*() macro definitions to the
macro invocations that didn't already (bogusly) have it.

Staticized the module load and unload functions.

Added function return types for the module load, unload and stat functions.

lkm/ibcs2/ibcs2.c:
Included <sys/sysproto.h> to get everything prototyped.
Cleaned up #includes.

lkm/ibcs2/ipfw.c:
Cleaned up #includes.

lkm/linux/linux.c:
The module name had to change from "linux_emulator" to "linux_mod" to
be automatically generated.
Cleaned up #includes.

lkm/syscons/*/*_saver.c:
Completed delcarations of function pointers.

sys/i386/isa/atapi.c:
The module name had to change from "atapi" to "atapi_mod" to be
automatically generated.

sys/i386/isa/wcd.c:
Used the fixed MOD_DEV().  This module has two devices and expanded the
macro in the source instead of fixing it.
The module names had to change from "wcd" and "rwcd" to "wcd_mod" and
"rwcd_mod" to be automatically generated.

sys/pccard/pcic.c:
The module name had to change from "pcic" to "pcic_mod" to be
automatically generated.
1995-11-14 07:35:57 +00:00
markm
ebb856464a Fix stupid typo.
Pointed out by: Mark Valentine
1995-11-14 06:24:00 +00:00
bde
34f76cbd08 Included <sys/sysproto.h> to get central declarations for syscall args
structs and prototypes for syscalls.

Ifdefed duplicated decentralized declarations of args structs.  It's
convenient to have this visible but they are hard to maintain.  Some
are already different from the central declarations.  4.4lite2 puts
them in comments in the function headers but I wanted to avoid the
large changes for that.
1995-11-14 05:16:37 +00:00
peter
c140e951e5 A fix for the "cd -" coredump on a brand new /bin/sh. The problem was
noticed on a NetBSD bugs mailing list but this is entirely my own work.

Inspired by: Scott Reynolds <scottr@plexus.com>, for NetBSD
1995-11-14 01:04:52 +00:00
roberto
81160ba677 Update about the latest news about 2.1. 1995-11-13 22:53:21 +00:00
peter
b1a17792e6 Enhance the likelyhood that IPX over ppp will actually work.. :-)
Note that pppd doesn't have an ipxcp.c module for negotiating and confuguring
IPX at startup, but after these mods, you can manually ifconfig IPX addresses
on the interface and it will probably work.. :-)
1995-11-13 22:09:39 +00:00
markm
4c1319ac1e OOps, nearly missed this bit. Add the call to rndcontrol to set the
chosen interrupts for the entropy gathering  in /dev/random.
1995-11-13 21:33:04 +00:00
markm
8c16ebd604 Put in a user-configurable variable to allow root to select interrupts to be
used in the entropy-gathering for /dev/random.
1995-11-13 21:18:24 +00:00
julian
446da07331 Submitted by: John Hay <jhay@mikom.csir.co.za>
Here is some patches to IPXrouted. It does the following:

Always use the sap port in the destination address of sap broadcasts.
Clear the host part of network addresses so that routes will really
be deleted in the kernel.
1995-11-13 21:01:36 +00:00
markm
4504ec3c14 BBild libgmp from the sources already in ../libmp. 1995-11-13 19:13:19 +00:00
markm
68453fe892 Add libgmp. 1995-11-13 19:12:10 +00:00
bde
57b44bbf03 Fixed getdirentries() on nfs mounted msdosfs's. No cookies were returned
for certain common combinations of directory sizes, cluster sizes, and i/o
sizes (e.g., 4K, 4K, and 4K).  The fix in rev. 1.21 was incomplete.

Reviewed by:	dfr
Obtained from:	party from NetBSD
1995-11-13 18:47:40 +00:00
markm
16f9bc5625 Make the tests work. libmp and libgmp must be installed for this
to work.
1995-11-13 18:42:24 +00:00
markm
0589c43eb0 Build the TeXinfo manual 1995-11-13 18:40:45 +00:00
markm
6814756192 1) Add the doc/subdirectory - this will get gmp.texi installed
2) Clean up the Makefile - libgmp is coming!
1995-11-13 18:39:23 +00:00
wollman
5a4cecfa34 Correctly spell Phnom Penh for tzsetup. 1995-11-13 16:52:39 +00:00
phk
d5b9afd781 Try to make my new scheme work more along the lines of the manual.
There are still some gray areas here and there.
1995-11-13 13:54:09 +00:00
dg
95ceae8e7d Fixed up a comment and removed some #if 0'd code. 1995-11-13 10:53:38 +00:00
dg
20567ae86a Use kmem_alloc_pageable/kmem_free to allocate memory instead of individual
VM map functions.
1995-11-13 10:45:22 +00:00
bde
b537966a0d Added bogus casts to avoid compiler warnings. 1995-11-13 09:03:30 +00:00
bde
8302f77279 Fixed parentheses in macros. 1995-11-13 08:58:06 +00:00
bde
14484188fe Replaced nosys() by lkm_nullcmd(). 1995-11-13 08:52:08 +00:00
bde
78909de5f5 Fixed the type of yet another timeout function.
Fixed the type of pcic_unload().

Replaced nosys() by lkm_nullcmd() in pcic_mod() and in a misplaced
comment about the lkm interface.
1995-11-13 08:39:44 +00:00
roberto
613c8ea3c3 Update the FAQ.
Is there anyone who could give me an account on a faster-than-20-bytes-per
second line to the US (not EBONE) ? I'm having too many problems connecting
to freefall to do commits... It would be better if it could be a ssh-protected
account, that would give a strong authentication.

The RENATER line (and thus EBONE) is almost dead for remote login after
10AM european time... :-(

Thanks in advance.
1995-11-13 08:24:59 +00:00
bde
bc3a8c9dbf Fixed a cast in olseek().
Fixed confusing order of declarations of getvnode()'s args.
1995-11-13 08:22:21 +00:00
bde
2b0462dbe2 Fixed the type of a function pointer in struct execsw. 1995-11-13 07:44:03 +00:00
bde
4d0291b75b Replaced nosys() by lkm_nullcmd(). Always call lkm load/unload/stat
functions instead of skipping the call if the function is nosys().
nosys() returned the wrong value as well as having the wrong type.
1995-11-13 07:19:10 +00:00