Commit graph

41400 commits

Author SHA1 Message Date
Andrey A. Chernov b7d9493ed1 add ru_SU.ISO_8859-5 locale dirs 1999-10-03 00:44:56 +00:00
David E. O'Brien 360a324402 This commit was generated by cvs2svn to compensate for changes in r51885,
which included commits to RCS files with non-trunk default branches.
1999-10-02 21:54:32 +00:00
David E. O'Brien dc76ff5a60 Virgin import of EGCS 1.1.2 1999-10-02 21:54:32 +00:00
David E. O'Brien 929da3a6b2 * We have /var/tmp, not /usr/tmp. So use that where EGCS used the latter.
*  In the absence of the env vars TMPDIR, TMP, TEMP (which override this
   ordering), attempt to create temperary files in /tmp, P_tmpdir (/var/tmp),
   /usr/tmp, and .  until successful.
1999-10-02 21:50:07 +00:00
Matt Jacob cb02c78a0c add SA_1FM_AT_EOD option for scsi_sa- this causes a default behaviour of
one filemark at end of media for tapes otherwise neither quirked nor known.
1999-10-02 20:23:52 +00:00
Matthew N. Dodd 7366fe57d4 Fix includes. I missed this the first time around. 1999-10-02 20:22:26 +00:00
Søren Schmidt dc722a14c7 In some drivers we use two devices to be able to boot.
So if si_iosize_max is allready set, dont mess with it..

Also just log the problem with maxphys not being set once.

designed by:	phk
tested by:	sos
1999-10-02 20:21:49 +00:00
Matt Jacob 9f050ed597 Document SA_1FM_AT_EOD option. 1999-10-02 20:20:32 +00:00
Matt Jacob f219e08f02 Another 1FM@EOD quirk (from mike@sentex.net for a Seagate STT20000),
and add a config option that allows one to default to 1FM@EOD for tapes
otherwise unquirked or unknown as to which to prefer. Note that tcopy
will be broken for these tapes until tcopy is fixed.
1999-10-02 20:17:16 +00:00
Matthew Dillon fa9f8da4d2 Print a warning that includes the mount source when the foreground
mount fails prior to going into the background when a background NFS
    mount is requested.

PR:		misc/12376
1999-10-02 19:42:46 +00:00
Marcel Moolenaar 075ff1d959 o Add $FreeBSD$ as a rcsid instead of in a comment
o  Remove bitrotted #undef directives
o  Actually set errno now and order the functions

Submitted by: bde
1999-10-02 19:37:14 +00:00
Marcel Moolenaar 9102cd0abd Remove the inline versions of sigaddset, sigdelset, sigemptyset,
sigfillset and sigismember.

Submitted by: bde
1999-10-02 19:33:23 +00:00
Marcel Moolenaar e25ad0cbaf o Add $FreeBSD$ as a rcsid instead of in a comment.
o  Fix formatting
o  Return the error if sigprocmask fails instead of undefined data.

Submitted by: bde
1999-10-02 19:24:24 +00:00
Matthew N. Dodd fe76c677ea Use the PRVERB() macro instead of 'if (bootverbose) printf()...
Add debuging for all failure cases in aha_cmd().

Always check DATAIN_REG_READY even if we're ready to exit the
read loop.

The last fix allows the AHA-1640 MCA SCSI adapter to operate
correctly and likely fixes problems on a few other oddball
adapters. (I suspect my Dell Drive Array in 1540 mode needs this.)

Reviewed by:	Warner Losh
1999-10-02 17:40:07 +00:00
Bruce Evans 342079173e Fixed style bugs in prototype for aout_coredump() (mainly wrapping it with
__BEGIN_DECLS/__END_DECLS to support C++ in 0.001% of the kernel).
1999-10-02 12:57:40 +00:00
Daniel C. Sobral cec2aa9c05 Update man page to loader.conf(5) days. 1999-10-02 12:49:43 +00:00
Bruce Evans 883bbae4a7 Fixed breakage of userland K&R support in rev.1.39. Kernel inline functions
with new-style function definitions were exported.
1999-10-02 12:46:59 +00:00
Daniel C. Sobral 25f07ac98c Add -C flag to indicate the presence of comments. Files thus processed
will be marked as having comments, which are indicated by two delimiter
characters at the beginning of a line.
1999-10-02 12:33:37 +00:00
Daniel C. Sobral c1cdbad37f Ignore comment lines in files marked as having them. 1999-10-02 12:32:27 +00:00
Daniel C. Sobral 83fbb33522 Change path order in makefile so newer fortune files will be built with
the latest fortune (strfile/caesar) sources.

