24479 Commits

Author SHA1 Message Date
asami
bf06d52b9d Add canna and Wnn ports numbers.
Submitted by:	Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
1997-09-18 08:56:53 +00:00
peter
06a955a1c5 Missed a place where the extra descriptor buffers would need to be
freed.

Submitted by:  Mark Valentine <mark@linus.demon.co.uk>
1997-09-18 08:28:23 +00:00
kato
9a97b13d56 Synchronize with sys/i386/isa/fd.c revision 1.102. 1997-09-18 08:10:45 +00:00
jmg
988ed16452 wrap kernel interface in #ifdef KERNEL/#endif
hide more verbosity behind bootverbose

make it so that it doesn't emit as many warnings durning compiling...
1997-09-18 08:04:13 +00:00
jmg
4b15d35e2b reduce the number of warnings this file emits during compiling 1997-09-18 08:00:48 +00:00
jmg
5280f97f95 update Luigi's driver to poll interface (Peter, you might want to check
that I've done this properly, it does work though :) )...

a few minor fixes to code

part-Submitted-by:	Luigi
1997-09-18 07:47:03 +00:00
charnier
1754071cd4 environmental -> environment. 1997-09-18 06:55:21 +00:00
charnier
335b8fc3ac Typo. 1997-09-18 06:54:03 +00:00
charnier
8f0e7746f7 Typo: environmental variable -> environment variable. 1997-09-18 06:49:40 +00:00
sef
2e215bb009 Fix sorting of directories when doing '-d'.
PR:		bin/4558
Submitted by:	Keith Bostic
1997-09-18 06:42:27 +00:00
charnier
ce8df1cd4a Use err(3). Document -y flag. Remove unused -s flag from getopt string. 1997-09-18 06:35:51 +00:00
msmith
9beb19603d Remove line noise from the quirk list (kernel build stopper) 1997-09-18 00:15:55 +00:00
brian
109ba0ca66 Don't close(1) in direct mode and then proceed to
isatty(1) !  Keep 0 open for this till the modem's
been set up by either dup()ing 0 or by opening
ctermid(NULL) (if isatty(0)).

Discussed problem with: Tomi Vainio <tomppa@fidata.fi>
Made it finally dawn on me: Angelo Turetta <ATuretta@stylo.it>
1997-09-18 00:15:25 +00:00
brian
af684d2595 Support CHAP using MD4
Suggested by: jordan
1997-09-17 23:17:57 +00:00
joerg
3f01bad7d7 Add the C1557A as a known tape changer (thus non-broken multi-LUN tape
device).

Submitted by:	Andre.Albsmeier@mchp.siemens.de (Andre Albsmeier)
1997-09-17 21:49:06 +00:00
joerg
d1678dfa02 Activate c89(1). 1997-09-17 20:46:58 +00:00
joerg
710afcd5d3 This commit was generated by cvs2svn to compensate for changes in r29544,
which included commits to RCS files with non-trunk default branches.
1997-09-17 20:44:54 +00:00
joerg
07f8a58416 c89 is the Posix.2 name for a C compiler that accepts ANSI/ISO C source
code.  Basically a shortcut to cc -ansi -trigraphs.
1997-09-17 20:44:54 +00:00
tegge
dc9fb72147 Enable the FIFO on enhanced floppy controllers. This reduces the
number of dma overruns/underruns for systems under heavy dma load.
As a side effect, broken enhanced floppy controllers that sometimes
don't detect dma overruns/underruns will give less errors.

Reviewed by:	j@uriah.heep.sax.de (J Wunsch)
1997-09-17 20:16:17 +00:00
pst
52f8c412b8 Fix misspelling 1997-09-17 16:23:48 +00:00
pst
f6e7a48122 variable_load.c is dead 1997-09-17 16:18:54 +00:00
pst
4f718b5d5d Put all variables in VAR_ #define's to force a single location for all
of these magic knobs.  This is purely cosmetic and a documentation issue
so we don't have to glop through the source code looking for gems.
1997-09-17 16:18:22 +00:00
jkh
0dfe9b61e4 Add a new netInteractive variable so that the interactiveness of the TCP
setup dialog from scripts is more controllable.  No more biasing off of
hostname (which is now non-optional in the non-netInteractive case).
Requested by:	pst
1997-09-17 13:33:14 +00:00
kato
a3046d377e Synchronize with sys/i386/conf/options.i386 and sys/i386/isa/fd.c
revisions 1.59 and 1.101, respectively.
1997-09-17 08:01:07 +00:00
charnier
79b7395b62 Use err(3). Document options in man page, not in usage string. 1997-09-17 06:32:45 +00:00
charnier
29e06a9a5c Perror() -> warn(). 1997-09-17 06:30:22 +00:00
charnier
4d3c6f853c Use err(3). Add prototypes. 1997-09-17 06:29:23 +00:00
charnier
8d96034d35 Use err(3), add usage(). 1997-09-17 06:27:23 +00:00
charnier
9b3a5c04f4 Use err(3) instead of local redefinition. 1997-09-17 06:26:06 +00:00
charnier
34a6b27326 Use err(3). Use An/Aq for author name. 1997-09-17 06:24:58 +00:00
charnier
7f53c003f5 Wrap too long lines.
Requested by: Bruce.
1997-09-17 06:20:45 +00:00
brian
aaae64c991 o Fix two unlikely descriptor leaks.
o Output the correct device for "show modem"
  while in -direct mode.
