Commit Graph

68216 Commits

Author SHA1 Message Date
cjc
c31598576d Cleaning up some entries missed on the first sweep. Add a directory in
/var/run to store ppp(8) command sockets.

PR:		bin/29966
MFC after:	4
2001-12-17 22:05:23 +00:00
bmah
b0b7ebaca6 New release note: smbfs userland import.
Modified release notes:  bge(4) input checksum offload disabled,
ncv/nsp/stg modules.

MFCs noted:  bootloader -p
2001-12-17 21:32:36 +00:00
sumikawa
21cf34e4e5 Back out cometic changes. This is for easily syncing with KAME in other BSDs. 2001-12-17 18:13:12 +00:00
ru
492591a47e Install script via SCRIPTS. 2001-12-17 16:52:32 +00:00
ru
6bc34b32bb Install files via FILES. 2001-12-17 16:45:09 +00:00
ru
0005151aeb Install files via FILES. 2001-12-17 16:21:59 +00:00
ru
aa219a0e7b Oops, forgot to remove the `beforeinstall' block. 2001-12-17 16:04:40 +00:00
ru
7ed2dfe749 Install files via FILES. 2001-12-17 16:02:15 +00:00
mwlucas
57dd87fb9e Add Italian translations to the example for refusing docproj
translations.  This will once again allow docproj trackers to use the
sample out-of-the-box to only download English.

Rapid MFC to avoid the coming freeze.

PR:		32329
Approved by:	bmah
MFC after:	1 day
2001-12-17 15:41:13 +00:00
ru
37468b69ca Install files via FILES. 2001-12-17 15:23:57 +00:00
phantom
943ff81525 Fix some style bugs
Prompted by:	mike
2001-12-17 15:11:29 +00:00
ru
bbef88e1a5 FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from:	NetBSD
2001-12-17 13:59:35 +00:00
ru
650091c314 Removed a no-op FILES from bsd.doc.mk. 2001-12-17 13:45:56 +00:00
green
4e8d120512 Add support for devfs. In other words, for -CURRENT, make work at all
again for normal device nodes.
2001-12-17 13:42:46 +00:00
green
d735460deb Install devfs includes. 2001-12-17 13:38:58 +00:00
ru
747605ddfa Add .Lb entry for -lpam. 2001-12-17 12:12:17 +00:00
ru
5cb8e481ed Now that the driver has been MFC'ed, fix the first appearence info. 2001-12-17 11:13:51 +00:00
mikeh
6533010035 Modify tip that no longer applies for ftp(1). 2001-12-17 08:16:14 +00:00
brooks
e4c3d94afc Initalize ifq_maxlen to prevent a harmless warning message.
MFC After:	1 day
Pointed out by:	jacks@sage-american.com, bmah
2001-12-17 07:49:34 +00:00
orion
9b9b8305c7 Added a sysctl control variable "ac97rate" to allow manual tuning of
the link rate - some ich motherboards overclock ac97 out of the box.

Will hopefully replace this with a callibration loop in time for 4.5R
freeze.

Problem reported by Luigi Rizzo and fix derived from his code (put
diff in ich.c rather than ac97.c).

MFC after:	3 days
2001-12-17 01:57:42 +00:00
orion
1ce1fbf5b8 Addition of sysctl variable to enable spdif. By default spdif is disabled.
MFC after:	3 days
2001-12-17 01:39:36 +00:00
iedowse
f53606c262 Ignore the value of fs_active when comparing superblocks.
Noticed by:	"Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
2001-12-17 01:33:27 +00:00
assar
51ff4e7d8a add krb4 libraries 2001-12-17 01:33:20 +00:00
joerg
3a6276ed89 Part #1 of the promised floppy driver documentation update. 2001-12-16 22:49:57 +00:00
iedowse
5c873cad57 Make sure we ignore the value of `fs_active' when reloading the
superblock, and move the initialisation of it to beside where other
pointer fields are initialised.
2001-12-16 18:54:09 +00:00
iedowse
64972486c2 Move the new superblock field `fs_active' into the region of the
superblock that is already set up to handle pointer types. This
fixes an accidental change in the superblock size on 64-bit platforms
caused by revision 1.24.
2001-12-16 18:51:11 +00:00
gibbs
a25a5b242f Remove reliance on i++ in multiple arguments to a function. C does not
guarantee the order of increment.

Noticed by: GCC 3.0 use by the Linux community and jhb
2001-12-16 17:38:30 +00:00
mp
add9abf1bb Remove whitespace at end of line. 2001-12-16 17:21:16 +00:00
luigi
4893656ff8 Add/correct description for some sysctl variables where it was missing.
The description field is unused in -stable, so the MFC there is equivalent
to a comment. It can be done at any time, i am just setting a reminder
in 45 days when hopefully we are past 4.5-release.

MFC after: 45 days
2001-12-16 16:07:20 +00:00
deischen
53a811b418 When cancelling a thread while in a join operation, do not detach
the target thread of the join operation.  This allows the cancelled
thread to detach the target thread in its cancellation handler.
This bug was found by Butenhof's cancel_subcontract test.

Reviewed by:	jasone
2001-12-16 13:26:44 +00:00
nyan
0de7f7c686 MFi386: options.i386 revision 1.162 2001-12-16 09:04:08 +00:00
nyan
8f1e047967 MFi386: files.i386 revision 1.385 2001-12-16 09:03:41 +00:00
nyan
1384726539 Merged from sys/isa/{fd.c,fdreg.h} revisions 1.222 and 1.15, respectively. 2001-12-16 09:00:03 +00:00
joerg
4e774e7f02 Oops, forgot to commit one file in the fd driver mega update. Here it
is, some more constants for NE765 & Co.

Pointed out by: silby, Dave Cornejo <dave@dogwood.com>
2001-12-16 07:52:13 +00:00
arr
a2b097752d - typo 'f' should be 't' 2001-12-16 07:46:15 +00:00
nyan
e34d62b7ce Remove PC98 code. This file is not used by PC98. 2001-12-16 05:37:22 +00:00
silby
4ea11132b8 Add comments on where to look if you wish to auto-load
modules at boot time.

MFC after:	1 day
2001-12-16 05:14:17 +00:00
luigi
e39284a688 Add code to export and print the description associated to sysctl
variables. Use the -d flag in sysctl(8) to see this information.

Possible extensions to sysctl:
 + report variables that do not have a description
 + given a name, report the oid it maps to.

Note to developers: have a look at your code, there are a number of
	variables which do not have a description.

Note to developers: do we want this in 4.5 ? It is a very small change
	and very useful for documentation purposes.

Suggested by: Orion Hodson
2001-12-16 02:55:41 +00:00
mike
22f5b26d81 Fix a typo. Don't call options flags. Remove some documentation that
is no longer applicable to whois.  Bump document date.
2001-12-16 01:44:49 +00:00
gad
6737fb8eb7 Add another level of checking to 'chkprintcap', which is done by
"skimming thru" the printcap file looking for some common mistakes that
people make.  These are the kinds of mistakes where the printcap file
probably looks correct to human eyes, but is wrong in some subtle way
which causes a problem in some queue definitions.  The program treats
these as "warnings" not "errors".
    Note that I'm flexible on the m.f.c. schedule, if people would rather
this waited until after 4.5-release.

Reviewed by:	no screams from freebsd-audit freebsd-print@bostonradio.org
MFC after:	4 days
2001-12-15 23:35:55 +00:00
obrien
4a701250c9 Embelish CFLAGS. 2001-12-15 21:41:11 +00:00
obrien
2fffd47816 The instructions on doing something with src/lib/csu/sparc64. 2001-12-15 21:36:30 +00:00
jake
0235ad48e8 Note that the atomic ops on char and short data types may not be available
on all architectures.  Sparc64 does not implement them.
2001-12-15 21:28:02 +00:00
archie
31b4f6dd65 Typo. 2001-12-15 20:53:15 +00:00
archie
df155dfc65 Don't free a structure containing a 'struct callout' structure while that
callout is still pending.

MFC after:	3 days
2001-12-15 20:48:53 +00:00
archie
27bbab02b7 Fix access-after-free bug added in revision 1.31.
Detected by:	INVARIANTS
MFC after:	2 days
2001-12-15 19:59:28 +00:00
bmah
f980700b8c Second (hopefully last) alpha jumbo patch to remove i386-isms.
Reviewed by:	wilko
MFC after:	3 days
2001-12-15 19:57:39 +00:00
joerg
b2bcdd0ab8 Long promised major enhancement set for the floppy disk driver:
. The main device node now supports automatic density selection for
  commonly used media densities.  So you can stuff your 1.44 MB and
  720 KB media into your drive and just access /dev/fd0, no questions
  asked.  It's all that easy, isn't it? :)

. Device density handling has been completely overhauled.  The old way
  of hardwired kernel density knowledge is no longer there.  Instead,
  the kernel now implements 16 subdevices per drive.  The first
  subdevice uses automatic density selection, while the remaining 15
  devices are freely programmable.  They can be assigned an arbitrary
  name of the form /dev/fd[:digit]+.[:digit:]{1,4}, where the second
  number is meant to either implement device names that are mnemonic
  for their raw capacity (as it used to be), or they can alternatively
  be created as "anonymous" devices like fd0.1 through fd0.15,
  depending on the taste of the administrator.  After creating a
  subdevice, it is initialized to the maximal native density of the
  respective drive type, so it needs to be customized for other
  densities by using fdcontrol(8).  Pseudo-partition devices (fd0a
  through fd0h) are still supported as symlinks.

. The old hack to use flags 0x1 to always assume drive 0 were there is
  no longer supported; this is now supposed to be done by wiring the
  devices down from the loader via device flags.  On IA32
  architectures, the first two drives are looked up in the CMOS
  configuration records though.  On PCMCIA (i. e., the Y-E Data
  controller of the Toshiba Libretto), a single drive is always
  assumed.

. Other specialities like disabling the FIFO and not probing the drive
  at boot-time are selected by per-controller or per-drive flags, too.

. Unit attentions (media has been changed) are supposed to be detected
  now; density autoselection only occurs after a unit attention.  (Can
  be turned off by a per-drive flag, this will cause each Fdopen() to
  perform the autoselection.)

. FM floppies can be handled now (on controllers that actually support
  it -- not all do these days).

. Fdopen() can be told to avoid density selection by setting
  O_NONBLOCK; this leaves the descriptor in a half-opened state where
  only a few ioctls are accepted.  This is necessary to run fdformat
  on a device that uses automatic density selection (since you cannot
  autoselect on an unformatted medium, obviously).

. Just differentiate between a plain old NE765 and the enhanced chips,
  but don't try more; the existing code was wrong and only misdetected
  the chips anyway.

BUGS and TODOs:

. All documentation update still needs to be done.

. Formatting not-so-standard format yields unpredictable results; i
  have yet to figure out why this happens.  "Standard" formats like
  720 and 1440 KB do work, however.

. rc scripts are needed to setup device nodes with nonstandard
  densities (like the old /dev/fdN.MMM we used to have).

. Obtaining device flags from the kernel environment doesn't work yet,
  thus currently only drives that are present in (IA32) CMOS are
  really detected.  Someone who knows the odds and ends about device
  flags is needed here, i can't figure out what i'm doing wrong.

. 2.88 MB still needs to be done.
2001-12-15 19:09:04 +00:00
obrien
994cab589b Sparc64 ELF version of the C runtime support.
It tries to comply with the SCD 2.4.1 (and thus Sparc 64-bit psABI).

This is an amalgamation of the FreeBSD Alpha crt1.c and the BSD/OS Sparc
crt0.c (which the copyright reflects).
2001-12-15 18:54:06 +00:00
deischen
f08c2d4835 Pull the target thread of a join operation from the correct place
when cancelling a thread.
2001-12-15 15:52:24 +00:00