Correct a separator type in fortunes2.

Add Unix geeks dating instructions (reference card style).
1999-10-02 12:31:56 +00:00
Bruce Evans 092bd4489f Fixed style bugs in prototypes. 1999-10-02 12:27:51 +00:00
Poul-Henning Kamp 45604de328 Fix a problem relating to si_iosize_max which broke scsi devices. 1999-10-02 11:17:54 +00:00
Dag-Erling Smørgrav fff6710f7e Fix typo.
Pointed out by:	Kelly Yancey <kbyanc@posi.net>
1999-10-02 10:21:10 +00:00
Bruce Evans 39b3c6a9b6 Removed unnecessary splclock() protection for getmicrotime() and
getmicrouptime().

Removed unused includes.

Reviewed by:	ken
1999-10-02 07:34:11 +00:00
Boris Popov ff8444f278 ncplib modules: bring up new ncp.ko and nwfs.ko 1999-10-02 06:32:36 +00:00
Boris Popov e83e232260 ncplib continued: add appropriate options to LINT. 1999-10-02 05:30:40 +00:00
Boris Popov dd166d3282 Import kernel part of ncplib: netncp and nwfs
Reviewed by:	msmith, peter
Obtained from:	ncplib
1999-10-02 04:06:24 +00:00
Nick Sayer 472a4993b0 Add the apm_saver syscons screen saver module.
apm_saver uses the apm_display() routine from the apm system to
"suspend" the "display" part of the machine.

This is beneficial for some laptops (or other machines with
non-traditional displays) that choke on the 'green' saver's
effect.

Another way of looking at this is that it's the same as a screen
saver that does an 'apm -d 0' to blank the display and an 'apm -d 1'
to bring it back. One probably ought to use these commands to make
sure the effect will be correct before using it unattended.
1999-10-02 03:56:42 +00:00
Nick Sayer dd35cab101 Prepare for the apm_saver screen saver module.
1. Break out the definition of the soft state structure into an include
file.

2. un-static the soft state and apm_display(), and group them under a
comment that notes the dependency.
1999-10-02 03:34:15 +00:00
David E. O'Brien 261b37fb6c Virgin import of EGCS 1.1.2 1999-10-02 01:46:57 +00:00
David E. O'Brien 8167cb1aef This commit was generated by cvs2svn to compensate for changes in r51848,
which included commits to RCS files with non-trunk default branches.
1999-10-02 01:46:57 +00:00
Roger Hardiman 70d32847e5 Backout part of the changes made in 1.111
For unknown devices the output will now be
  pci0: unknown card (vendor=0x109e, dev=0x0878) at 14.1 irq 19
instead of
  pci0: unknown card DD^0878 (vendor=0x109e, dev=0x0878) at 14.1 irq 19

Before this change, the code used to take the PCI vendor id and translate it
into a three letter ASCII name.
For PnP devices, the vendor id _does_ map to a nice ASCII name
(eg Creative Labs PnP ID maps to "CTL", ESS PnP ID maps to "ESS")

But there is no such mapping for PCI devices, as can be seen by the
example above where the Brooktree PCI vendor ID maps to "DD^"

