bde
6006f83c90
Fixed a comment.
1995-11-18 13:07:51 +00:00
bde
4524e3644e
Added bogus casts to avoid warnings.
...
Continued cleaning up sysinit stuff.
1995-11-18 13:01:19 +00:00
bde
f6f9517a58
KNFized spec_getpages_idone() and spec_getpages().
...
Moved misplaced #includes.
Completed function pointer declarations.
1995-11-18 12:49:14 +00:00
bde
fc2b88c806
Fixed the errno returned by rename("dir1", "dir2/."). It was EISDIR
...
(duh); translate it to EINVAL which is the errno for other renames
to ".".
1995-11-18 11:35:05 +00:00
bde
c8a9e0e378
Improved formatting.
...
Added a comment about possibly better handling of INPCK.
Added a prototype.
1995-11-18 11:07:00 +00:00
bde
a22b1aac63
Cleaned up SA_NODEFER changes.
...
Added prototypes.
1995-11-18 10:01:38 +00:00
bde
f032d983b7
Moved bogusly placed #endif that hid some prototypes.
1995-11-18 09:37:42 +00:00
bde
58a38b4b38
Updated comments. The comments about the unused addresses get broken
...
almost every time someone uses an address. This file is probably not
the right place to keep track of the unused addresses (or used
addresses :->).
Fixed comments on #endif's to match code.
Added defines for ASC and GSC sizes. This file is not the right place
to keep track of scanner addresses, but while there here and we
pretend to keep track of unused addresses, the sizes need to be here
too.
Sorted IO_*SIZE defines.
1995-11-18 09:29:39 +00:00
bde
0b3bb1936a
Fixed the types of the apm hook functions.
...
Completed function declarations.
Added prototypes.
Partially fixed the path to cons.h.
1995-11-18 08:58:14 +00:00
bde
5f8371d19f
Fixed the types of the apm hook functions.
...
Completed function declarations.
Added prototypes.
1995-11-18 08:39:28 +00:00
bde
2403a3bdb8
Fixed the type of a timeout function.
...
Added prototypes.
1995-11-18 08:35:49 +00:00
bde
6601faf9f3
Fixed staticization - use `static' in function headers, not just in
...
prototypes.
1995-11-18 08:29:04 +00:00
bde
46948cb1ec
Fixed a bogus include path.
...
Removed a bogus include.
Added prototypes.
1995-11-18 08:21:15 +00:00
bde
618bbe9fb0
Staticized an inline function. All inlines in kernel headers should be
...
static. The function shouldn't be here anyway. It is driver dependent,
while `ic' files are supposed to only depend on the IC.
1995-11-18 08:12:30 +00:00
bde
e1c8826a56
Fixed (nonexistent) initialization of bp->b_pblkno. disksort() for
...
floppies must have been random in 2.x since we reintroduced sorting
on b_pblkno on 1995/03/18. Drivers still initialize b_cylin/b_resid
although this is no longer used.
Removed unused, wrong function fdsize(). (Returning 0 means that the
device exists and has size 0, not that the device doesn't exist.
swaponvp() allows for size 0 by stupidly calling the d_psize function
twice if the size isn't 0. setdumpdev() doesn't allow for it.)
Continued removing /* ARGSUSED */ from drivers.
1995-11-18 07:48:11 +00:00
bde
921eaa04e6
Fixed the type of a timeout function.
...
Removed related bogus casts of function pointers.
Removed a bogus include.
1995-11-18 07:07:04 +00:00
bde
27735b844a
Fixed the type of vm_fault_quick() - don't convert types back and forth
...
through bogus immediate types.
Added prototypes.
1995-11-18 06:54:11 +00:00
bde
0e35ee8052
Fixed handling of trace traps when cons_unavail is set. Added comments
...
about handing of other cases.
1995-11-18 06:49:35 +00:00
bde
9c1796f0bf
Restored the device-driverness off wd.c. It got lost when wdc was
...
introduced.
Fixed the device-driverness of atapi.c and spkr.c.
These changes are actually no-ops because ${DRIVER_C} is the same as
${NORMAL_C} for the i386. I could do without magic CFLAGS. Special
handling should be in the sources if possible.
1995-11-18 05:34:00 +00:00
bde
2d5609b7ae
Removed bogus padding that wasted 0x500 bytes.
...
Improved code and comments. Don't do anything except transfer control
in the head.o module.
1995-11-18 05:25:24 +00:00
bde
ba88374c64
Fixed scrolling. The bottom line wasn't cleared. This caused the
...
boot to display "Booting the kernelel...done" instead of "Booting
the kernel".
Removed save and restore of BIOS memory. kzipped kernels haven't
ever overlaid the BIOS memory.
1995-11-18 05:12:10 +00:00
bde
1ab1d0615c
Fixed the types of apm_default_resume() and apm_default_suspend().
...
Added prototypes.
1995-11-18 04:37:23 +00:00
bde
bf95d7cc56
Fixed the type of nic_listen(). A trailing arg was missing.
...
Fixed calls to s_intr(). There was sometimes an extra trailing arg.
1995-11-18 04:19:44 +00:00
dg
6a1863f80c
Set flag to stop backoff counter from counting when carrier activity is
...
detected. This dramatically reduces the collision rate (about 1/10th of
what is was previously).
Submitted by: Matt Thomas <matt@lkg.dec.com>
1995-11-17 12:11:22 +00:00
phk
7631637fd4
All net.* sysctl converted now.
1995-11-16 19:00:27 +00:00
bde
590eb80fc2
Moved declarations for static functions to the correct place (not in a
...
header) and cleaned them up.
1995-11-16 11:48:10 +00:00
bde
1f7a6b421f
Moved declarations for static functions to the correct place (not in a
...
header).
Removed stupid comments.
1995-11-16 11:39:11 +00:00
bde
536440376f
Fixed the type of procfs_sync(). Trailing args were missing.
...
Fixed the type of procfs_fhtovp(). The args had little resemblance to
the correct ones.
Added prototypes.
1995-11-16 11:34:51 +00:00
bde
1021ce9fbe
Fixed the type of portal_sync(). Trailing args were missing.
...
Fixed the type of portal_fhtovp(). The args had little resemblance to
the correct ones.
Added prototypes.
1995-11-16 11:24:06 +00:00
bde
83c92cd309
Fixed the type of kernfs_sync(). Trailing args were missing.
...
Fixed the type of kernfs_fhtovp(). The args had little resemblance to
the correct ones.
Added prototypes.
1995-11-16 11:16:13 +00:00
bde
c0aa19d261
Fixed the type of fdesc_sync(). Trailing args were missing.
...
Fixed the type of fdesc_fhtovp(). The args had little resemblance to
the correct ones.
Added prototypes.
1995-11-16 10:58:35 +00:00
bde
4e038e6093
Fixed a call to the listen function. A trailing arg was missing.
...
Fixed the type of isdn_check(). A trailing arg was missing.
Included "conf.h" to get some prototypes.
Completed function declarations.
Added prototypes.
Removed some useless includes.
1995-11-16 10:47:21 +00:00
bde
2b83283c23
Completed function declarations.
...
Added prototypes.
1995-11-16 10:44:48 +00:00
bde
c571384afa
Fixed the type of ity_input(). A trailing arg was missing.
...
Completed function declarations.
Added prototypes.
Removed some useless includes.
1995-11-16 10:35:29 +00:00
bde
9e8b85a741
Fixed the type of itel_input(). A trailing arg was missing.
...
Included "conf.h" to get some prototypes.
Removed some useless includes.
1995-11-16 10:22:29 +00:00
bde
fa050e26ee
Fixed the types of iioutput() and ii_input(). Trailing args were missing.
...
Completed function declarations.
1995-11-16 10:10:50 +00:00
bde
b87785185d
Included <sys/conf.h>. It used to be included as a side effect of
...
including <sys/devconf.h>.
1995-11-16 09:56:02 +00:00
bde
fd57258459
Fixed recent staticizations. Some protypes for static functions were
...
left in headers and not staticized.
1995-11-16 09:51:22 +00:00
bde
a7a396155f
Fixed support for DIAGNOSTIC option. SYSCTL_INT() depends on kernel.h.
1995-11-16 09:45:23 +00:00
dg
3a54d792b9
Correct the bogus probe for 8216/8416 cards...it was broken.
...
Submitted by: Steve Piette <steve@simon.chi.il.US>
1995-11-15 07:45:56 +00:00
asami
47a97d12ac
Minor aesthetics (changed "." to space in "cd present.[a x b records]"
...
and removed extraneous newline after "can't get the size").
1995-11-15 03:27:14 +00:00
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
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