Commit Graph

24237 Commits

Author SHA1 Message Date
KATO Takenori
55d994bfb5 Synchronize with sys/i386/conf/options.i386 and sys/i386/isa/sio.c
revisions 1.60 and 1.182, respectively.
1997-09-20 05:28:02 +00:00
Warner Losh
c02d44b411 Add missing \ from previous rev to end of a line. 1997-09-20 04:58:08 +00:00
Jordan K. Hubbard
c3a6bc8315 Fix conditional bogon in Label Editor [from Ed Gold]
Print info boxes without titles.
1997-09-20 02:48:48 +00:00
Peter Wemm
4a595144c0 ``oops''. I cut/pasted the original free()'s based on mark's suggestion
rather than extracting the diff from Mark's patch, but it turns out that
I was freeing one allocation twice due to a previous cut/paste braino.
My botch, not Mark's.

Pointed out by:  Mark Valentine <mv@pobox.com>
1997-09-20 02:29:56 +00:00
Andrey A. Chernov
d29578ea15 Describe all know capabilities now 1997-09-20 01:10:28 +00:00
Brian Somers
173471e627 Use snprintf() instead of sprintf() most of the time.
Obtained from: OpenBSD

Make usage() consistent with man page.
1997-09-19 22:22:04 +00:00
Wolfram Schneider
99352561f6 .Ox macro needs to support "OpenBSD 2.1"
PR: docs/4561
Submitted by: Norihiro Kumagai <kuma@slab.tnr.sharp.co.jp>
1997-09-19 21:37:05 +00:00
Masafumi Max NAKANE
7e04a60da7 Typo. 1997-09-19 16:04:19 +00:00
John-Mark Gurney
fa3699b078 bmake'd pnpinfo 1997-09-19 15:41:57 +00:00
John-Mark Gurney
d737df25ad activate pnpinfo 1997-09-19 15:41:43 +00:00
John-Mark Gurney
c2a28d3aba this is an import of Sujal M. Petal's pnpinfo.. it includes modifications
by Luigi Rizzo and myself...
1997-09-19 15:36:00 +00:00
John-Mark Gurney
6a796ce0a1 teach sio how to attach to isa PnP cards. This is mainly for use with
internal modems.  Currently detects a USR modem, and a couple Supra
modems...  vendor id's for sio capabile cards welcomed...

document new option EXTRA_SIO that will increase sio's internal data
structures to support X more serial ports...  these are used by the
PnP part of sio for attaching...  If you don't have it specified, it
will default to 2...  This is defaulted to 0 if you don't have PnP
compiled into your kernel...

also document that if you set the PnP flags (pnp x flags y) to 0x1 that
the modem will be refused to be recognized by the sio driver... this
is for people that want the traditional isa driver to probe and attach
the modem... (for keeping legacy sio numbering)
1997-09-19 15:25:49 +00:00
John-Mark Gurney
77509afdf3 teach pnp to keep isa_device structs around, and teach isa.c how to scan
these structs for conflics...

it still exist that two PnP cards can colide, but this is up to the user
to make sure it doesn't happen...

other modifications to pnp.c to format output properly, and hide more
output behind bootverbose flag...

fix some bugons in pnp.h that would of made it difficult for inclusion
in external programs (for import of pnpinfo)
1997-09-19 15:20:25 +00:00
John-Mark Gurney
eddcf96d7d major modifications to the mixer. currently it doesn't report errors
that it encounters (such as invalid device), but does print usage upon
this error...

but otherwise allows complex commands such as:
mixer -f /dev/mixer4 synth line 50 -rec mic +rec line =rec cd ^rec mix
1997-09-19 13:38:51 +00:00
Joerg Wunsch
cf2900be52 Add a sample entry specifying numeric tty settings. People sometimes ask
how to force a local tty line into CLOCAL mode and Xon/Xoff flow control.
This is the preferrable way (over rc.serial).
1997-09-19 12:25:09 +00:00
Poul-Henning Kamp
ec1d10e413 [Regarding the previous patch] This is completely wrong.
1. ffs_alloc() actually allowed writing one block less one frag (normally
   7 frags or 7/8 blocks) beyond the limit.
2. freebufspace() gives the free space in frags, but `size' is in bytes,
   so the change results in approximately `size' fragments too many being
   reserved.
3. ffs_realloccg() has the same bug but wasn't changed.

