Commit Graph

27049 Commits

Author SHA1 Message Date
bde
742edae5eb Forward declare some structs so that this file is more self-sufficient. 1998-02-03 21:52:02 +00:00
bde
eba2144b26 Fixed staticization. 1998-02-03 21:41:12 +00:00
bde
d4513be4c0 Forward declare some structs so that this file is more self-sufficient.
Don't declare kernel objects or functions unless KERNEL is defined.
1998-02-03 21:39:30 +00:00
bde
5c6a3c707a Ifdefed some SMP and VM86 code. Note that although VM86 is not a global
option, the ifdef on it in a header works because only the name of the
VM86 extension is hidden.
1998-02-03 21:27:50 +00:00
pst
4b6990082a Don't print garbage when user enters EOF at name prompt.
PR:		5565
Submitted by:	Jens Schweikhardt
1998-02-03 20:53:25 +00:00
bde
ee765b7a86 Forward declare a union so that this file is self-sufficient.
Cleaned up ifdefs.
1998-02-03 20:46:18 +00:00
bde
a43d18c3fe Fixed a gratuitous ANSIism. 1998-02-03 20:37:29 +00:00
bde
a448301f54 Ifdefed use of a GNU feature. 1998-02-03 20:32:38 +00:00
bde
379bd7e4ca Moved misplaced idempotency ifdef. Multiple inclusion was fatal since
there was a typedef outside the ifdef.

Fixed syntax error after the #endif for this ifdef.

Didn't fix the usual style bugs for this ifdef...
1998-02-03 20:24:13 +00:00
bde
a851a9f713 Changed inline' to __inline' so that this file can be compiled by
`gcc -ansi'.

Changed NULL to 0 so that this file is more self-sufficient (now
only <sys/types.h> is a prerequisite).
1998-02-03 20:14:35 +00:00
bde
a3d023ad39 Don't declare prototypes for driver functions unless KERNEL is defined. 1998-02-03 20:07:02 +00:00
bde
b7f12097c9 Fixed conflicts between <machine/console.h> and <machine/pcvt_ioctl.h>,
so that it is possible for kdump and truss to include them both.  Use
#defines from pcvt_ioctl.h in conflicting cases, since pcvt_ioctl.h
gives a hint about the bogus third arg to _IO().  Ifdef the common
typedefs.  Export `struct key_t' from pcvt_ioctl.h so pcvt_ioctl.h is
bug for bug compatible with console.h (now both are broken in C++
mode).
1998-02-03 19:57:46 +00:00
bde
4eac1e52b3 Updated generated files. 1998-02-03 17:52:21 +00:00
bde
89e00e64d9 Fixed type of mincore(). 1998-02-03 17:45:43 +00:00
bde
8ccf06d1ca Generate a forward declaration of `struct proc' in <sys/sysproto.h>.
Removed extra args to a printf.

Fixed some style inconsistencies (unnecessary parentheses for printf).
awk is not C.
1998-02-03 17:39:13 +00:00
bde
1e193f2600 Fixed the previous fix. The original path was annulled when it
was a directory, so the error message for attempting to unmount
an unmounted-on directory was more broken than before.
1998-02-03 17:23:26 +00:00
kato
f577f8592b Declare the variable `i' when UMAP_DIAGNOSTIC is defined. 1998-02-03 14:30:01 +00:00
charnier
2d7475f455 Convert to mdoc. Header -> Id. Typo. 1998-02-03 07:30:22 +00:00
dyson
7fde1e8379 This fix should help the panic problems in -current. There
were some errors in "interval" management.  Due to the
clustering mechanism, the code is necessarily complex and
error prone.
1998-02-03 00:50:36 +00:00
wosch
91b3d9af94 Typo. 1998-02-02 15:46:44 +00:00
ahasty
d5aa4150ce Bugs/Enhancements:
1. Takeshi Ohashi <ohashi@atohasi.mickey.ai.kyutech.ac.jp> submitted
   code to support bktr_read . /usr/src/share/examples/rgb24.c now works 8)

2. Flemming Jacobsen <fj@schizo.dk.tfs.com> submitted code to support
   radio available with in some bt848 based cards;additionally, wrote
   code to correctly recognized his bt848 card.
3. Roger Hardiman <roger@cs.strath.ac.uk> submitted various fixes to smooth
   out the microcode and made all modes consistent.

4. Added supported for yuv12 so we know can capture raw streams and feed it
   to mpeg_encoder . The upshot is that we can now mpeg encode more and save
   nearly 100 percent of the disk requirements previously for programs such
   as fxtv first save the raw video image to disk then converted to a
   format suitable for mpeg_encode.
