Commit Graph

11278 Commits

Author SHA1 Message Date
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
jkh
62889588f4 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
ef36b99558 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
asami
c5cc6e0eab 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
phk
7192b4c2d9 Make this compile again by adding the necessary includes. 1995-11-17 16:29:24 +00:00
phk
bd70a3c2da Make sysctl compile again by removing all the debug stuff. 1995-11-17 16:28:42 +00:00
jkh
96599fabb3 Warn the user extra special for /etc/sysconfig. 1995-11-17 14:17:12 +00:00
jkh
d6a86f8282 Remove tabs, argh! 1995-11-17 13:34:54 +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
asami
d7bfe7937d 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
gpalmer
4a111df1f2 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
ed683028f0 Dynamically allocate line buffers, instead of assuming that all the
world would fit into BUFSIZ.
1995-11-15 15:01:01 +00:00
peter
96e41a571b 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
asami
e7bb16e4e6 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
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
jkh
b8666f3ff5 Use proper emphasis formatting directives. 1995-11-15 07:44: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
asami
fb1c7bcbf7 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
130177c924 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
5a136ee1a4 Add "what I'm responsible for" to the contrib.sgml file... 1995-11-14 22:29:35 +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