Commit Graph

11111 Commits

Author SHA1 Message Date
bde
10681514df Fixed the types of the apm suspend/resume functions. 1995-11-09 08:57:10 +00:00
bde
aded75dcc7 ext2_inode_cnv.c:
Included <sys/vnode.h> and its prerequisite <sys/proc.h>, and cleaned
up includes.  The vop_t changes made the non-inclusion of vnode.h
fatal instead of just sloppy.

i386_bitops.h:
Changed `extern inline' to `static inline'.  `extern inline' is a
Linuxism that stops things from compiling without -O.  Fixed
idempotency identifier.

Misc:
Added prototypes.  Staticized some functions so that prototypes are
unnecessary.  Added casts.  Cleaned up includes.
1995-11-09 08:41:25 +00:00
bde
449a11eb88 Introduced a type `vop_t' for vnode operation functions and used
it 1138 times (:-() in casts and a few more times in declarations.
This change is null for the i386.

The type has to be `typedef int vop_t(void *)' and not `typedef
int vop_t()' because `gcc -Wstrict-prototypes' warns about the
latter.  Since vnode op functions are called with args of different
(struct pointer) types, neither of these function types is any use
for type checking of the arg, so it would be preferable not to use
the complete function type, especially since using the complete
type requires adding 1138 casts to avoid compiler warnings and
another 40+ casts to reverse the function pointer conversions before
calling the functions.
1995-11-09 08:17:23 +00:00
gibbs
7b39ff1acd Second pass on this. Sentinal device node was an uneeded complication.
Handle kdc registration correctly.  Catch ISA devices that use eisa
registration and output probe information accordingly.

lsdev will have to be updated to handle EISA devices correctly.

aic7770.c:
	Set kdc_isa0 as the parent for 284X cards since its a VL card.
1995-11-09 07:14:11 +00:00
jkh
0476cdd071 o Now that Coranth has made the anonymous FTP configuration not use adduser,
bring it back.
o Simplify the vsystem() call by ripping out a good deal of the extraneous grot.
1995-11-09 02:32:05 +00:00
nate
fb600fd0f6 Re-wrote the locate.updatedb script in /bin/sh for speed and portability.
Obtained from: Partially my work in 1.
1995-11-09 00:48:41 +00:00
ache
a2bca2c1ac Author's cosmetic fixes 1995-11-08 09:55:12 +00:00
ache
aed5914bc6 Author's fixes of backspace problem, slightly different then mine was 1995-11-08 09:54:19 +00:00
phk
ed1a50b4d7 Fix some of the sysctl broke, and add a lot more to it. 1995-11-08 08:48:36 +00:00
phk
022ad6e833 Add qsort() to libkern, taken from libc. 1995-11-08 08:40:11 +00:00
jkh
a93e9a6a57 o Use correct device for Wangtek tapes.
o Caution against use of `W' options in label/partition screens (dangerous!)
o Make various types of debugging dreck conditionalize on DEBUG flag
o Make a fake /var/db/mountdbtab file so new system doesn't complain
o Apply uniform permissions to entire /usr/X11R6 tree.
o Set erase character to ^H for all interactive commands.
o Don't panic if user exits upgrade shell, reboot.
o Document dangers of `W' options in help screens also.
1995-11-08 07:09:36 +00:00
dyson
1b03752acf Export a symbol that ext2fs wants (insmntque.) 1995-11-08 04:51:15 +00:00
dyson
12d1627c81 Cleaned up some lint and some obvious prototyping errors. 1995-11-08 04:50:00 +00:00
phk
9f443f927c missed one static thingie. 1995-11-07 14:10:19 +00:00
phk
ea7d29ed7a staticize private parts. 1995-11-07 14:06:45 +00:00
phk
06201558ed Make a lot of private stuff static.
Should anybody out there wonder about this vendetta against global
variables, it is basically to make it more visible what our interfaces
in the kernel really are.
I'm almost convinced we should have a
	#define PUBLIC /* public interface */
