Paul Traina
5099706acd
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
Bruce Evans
318ed3ed7a
Forward declare a union so that this file is self-sufficient.
...
Cleaned up ifdefs.
1998-02-03 20:46:18 +00:00
Bruce Evans
b9759fe4f9
Fixed a gratuitous ANSIism.
1998-02-03 20:37:29 +00:00
Bruce Evans
7a1a679ecb
Ifdefed use of a GNU feature.
1998-02-03 20:32:38 +00:00
Bruce Evans
65fa467e59
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
Bruce Evans
98a6e74553
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
Bruce Evans
eafe3040d4
Don't declare prototypes for driver functions unless KERNEL is defined.
1998-02-03 20:07:02 +00:00
Bruce Evans
919de96974
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
Bruce Evans
a92ae47539
Updated generated files.
1998-02-03 17:52:21 +00:00
Bruce Evans
14f1d4260d
Fixed type of mincore().
1998-02-03 17:45:43 +00:00
Bruce Evans
125ff6b079
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
Bruce Evans
82000ec41c
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 Takenori
4e649c4174
Declare the variable `i' when UMAP_DIAGNOSTIC is defined.
1998-02-03 14:30:01 +00:00
Philippe Charnier
81389de071
Convert to mdoc. Header -> Id. Typo.
1998-02-03 07:30:22 +00:00
John Dyson
e736cd05cb
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
Wolfram Schneider
7bf7308c7b
Typo.
1998-02-02 15:46:44 +00:00
Amancio Hasty
2b1973e8ad
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 Takenori
bdfc13309c
Sync with sys/i386/isa/wd.c revision 1.150.
1998-02-02 09:52:28 +00:00
KATO Takenori
4e82d9dc12
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 Takenori
971c9159f8
Sync with sys/i386/boot/biosboot/boot.c revision 1.70.
1998-02-02 07:56:14 +00:00
KATO Takenori
27b31fd7be
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 Takenori
698059e01d
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
Chris Timmons
2801a0cd47
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
Philippe Charnier
be6eb0fb17
Convert to mdoc format. Header -> Id.
1998-02-02 07:09:36 +00:00
Chris Timmons
19aa4407da
Painless merge...
1998-02-02 05:42:16 +00:00
Chris Timmons
20a037099e
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
Chris Timmons
0823b5bf08
Global v2.24
1998-02-02 05:38:11 +00:00
John Dyson
dc8ab2b64b
Display VSZ much more accurately now.
1998-02-02 05:16:42 +00:00
John Dyson
5abb66d243
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
Bruce Evans
af3b301b36
Fixed disordering of busdma* and swi_vm.
1998-02-01 23:00:53 +00:00
Bruce Evans
e29b867bd6
Fixed a recently broken comment.
1998-02-01 22:45:23 +00:00
Alexander Langer
fdcef9e647
Added inet6 to CTL_NET_NAMES.
1998-02-01 22:44:16 +00:00
Bruce Evans
b8c7cb30ab
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
Bruce Evans
da171a03a8
Use <machine/*.h> instead of <i386/include/*.h>.
1998-02-01 22:23:18 +00:00
Bruce Evans
9d00d065d6
Fixed a sloppy common-style declaration again.
1998-02-01 22:14:24 +00:00
Bruce Evans
f0791ddea7
Fixed disordering of *cam* and splsoftvm.
1998-02-01 22:04:58 +00:00
Steve Price
f4308c9940
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
Bruce Evans
909696cc72
Removed unused #includes.
1998-02-01 21:57:49 +00:00
Bruce Evans
743d5543e2
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
Bruce Evans
bc3de552ad
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
Bruce Evans
850047383e
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
Bruce Evans
ffbedc02de
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
Bruce Evans
8bcc577e92
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
Wolfgang Helbig
8927843705
Search for proper executables, ignore directories
1998-02-01 20:01:29 +00:00
Bruce Evans
b163ce2f65
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
Bruce Evans
76d0502a56
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
Bruce Evans
2625bd3484
Declare printf() instead of including <stdio.h>, so that this doesn't
...
depend on anything outside of the "sys" tree.
1998-02-01 18:47:56 +00:00
Bruce Evans
98f3fd4b49
Don't put "-I." in ${CFLAGS} here. bsd.kmod.mk now puts an absolute
...
path to the obj directory in ${CFLAGS}. This is actually equivalent
to "-I." since bsd.kmod.mk also puts -I- in ${CFLAGS}.
1998-02-01 18:12:15 +00:00
Garrett Wollman
f57e23d3a2
Serves me right for committing code late at night...
...
Fix the SCIOCGETDEVINFO code so that it compiles, and while I'm at it,
add support for human-readable device names so that I don't have
to call devname(3) on the scd->dev to get it.
1998-02-01 18:09:50 +00:00
Bruce Evans
609e0c94f2
Don't put a path to "sys" in ${CFLAGS} here. bsd.kmod.mk now handles
...
this more generally.
1998-02-01 17:59:59 +00:00