1998-02-02 13:09:12 +00:00
kato
526a104a44 Sync with sys/i386/isa/wd.c revision 1.150. 1998-02-02 09:52:28 +00:00
kato
fb747db726 Fixed bugs introduced by syncing with i386/isa/sio.c revision 1.143.
Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-02-02 07:59:05 +00:00
kato
1e5fda593e Sync with sys/i386/boot/biosboot/boot.c revision 1.70. 1998-02-02 07:56:14 +00:00
kato
3a62eec8e4 Cosmetic changes (indentation, reordering and using existing file name).
Pointed by:	Michio "Karl" Jinbo <karl@marcer.nagaokaut.ac.jp>
1998-02-02 07:55:31 +00:00
kato
5c2b29940b Sync with sys/i386/conf/files.i386 revision 1.69.
Pointed by:	KAHO Toshikazu <kaho@rocky.kais.kyoto-u.ac.jp>
Forgotten by:	kato
1998-02-02 07:50:12 +00:00
cwt
4838074233 PR: bin/5529
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>

Do not misinterpret file names with a digit in the 2nd column as
a tab stop specification.
1998-02-02 07:10:59 +00:00
charnier
d6965117a9 Convert to mdoc format. Header -> Id. 1998-02-02 07:09:36 +00:00
cwt
94da1d663c Painless merge... 1998-02-02 05:42:16 +00:00
cwt
21500fe3a2 This commit was generated by cvs2svn to compensate for changes in r33011,
which included commits to RCS files with non-trunk default branches.
1998-02-02 05:38:11 +00:00
cwt
490818046d Global v2.24 1998-02-02 05:38:11 +00:00
dyson
1038ea3399 Display VSZ much more accurately now. 1998-02-02 05:16:42 +00:00
dyson
9c63bc645f Return the vm_map in the eproc structure, so we can support more accurate
VSZ display in PS.
1998-02-02 05:14:03 +00:00
bde
6665a875aa Fixed disordering of busdma* and swi_vm. 1998-02-01 23:00:53 +00:00
bde
c9fd35e3cd Fixed a recently broken comment. 1998-02-01 22:45:23 +00:00
alex
b3fa7a8575 Added inet6 to CTL_NET_NAMES. 1998-02-01 22:44:16 +00:00
bde
2a42939846 Don't set even parity uselessly in the line control register (parity
is not enabled).

Saved a few bytes by reusing the line control register bits and not
loading the speed in the wrong (cpu) register.
1998-02-01 22:39:24 +00:00
bde
7f4d8a3790 Use <machine/*.h> instead of <i386/include/*.h>. 1998-02-01 22:23:18 +00:00
bde
1f39dba76e Fixed a sloppy common-style declaration again. 1998-02-01 22:14:24 +00:00
bde
1576dfe2be Fixed disordering of *cam* and splsoftvm. 1998-02-01 22:04:58 +00:00
steve
fc4ac04352 setpwent and endpwent have a return type of void, so change this
to work like newer versions of perl.

Reviewed by:	Bruce Evans
1998-02-01 22:04:49 +00:00
bde
40bd32273d Removed unused #includes. 1998-02-01 21:57:49 +00:00
bde
727e1b0194 Don't define KERNEL before including <nfs/nfs.h>. It is no longer
necessary.  This fixes warnings about missing forward declarations
for structs in kernel-only prototypes.
1998-02-01 21:53:19 +00:00
bde
a1f8745634 Moved declaration of `union nethostadr' outside of the KERNEL section,
to give pollution compatible with <nfs/nqfs.h>.  At least mount_nfs.c
previously had to #define KERNEL before including <nfs/nfs.h> to get
this pollution, but this gave other pollution.

Moved comment about NFSINT_SIGMASK to immediately before the code that
it applies to.
1998-02-01 21:23:29 +00:00
bde
446b81e75d Forward declare more structs that are used in prototypes here - don't
depend on <sys/types.h> forward declaring common ones.

Added an underscore to `sin' in prototypes to avoid warnings for the
conflict with the ANSI sin().
1998-02-01 20:34:07 +00:00
bde
3d6b2c821b Removed ifdef for <sys/sockio.h> vs <sys/ioctl.h>. <sys/sockio.h> is
a BSD4.4Lite1 feature, not a FreeBSD feature.  <sys/ioctl.h> is a
compatibility misfeature.

Moved NPCI ifdef.  This file didn't compile if NPCI <= 0.  It shouldn't
be configured in that case, but it is easy to support (mis)configuration
of drivers without buses by generating null objects, and many drivers
do it.

Removed unused includes.
1998-02-01 20:25:16 +00:00
bde
2adc6309fe Forward declare more structs that are used in prototypes here - don't
depend on <sys/types.h> forward declaring common ones.
1998-02-01 20:08:39 +00:00
helbig
53c968c454 Search for proper executables, ignore directories 1998-02-01 20:01:29 +00:00
bde
188cf22a57 Fixed the search for free wd drives. The search was terminated
prematurely when there was a hole (for a cdrom or an unused
interface) in the sequence of wd drives.  This caused non-free
wd units to be probed as atapi drives.  There was no problem
provided the atapi probe failed correctly.
1998-02-01 19:10:04 +00:00
bde
5c922b080c Declare printf() instead of including <stdio.h>, so that this doesn't
depend on anything outside of "sys".

Removed an unused include.

Don't use `extern' in a function declaration.
1998-02-01 18:53:09 +00:00