o Cosmetic:  Moan a bit more when we can't open
  the [modem] device.
o Call OpenModem() in a more "natural" way.
o Add some LogDEBUG in OpenModem().
1997-09-16 23:15:16 +00:00
jkh
e4a215054b Whoops, forgot a file!
Submitted by:	pst
1997-09-16 18:57:47 +00:00
jkh
cb8ec218f6 Much better dispatch code and scripting support.
Submitted by:	pst
1997-09-16 18:57:18 +00:00
joerg
c65e27777e Make TCPDEBUG a new-style option. 1997-09-16 18:36:06 +00:00
bde
ad20ab755c Drop temporary source-level compatibility for old mount(2) interface. 1997-09-16 14:44:24 +00:00
bde
ecd71a0a41 Removed a stray backslash-newline. 1997-09-16 14:37:55 +00:00
bde
d3cdbaf4f6 Fixed syntax errors in `#if 0' code. 1997-09-16 14:31:44 +00:00
bde
e89d929bc3 Cleaned up. 1997-09-16 14:23:35 +00:00
bde
e87717888a Removed declaration of nonexistent function fuibyte().
Sorted some declarations.

Fixed missing __P(())'s.

Removed `timeout_func_t (pointer to timeout function) typedef.  It was
mainly used in bogus casts.  The more useful `timeout_t' (timeout function)
typedef should be used instead.

Cleaned up callout declarations and comments.
1997-09-16 14:19:46 +00:00
bde
64d0bec2a8 Fixed staticization. buckets[] was staticized but was still declared
extern in <sys/malloc.h> and it should not have been staticized for
the !(KMEMSTATS || DIAGNOSTIC) case.

Fixed the !(KMEMSTATS || DIAGNOSTIC) case.  The MALLOC() and FREE()
macros are evil, but code generally doesn't allow for this and some code
involving else clauses did not compile.

Finished staticization.
1997-09-16 13:52:04 +00:00
bde
1062c10a86 Fixed gratuitous ANSIisms. 1997-09-16 11:44:05 +00:00
bde
6c065dd935 Removed installhdrs target. It was an unnecessary complication. 1997-09-16 10:52:59 +00:00
bde
fb7c748153 Backed out rev.1.136 and rev.1.144. Force SHARED=symlinks in a different
way - for buildworld only.

Rev.1.136 broke the (deprecated) external includes target.  Rev.1.144 was
a half-baked backout of rev.1.136.  It broke SHARED=symlinks for the
buildworld target and installation of subdirs of src/include for the
includes target.
1997-09-16 10:45:41 +00:00
jkh
d387f3a0a9 MF22: pst's changes.
Submitted by:	pst
1997-09-16 10:14:23 +00:00
bde
1bd32b987b Reject attempts to set an in-core label which says that the "disk"
or a partition is larger than the slice.

Now `disklabel -Brw sdX auto' should fail properly on sliced disks
without partition of type 165, e.g., on zip disks with the factory
default formatting.  Previously it set a bogus in-core label for
the compatibility slice and used this to corrupt the MBR (the slice
has offset 0 and size 0, but setting the label in effect corrupted
its size to nonzero).

`disklabel -Brw sdX auto' already failed properly on normally (not
dangerously dedicated) sliced disks _with_ partition of type 165,
because the compatibility slice has a nonzero offset so the MBR
remained inaccessible when the size was corrupted.

This bug only affected in-core labels.  On-disk labels are checked
carefully when they read and written.
1997-09-16 10:11:49 +00:00
julian
35b575df34 devfs changes to allow old (better) and newer (braindamaged) behaviour.
I'm going to try migrate back, while keeping the newer code.
1997-09-16 09:10:18 +00:00
joerg
7d18d9665b Sigh, there's always one more buffer overflow. :-(
This one hinted to by the recently posted exploit (although not exploited by
it).
1997-09-16 08:33:52 +00:00
phk
9a01d27563 Don't leak memory, from sef.
Stylistic nits and a blunder, from bde.
1997-09-16 08:05:09 +00:00
joerg
79f6661f76 Make FDC_DEBUG a supported option.
Hide the bogus FDC ``chip type'' display behind a (mostly) undocumented
option, since people started to trust the bogus claim.  Once we're going
to handle 2.88 MB controllers, we have to redo the chip detection, by
now just leave it hidden.
1997-09-16 07:45:45 +00:00