PR:		3398
Submitted by:	bde
Eyeballed by:	phk
1997-09-19 11:13:16 +00:00
Satoshi Asami
9ec1c55cfc Add Wnn6 reverse lookup server port.
Submitted by:	 Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
1997-09-19 09:38:50 +00:00
KATO Takenori
d34e4711c4 Synchronize with sys/i386/i386/userconfig.c revision 1.93. 1997-09-19 08:48:02 +00:00
Philippe Charnier
e80cad8b8b Use An macro for author name. 1997-09-19 06:29:52 +00:00
Philippe Charnier
2976d54b00 Use err(3). Typo fixes in man page. 1997-09-19 06:28:57 +00:00
Philippe Charnier
c1a2e93e94 Use err(3). 1997-09-19 06:27:30 +00:00
Julian Elischer
66c352c19f Add the direcotry for the japanese shift-JIS locale 1997-09-19 01:51:01 +00:00
Julian Elischer
d8afd6806c remove bad comment 1997-09-19 00:56:49 +00:00
Julian Elischer
7f87e13092 oops
somehow the file I was supplied with turned out to be EUC encoding..
luckily they can be translated by a simple c program :)
1997-09-19 00:51:52 +00:00
Dima Ruban
d8ccfba46b Fix argument string for getopt.
Submitted by:	dillon@best.net
1997-09-18 23:16:17 +00:00
Daniel O'Callaghan
24e24b0737 Fix some problems in the rules file loading and need for modload detection.
Found by: "James E. Housley" <housley@pr-comm.com>
1997-09-18 22:43:48 +00:00
Joerg Wunsch
16c9de07f6 Use -ansi -pedantic -trigraphs, as suggested by Bruce.
Enforce that only Posix-spec'ed options are being used, so people could
use this as a Posixificator of some kind.

Document the Posix usage in the man page, so to make it clear what's
the difference between Posix c89, and gcc.
1997-09-18 20:55:50 +00:00
Julian Elischer
dc56f9cd0b make/install the japanese SJIS date locale file. 1997-09-18 19:16:51 +00:00
Julian Elischer
f1b4a89e74 Shift JIS versions of date stuff.
more changes to come.
Submitted by: Nobuhrio Yasutomi <nobu@psrc.isac.co.jp>
 AM/PM changed to 2 letter versions for now, original SJIS versions
 commented out. change/check later..
1997-09-18 19:09:08 +00:00
Poul-Henning Kamp
18ecdb585c Executing binaries on a nullfs (or nullfs-based) filesystem results in
a trap.
PR:		3104
Reviewed by:	phk
Submitted by:	Dan Walters hannibal@cyberstation.net
1997-09-18 18:33:23 +00:00
Poul-Henning Kamp
f8bb3e895f Add a "I know it points to my foot!" -f option.
PR:		3288
Reviewed by:	phk
Submitted by:	Martin Kammerhofer <dada@freepass.tu-graz.ac.at>
1997-09-18 18:27:34 +00:00
Poul-Henning Kamp
0d150bcf0b Fix bad assumptions about types.
PR:		1649
Reviewed by:	phk
Submitted by:	Jason Thorpe <thorpej@nas.nasa.gov>
1997-09-18 18:19:45 +00:00
Poul-Henning Kamp
6772045776 Ffs_alloc allow users to write one block beyond the limit.
PR:		3398
Reviewed by:	phk
Submitted by:	Wolfram Schneider <wosch@apfel.de>
1997-09-18 18:07:45 +00:00
Jordan K. Hubbard
466cf1dd58 Whoops! Missed one on the XF8633 -> XF86331 update.
PR:		4560
1997-09-18 17:54:36 +00:00
Jordan K. Hubbard
7789aca24b Correct typo. 1997-09-18 16:24:36 +00:00
Jordan K. Hubbard
c6ea78c196 Over 1000 ports now. Note this in the relevant place. 1997-09-18 16:19:17 +00:00
Poul-Henning Kamp
d030d2d2ae Many places in the code NULL is used in integer context, where
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
Poul-Henning Kamp
06bba905d0 Many places in the code NULL is used in integer context, where
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 13:45:34 +00:00
Satoshi Asami
4a215352c4 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 Wemm
09575ecacc 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 Takenori
073e89f3e6 Synchronize with sys/i386/isa/fd.c revision 1.102. 1997-09-18 08:10:45 +00:00
John-Mark Gurney
a63406129a 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
John-Mark Gurney
7082faeb36 reduce the number of warnings this file emits during compiling 1997-09-18 08:00:48 +00:00
John-Mark Gurney
f2ae16ee38 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
Philippe Charnier
34384756cd environmental -> environment. 1997-09-18 06:55:21 +00:00
Philippe Charnier
be9950897a Typo. 1997-09-18 06:54:03 +00:00
Philippe Charnier
8e705c9c21 Typo: environmental variable -> environment variable. 1997-09-18 06:49:40 +00:00
Sean Eric Fagan
51f26ac519 Fix sorting of directories when doing '-d'.
PR:		bin/4558
Submitted by:	Keith Bostic
1997-09-18 06:42:27 +00:00
Philippe Charnier
d682bccf28 Use err(3). Document -y flag. Remove unused -s flag from getopt string. 1997-09-18 06:35:51 +00:00
Mike Smith
46c52ddc37 Remove line noise from the quirk list (kernel build stopper) 1997-09-18 00:15:55 +00:00