and use it in the #includes...
1995-11-07 13:39:31 +00:00
gibbs
7be91d1557 Fix typo in QUEUE_FULL_SUPPORTED section.
Submitted by: Satoshi Asami <asami>
1995-11-07 07:01:05 +00:00
gibbs
06d23c91c8 Remove uneccessary increment of the unit number. 1995-11-07 05:33:27 +00:00
gibbs
49aa0cf82b Properly print out the chip type again. ahc_init really needs a rewrite. 1995-11-07 05:32:47 +00:00
gibbs
846ff71f2f Fix the long dreaded Wide bug and enable WIDEODD for reads. 1995-11-07 05:31:28 +00:00
dyson
1ffbdf1a44 This is a modification missed by me in the msync fixes a few days ago. 1995-11-07 05:09:43 +00:00
jkh
78f206a635 Fix a really stooopid bug that was clobbering the package menu.
Pointed-out-by:	ache
1995-11-06 22:26:28 +00:00
joerg
d6d7d9de0f Well, Jochen adopted most of my submissions. So only the different
style of error reporting (i prefer gcc style to be consistent with the
compiler) is left, plus a minor nit he's most likely been overlooking.

There are still problems with bootstrapping, and you should expect
troubles when linting libc...
1995-11-06 21:54:02 +00:00
phk
a9b815ff73 Close PR misc/75. I thought this was done long time ago... 1995-11-06 17:28:31 +00:00
phk
e6244c4ac2 Fix two nits. 1995-11-06 16:51:45 +00:00
phk
a87b12906d On working the new sysctl vars a bit I realized that I needed more generality.
This is here now.  We can now access (the new) sysctl variables from the
kernel too and using functions to handle access is more sane now.
I will now attack sysctl variables in the rest of the kernel and get them
all converted to newspeak.
1995-11-06 16:18:52 +00:00
dg
b0e92e3fe4 All:
Changed vnodep -> vp for consistency with the rest of the kernel, and
changed iparams -> imgp for brevity.

kern_exec.c:
   Explicitly initialized some additional parts of the image_params struct
to avoid bzeroing it. Rewrote the set-id code to reduce the number of
logical tests. The rewrite exposed a mostly benign bug in the algorithm:
traced set-id images would get ktracing disabled even if the set-id didn't
happen for other reasons.
1995-11-06 12:52:37 +00:00
jkh
70e3317392 Some general fixes for the package menu (still need to fix the "more than 10
items checked bug though).  Now allow user to specify a PKG_TMPDIR.  If
not selected, we try to make one.
1995-11-06 12:49:27 +00:00
dg
aa13ab02a2 Initialize lock struct entries explicitly rather than calling bzero(). 1995-11-06 08:44:15 +00:00
jkh
61575af416 Correct some *serious* brain-o's in the upgrade procedure. Thanks for
your patience, Julian!
1995-11-06 08:28:12 +00:00
dg
fc86291f97 Initialize the 3 remaining elements of the scsi_cmd struct rather than
bzeroing the whole thing in sdstart().
1995-11-06 08:19:24 +00:00
gibbs
b47cbba258 -Wall fixes. 1995-11-06 05:21:13 +00:00
gibbs
d21be4a073 Probe all slots even if an EISA main board isn't found. This catches
cards like the Adaptec 284x that use EISA ID registers for identification
even when in stalled in non-EISA systems.

Use one format throught the files.

