Commit Graph

10911 Commits

Author SHA1 Message Date
Bruce Evans 980dc8bb6e Fixed the type of a timeout function.
Added prototypes.
1995-11-18 08:35:49 +00:00
Bruce Evans caa8e73783 Fixed staticization - use `static' in function headers, not just in
prototypes.
1995-11-18 08:29:04 +00:00
Bruce Evans 6b88228fc4 Fixed a bogus include path.
Removed a bogus include.

Added prototypes.
1995-11-18 08:21:15 +00:00
Bruce Evans c5d1682b14 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
Bruce Evans 27513ca73b 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
Bruce Evans 0f5c6b7d97 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
Bruce Evans 6c146e28a6 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
Bruce Evans 29b2d3a9dc 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
Bruce Evans 41e7c9b71d 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
Bruce Evans 92b86cc420 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
Bruce Evans a87c854a14 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
Bruce Evans a17ca20cbc Fixed the types of apm_default_resume() and apm_default_suspend().
Added prototypes.
1995-11-18 04:37:23 +00:00
Bruce Evans 8633dd3209 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
Jordan K. Hubbard fbd359d72a Ack. How embarassing. The PCNFSD and GATED config items were essentially
no-ops up to now, and the samba configuration didn't bother to add the package
either.  Whoops!
1995-11-17 23:49:45 +00:00
Joerg Wunsch 1cc09ccecf Avoid bogus free() of a junk pointer.
Detected by: phkmalloc
Submitted by:	grog@lemis.de (Greg Lehey)
1995-11-17 23:22:34 +00:00
Satoshi Asami df4f0253cd Use NO_MTREE, not !USE_X11 && !USE_IMAKE, to determine package args.
NO_MTREE should work as advertised (for both direct installation and
pkg_add) now.
1995-11-17 16:49:40 +00:00
Poul-Henning Kamp 6dcfd07215 Make this compile again by adding the necessary includes. 1995-11-17 16:29:24 +00:00
Poul-Henning Kamp 07f16e5324 Make sysctl compile again by removing all the debug stuff. 1995-11-17 16:28:42 +00:00
Jordan K. Hubbard 07dae43c52 Warn the user extra special for /etc/sysconfig. 1995-11-17 14:17:12 +00:00
Jordan K. Hubbard d26eee101c Remove tabs, argh! 1995-11-17 13:34:54 +00:00
David Greenman 38428efc63 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
Poul-Henning Kamp 5204129576 All net.* sysctl converted now. 1995-11-16 19:00:27 +00:00
Bruce Evans af48260143 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
Bruce Evans fcf985ad5d Moved declarations for static functions to the correct place (not in a
header).

Removed stupid comments.
1995-11-16 11:39:11 +00:00
Bruce Evans d77206b33b 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
Bruce Evans 10639ce2c0 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
Bruce Evans 9f3a4cd083 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
Bruce Evans 84cac4647f 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
Bruce Evans a44f971709 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
Bruce Evans 7090e1977e Completed function declarations.
Added prototypes.
1995-11-16 10:44:48 +00:00
Bruce Evans fc0c0c5604 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
Bruce Evans c4ccf33414 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
Bruce Evans 2be9300965 Fixed the types of iioutput() and ii_input(). Trailing args were missing.
Completed function declarations.
1995-11-16 10:10:50 +00:00
Bruce Evans eabc9678bc 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
Bruce Evans ff98689d2d Fixed recent staticizations. Some protypes for static functions were
left in headers and not staticized.
1995-11-16 09:51:22 +00:00
Bruce Evans 986f4ce75e Fixed support for DIAGNOSTIC option. SYSCTL_INT() depends on kernel.h. 1995-11-16 09:45:23 +00:00
Satoshi Asami a8618eedb8 Update list of Japanese sites to match installer's menu. Move Japan
into right place in alphabetical order (who thought it was after USA?).
Ditto for Hong Kong (H is not exactly after I in my dictionary).
1995-11-16 09:30:09 +00:00
Gary Palmer e265b77bef Change the handling of the leapseconds so that if LEAPSECONDS isn't
defined, it doesn't call zic with -L /dev/null, and instead doesn't
use -L at all
1995-11-16 02:00:38 +00:00
Joerg Wunsch e6c267f18c Dynamically allocate line buffers, instead of assuming that all the
world would fit into BUFSIZ.
1995-11-15 15:01:01 +00:00
Peter Wemm f3117d66d3 Fix the bug that caused the AF_UNIX domain sockets to not be shown..
(it was nlist()ing a wrong symbol name).  Only problem is that I'd grown
quite partial to the inet-only version.. :-)
1995-11-15 14:56:34 +00:00
Satoshi Asami 33903a061a Dvorak keyboard users of the world unite!
us.dvorak.kbd: The "standard" (note the quotes, there really isn't any
                standard for non-alphanumeric keys in the Dvorak
                world) version, identical to what MicroSoft
                distributes in their DOS-6.22 supplementary disk.
us.dvorakx.kbd: The version I use, three pairs swapped (esc <-> `~,
                clock <-> lctrl, and =+ <-> \|) from the above.
1995-11-15 11:49:49 +00:00
David Greenman f13d0e7dbf 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
Jordan K. Hubbard 84ae26b1b1 Use proper emphasis formatting directives. 1995-11-15 07:44:56 +00:00
Satoshi Asami e77a9fca43 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
Satoshi Asami fc315fd89d contrib.sgml: Add my name to the "who's doing what" list.
porting.sgml: Update concerning the recent changes in pkg/COMMENT
              policy (no package name in front).
1995-11-14 23:58:43 +00:00
Peter Wemm be467afaff With the recent 'make install' change in the kernel build makefiles, an
`interesting' feature of syslogd turned up.  It calls getbootfile() for each
log entry.  Since the kernel makefile now changes kern.bootfile when doing
a 'make install', it's quite startling to see the syslog lines change.

This change makes it call getbootfile() once at startup and cache it,
saving a syscall per loop, and keeping something a little more asthetically
pleasing in /var/log/messages...
1995-11-14 23:39:39 +00:00
Peter Wemm fdd453c18f Add "what I'm responsible for" to the contrib.sgml file... 1995-11-14 22:29:35 +00:00
Poul-Henning Kamp f5a1271110 staticize. 1995-11-14 20:53:20 +00:00
Poul-Henning Kamp 708a8f9633 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
Poul-Henning Kamp 920e8dc220 Fiddle with <machine/isa_device.h> 1995-11-14 20:49:24 +00:00