dyson
fde0933a9e
Some DIAGNOSTIC code was enabled all of the time in error. The
...
diagnostic code is now conditional on #ifdef DIAGNOSTIC again.
1995-12-11 15:41:50 +00:00
peter
286d95551f
Make FIONREAD return the actual that a read() would return, not just the
...
amount of data in the first mbuf.
Obtained from: Bob Smart <smart@mel.dit.csiro.au> (for NetBSD & SunOS)
1995-12-11 13:24:58 +00:00
phk
d7af2f0a80
Back out this one, must have screwed up somewhere :-(
1995-12-11 10:26:34 +00:00
phk
9d7b5a9783
Staticize
1995-12-11 09:26:18 +00:00
phk
dffac85a9b
Staticize.
1995-12-11 09:24:58 +00:00
dyson
c9fc5826da
Undo a change that should not have been committed with the 1Tb enhancements.
1995-12-11 05:02:52 +00:00
dyson
601ed1a4c0
Changes to support 1Tb filesizes. Pages are now named by an
...
(object,index) pair instead of (object,offset) pair.
1995-12-11 04:58:34 +00:00
peter
8d9a84ecfe
Add a structure definition to the MD* Contexts, so that cvs can use
...
the standard libmd version of MD5 instead of it's own seperate copy..
1995-12-11 02:18:22 +00:00
bde
ccae5414a4
Added pcvt option FAT_CURSOR.
...
Fixed comment about PCVT_VERSION=210.
Fixed tabs and trailing blanks.
1995-12-10 22:14:15 +00:00
bde
0a6a619c60
Added undocumented option EXT2FS so that it gets tested.
...
Enabled option GPL_MATH_EMULATE so it gets tested. This will cause linkage
errors.
Fixed comment about PCVT_VERSION=210.
1995-12-10 22:09:14 +00:00
bde
3e882cae21
Restored variables that are used iff QUOTA is defined.
...
ext2fs still uses #if in many cases where the rest of the kernel uses
#ifdef (for QUOTA...).
1995-12-10 21:38:45 +00:00
bde
e423d4fa01
Unstaticized cx_cdevsw (it is used in if_cx.c).
...
Added a prototype.
1995-12-10 21:08:11 +00:00
bde
644a38f2a8
Replaced nxreset by noreset (if the reset function gets called, then the
...
device must be configured. It's hard to tell whether a reset function
should be noreset or nullreset since reset functions are never called.
Most drivers use nullreset but noreset has the advantage of complaining
if somehow gets called).
1995-12-10 20:54:38 +00:00
bde
1fa3289237
Replaced nxmmap by nommap (if the mmap function gets called, then the
...
device must be configured).
1995-12-10 20:34:53 +00:00
bde
b3651e490f
Replaced odsize by generic nopsize.
...
Staticized.
Added prototypes.
1995-12-10 20:19:32 +00:00
bde
5e103e2a73
Replaced scdsize by generic nopsize.
1995-12-10 20:10:23 +00:00
bde
8d9fed7ec4
Replaced cdsize by generic nopsize.
...
Added prototypes.
Declared statics consistently.
1995-12-10 20:02:47 +00:00
bde
fe727807c4
Replaced nxdump by nodump (if the dump function gets called, then the
...
device must be configured, so ENXIO is a bogus errno).
Replaced zerosize by nopsize. zerosize was a temporary alias.
1995-12-10 19:53:42 +00:00
bde
2c85bcd8ba
Replaced nxdump by nodump (if the dump function gets called, then the
...
device must be configured, so ENXIO is a bogus errno).
Replaced zerosize by nopsize. zerosize was a temporary alias.
1995-12-10 19:44:58 +00:00
bde
0cb993b9a2
Reduced and cleaned up #includes.
1995-12-10 19:08:32 +00:00
bde
99e5039c72
Removed new alias d_size_t for d_psize_t.
...
Removed old aliases d_rdwr_t and d_ttycv_t for d_read_t/d_write_t and
d_devtotty_t.
Sorted declarations of switch functions into switch order.
Removed duplicated comments and declarations of nonexistent switch
functions.
1995-12-10 15:55:34 +00:00
bde
17cc71f826
Removed unused functions sudump() and supsize().
...
Added `extern' to misplaced public prototypes.
1995-12-10 14:57:04 +00:00
bde
31bbf49f89
Restored used includes of <vm/vm_extern.h>.
1995-12-10 14:52:10 +00:00
phk
378233caac
Last commit this round: Staticize.
...
we are now down to about 1146 symbols being global, of which
I estimate that about 100 are validly so.
1995-12-10 13:45:30 +00:00
phk
e7008a284e
Staticize and cleanup.
1995-12-10 13:40:44 +00:00
phk
6a1611e3f8
Staticize and cleanup.
...
Ohh, forgot this bit:
(covers sio.c too) recognize the 16650 too.
1995-12-10 13:40:33 +00:00
phk
a17ab54434
Staticize and cleanup.
...
remove a TON of #includes from machdep.
1995-12-10 13:36:34 +00:00
phk
924d3d88e6
Staticize and cleanup.
...
Make debug variable sysctl aware in 1742.
1995-12-10 13:33:49 +00:00
phk
a298a1843c
Staticize and cleanup.
1995-12-10 13:32:43 +00:00
julian
2bdd745e5f
Make NEW_SCSICONF the default way of doing things
...
It will need to be changed
but it's the better starting point..
also add '?' to wildcarding in SCSI identification of devices..
so we can catch all PIONEER CD 6??* devices instead of having
separate entries for the 600, 602, 604X, 624X etc..
it's getting so we should have a small regexp routine in the kernel
maybe just a little one.. matching CDX-6[0-9][0-9][ A-Z] would be better
there will be drastic changes in this
but this is the best starting point..
1995-12-10 10:58:30 +00:00
julian
87e768602b
Add DEVFS to LINT
1995-12-10 10:50:32 +00:00
bde
c480b5de5e
Restored used function fusword() (used by GPL math emulator).
1995-12-10 03:11:32 +00:00
bde
854894bd5c
Moved vm includes out of centralized headers again.
1995-12-10 02:53:07 +00:00
bde
c951d0b363
Moved the declaration of boolean_t from <vm/vm_param.h> to
...
<sys/types.h> (if KERNEL is defined). This allows removing bogus
dependencies on vm stuff in several places (e.g., ddb) and stops
<vm_param.h> from depending on <vm_param.h>
Added declaration of boolean_t to <vm/vm.h> (if KERNEL is not
defined). It never belonged in <vm/vm_param.h>. Unfortunately,
it is required for some vm headers that are included by applications.
Deleted declarations of TRUE and FALSE from <vm/vm_param.h>. They
are defined in <sys/param.h> if KERNEL is defined and we'll soon
find out if any applications depend on them being defined in a vm
header.
1995-12-10 02:34:29 +00:00
bde
7c400f9c2b
Restored used variable `name[32]' (used by DEVFS).
...
Completed function declarations and/or added prototypes.
1995-12-10 01:47:34 +00:00
bde
3f53450677
Restored used variable `name[32]' (used by DEVFS).
...
Removed an `#ifdef __FreeBSD__'. Hundreds, if not thousands of other
FreeBSD-specific things aren't ifdefed.
1995-12-10 01:20:17 +00:00
phk
8cf2801608
Staticize, clean lint.
1995-12-09 20:47:15 +00:00
phk
587bac2445
Change SYSCTL_OPAQUE to take a format string.
1995-12-09 20:46:06 +00:00
phk
8f20b511b7
Staticize.
1995-12-09 20:43:53 +00:00
phk
37ba510363
scsi_tape.h had some old cruft that looked like missing typedefs or
...
something. Cleanup some lint in sd.c and st.c.
1995-12-09 20:42:38 +00:00
phk
b4ab7c240e
Remove various unused symbols and procedures.
1995-12-09 20:40:43 +00:00
phk
90cc40edfe
Move sysctl machdep.consdev to cons.c
1995-12-09 20:39:47 +00:00
phk
713f23c10a
Staticize.
1995-12-09 20:34:16 +00:00
phk
58b47f265a
Remove option ARP_PROXYALL, it's now a sysctl var.
1995-12-09 16:10:20 +00:00
phk
88842a65c3
Remove old ballast, clean up a little bit, staticize.
...
Add five sysctl variables that you should probably never tweak.
net.arp.t_prune: 300
net.arp.t_keep: 1200
net.arp.t_down: 20
net.arp.maxtries: 5
net.arp.useloopback: 1
net.arp.proxyall: 0
(It's net.arp because arp isn't limited to inet, though our present
implementation surely is).
1995-12-09 16:06:54 +00:00
julian
024d9b147e
clean a few DEVFS things..
...
fix a bug where you couldn't place devices in the root directory
of devfs
remove deprecated routines
On my machine devfs now shows:
julian@erf.tfs.com:
julian@erf.tfs.com: ls -RF
bpf0 mem ptypb spkr ttyp8
bpf1 null ptypc stderr ttyp9
bpf2 pcaudio ptypd stdin ttypa
bpf3 pcaudioctl ptype stdout ttypb
console pt ptypf tty ttypc
cuaa0 ptyp0 random ttyd0 ttypd
cuaia0 ptyp1 rsd0 ttyid0 ttype
cuala0 ptyp2 rsd1 ttyld0 ttypf
fd/ ptyp3 rvn ttyp0 tun0
fd0.1440 ptyp4 rworm ttyp1 urandom
fd1.1200 ptyp5 scsi/ ttyp2 vn
io ptyp6 sd0 ttyp3 zero
kmem ptyp7 sd1 ttyp4
lkm ptyp8 snp0 ttyp5
log ptyp9 snp1 ttyp6
lpt0 ptypa snp2 ttyp7
./fd:
0 15 21 28 34 40 47 53 6 9
1 16 22 29 35 41 48 54 60
10 17 23 3 36 42 49 55 61
11 18 24 30 37 43 5 56 62
12 19 25 31 38 44 50 57 63
13 2 26 32 39 45 51 58 7
14 20 27 33 4 46 52 59 8
./scsi:
sctarg ssc
julian@erf.tfs.com:
which is all devices really there except for disk slices/partitions..
(if I don't have it it's not there, which has GOT to be an improvement..)
no DEVFS fixes from device maintainers yet?
1995-12-09 09:11:25 +00:00
peter
84865bbe45
Attempt to make the Linux LKM compile again after the recent VM include
...
de-nesting changes...
(I figured this might be usefulif it actually built, since I've told
everybody to rebuild it or die.. :-)
1995-12-09 08:17:24 +00:00
peter
5eec8f909f
A really gross hack to make more of the source tree compile again.
...
#include <sys/user> used to be self contained, but now it needs either
half a dozen VM specific includes beforehand (yuck, so much for
portability), or some horrible hack like this for user-mode only
applications.. The kind of stuff that needs this is the libkvm stuff,
w, ps, etc... I would welcome a better fix for this BTW.. :-)
(note: this is #ifndef KERNEL, so it shouldn't be re-polluting the kernel
space after it's been so painfully cleaned up...)
1995-12-09 05:10:55 +00:00
peter
f525350c68
Update ibcs2 to use the new ps_strings / stack gap arrangements..
1995-12-09 04:33:27 +00:00
peter
bc5de44146
Update the Linux LKM to use the new ps_strings and stack gap arrangements.
...
(note you should recompile the linux and ibcs2 lkms after this)
1995-12-09 04:31:47 +00:00