-Wall fixes.
1995-11-06 05:21:01 +00:00
dyson
7d20c15d2f Omitted a '#if FIFO' in ext2_vnops.c
Submitted by:	Justin Gibbs
1995-11-06 04:05:01 +00:00
dyson
6190778944 This commit causes UFS to perform at Linux EXT2FS metadata rates. After
earlier discussions with DG, and a recent email exchange with SEF, I
decided to allow UFS to run wide-open on an experimental basis.  We
will probably support eventually multiple async modes, and this is
the fastest the we can expect.  Just use the -o async flag on the
UFS mount.  Good luck...
1995-11-06 03:21:41 +00:00
dyson
f4abf27223 Mount program for EXT2FS.
Submitted by:	Godmar Back <gback@facility.cs.utah.edu>
1995-11-06 02:21:35 +00:00
bde
08b652fb65 Replaced bogus macros for dummy devswitch entries by functions.
These functions went away:

	enosys (hasn't been used for some time)
	enxio
	enodev
	enoioctl (was used only once, actually for a vop)

if_tun.c:
Continued cleaning up...

conf.h:
Probably fixed the type of d_reset_t.  It is hard to tell the correct
type because there are no non-dummy device reset functions.

Removed last vestige of ambiguous sleep message strings.
1995-11-06 00:36:19 +00:00
dyson
aa3705d78b Changes to existing files for ext2fs support. The UFS mods need rework
in the future as they are a bit crufty -- but at least the stuff is in the
tree now.
1995-11-05 23:36:07 +00:00
dyson
65a271ba6d Main code for the ext2fs filesystem. Please refer to the COPYRIGHT.INFO
file for GPL restrictions.  This code was ported to the BSD platform
by Godmar Back <gback@facility.cs.utah.edu> and specifically to FreeBSD
by John Dyson.  This code is still green and should be used with caution.
Additional changes to UFS necessary to make this code work will be commited
seperately.
Submitted by:	Godmar Back <gback@facility.cs.utah.edu>
Obtained from:	Lites/Mach4
1995-11-05 23:25:12 +00:00
dyson
b345e18c93 Fix ufs_bmap so that triple indirect blocks might work.
Submitted by:	Godmar Back <gback@facility.cs.utah.edu>
1995-11-05 23:07:37 +00:00
jkh
71554706f8 Fix some spelling errors and refer to st0 and st1' rather than cd0 and cd1'
in places (whoops!).
Submitted by:	John Lind <john@starfire.mn.org>
1995-11-05 23:01:18 +00:00
dyson
cfa6fda252 Make MNT_ASYNC more effective for UFS. It should not be too much more
dangerous than the original MNT_ASYNC.  There might be some minor
security considerations due to data writes not being posted as promptly
as before.  Meta-data operations are still not quite as fast as Linux,
but streaming I/O is still higher.
1995-11-05 21:01:15 +00:00
dyson
1b8e5404ee Greatly simplify the msync code. Eliminate complications in vm_pageout
for msyncing.  Remove a bug that manifests itself primarily on NFS
(the dirty range on the buffers is not set on msync.)
1995-11-05 20:46:03 +00:00
bde
d461b5899d Replaced bogus macros for entry points to unconfigured line disciplines
by functions.

tty_conf.c:
Cleaned up formatting of tables.

Removed another ARGSUSED for consistency.

conf.h:
Introduced typedefs for line discipline functions.

Backed out most of previous revision (it is done elsewhere).
1995-11-05 20:25:59 +00:00
joerg
1bebc101f8 Include mkdosfs into the list of subdirs.
Reorder the list.
1995-11-05 19:24:19 +00:00
joerg
2e33dda4cf Cross-reference newfs(8), and mkdosfs(1). 1995-11-05 19:23:42 +00:00
jfieber
b865c17b8c Add sgmlfmt to build-tools target so a make world with current source
on a <= 2.0.5 system does not fall over.
1995-11-05 18:42:23 +00:00
gibbs
29af6ad502 Add eisa0 and remove ISA configuration line for ahc0. 1995-11-05 17:02:54 +00:00
joerg
59c8500422 This commit was generated by cvs2svn to compensate for changes in r12102,
which included commits to RCS files with non-trunk default branches.
1995-11-05 16:02:04 +00:00
joerg
a7d823cf62 mkdosfs -- a tool to create an MS-DOS file system on a device or file.
Since msdosfs is part of the base system, it's not wise to rely on
something like mtools to provide this functionality.

This utility is the agreed fix for PR # misc/804      fdformat did not ...
1995-11-05 16:02:04 +00:00