The PCI Special Interest Group confirmed they do not have any mappings
from vendor ID to ASCII.
1999-10-01 16:58:40 +00:00
Peter Wemm a1edd2ae7d Oops. That'll teach me to commit without testing. I either replaced
one trigraph with another, or completely missed the point.  Kill it for
real this time.
1999-10-01 14:26:28 +00:00
Peter Wemm 34f8c21730 Zap a trigraph (???) 1999-10-01 14:23:36 +00:00
Peter Wemm 3076c7c50d Force the "calls" count for malloc types to be 64 bit where it keeps track
of the number of times a particular type has been used.  It's rather easy
to overflow.  One site I'm looking at seems to do it in a matter of days.
On the Alpha this is a no-op since 'long' is 64 bit already.  The sole
user of this interface seems to be vmstat -m and friends which will need
a recompile.  The overheads of using a 64 bit int should be pretty light
as the kernel just does "calls++" type operations and that's it.
1999-10-01 14:21:50 +00:00
Peter Wemm fe49e6c57c Use the sys/wormio.h definitions of the CDRIOCNEXTWRITEABLEADDR and
CDRIOCBLANK ioctls rather than duplicating them.
1999-10-01 14:14:20 +00:00
Peter Wemm fd1313cbc6 Use the sys/wormio.h definitions of CDRIOCNEXTWRITEABLEADDR and
CDRIOCBLANK ioctls.
1999-10-01 14:12:46 +00:00
Peter Wemm 45a2482a9e Move a couple of ioctl defines from wormcontrol.c to wormio.h. These are
used in the dev/ata/atapi-cd driver too.
1999-10-01 14:10:50 +00:00
KATO Takenori f2c921c4c8 Sync w/ sys/i386/i386/machdep.c revision 1.364. 1999-10-01 12:46:08 +00:00
KATO Takenori 8b126f131d Sync w/ sys/i386/conf/files.i386 revision 1.275. 1999-10-01 12:29:49 +00:00
Poul-Henning Kamp 779b1b3d5b Introduce the disk mini-layer and devstat_end_transaction_buf() in cam/scsi.
Somewhat reviewed by:   ken
1999-10-01 09:34:10 +00:00
Ruslan Ermilov ac14c3115f Let sleep(1) handle fractions of a second (up to nanosecond).
This is a conservative change.  It does the same thing in weird
cases like the old one.  For example, 'sleep abcd' still sleeps
for zero seconds.  `sleep 10.a' and `sleep 10.05aa' do the best
and not abort (ie: 10.a == 10 seconds, 10.05a == 10.05 seconds).
1999-10-01 07:53:40 +00:00
Marcel Moolenaar 3196c2972d Implement the use of si_addr in siginfo_t.
Suggested by: jdp
1999-10-01 07:49:37 +00:00
Marcel Moolenaar eb9df38223 Don't check %cs *after* it has being set in sigreturn. If the check
fails, applications could end up running in kernel mode (oops).

Submitted by: bde
1999-10-01 07:22:50 +00:00
Matthew N. Dodd 0f25802642 Back out an unintended commit. This wasn't supposed to be
in my work directory on freefall.
1999-10-01 05:31:27 +00:00
Matthew N. Dodd 6a025a98a6 Turn off and remove the 'old' if_ep ISA/EISA/PCCARD driver.
Turn on the 'new' if_ep driver which supports:

	ISA		3c509
	MCA		3c529
	EISA		3c579
	PCCARD		3c589

I think all we're missing is support for the VME bus and S-100 bus
Etherlink III cards.

The new code has been tested by a number of people and all the important
bits work.  I've not been able to test the EISA code but will do so once
my hardware arrives.  Since I've changed nothing in the EISA code I suspect
it will perform the same manner as before.

Future changes involve whacking the ISA and PCCARD front ends to use
newbus and to convert the driver to bus_space and make it use ifmedia.

This is the first working network driver that supports MCA bus devices btw.

Enjoy.
1999-10-01 05:24:27 +00:00
Matthew N. Dodd 288778409b Add support for the AHA-1640 SCSI adapter.
The changes to sys/dev/aha/aha.c that allow these
cards to function properly will be here in a day
or 2.
1999-10-01 03:12:15 +00:00
Matt Jacob ad9687aff3 make sure a trivial apm.h is created, as some people have assumed that
all architectures have apm and have just included apm.h blindly.
1999-10-01 02:41:30 +00:00
Bill Fumerola f967923cf8 If dumpdev exists, it's automatically enabled. Change comment to reflect. 1999-10-01 00:13:44 +00:00
Poul-Henning Kamp 66c1252001 Make all slices/partitions correctly inherit si_* fields.
Lightly tested by:	msmith
1999-09-30 21:14:28 +00:00