David E. O'Brien [Wed, 22 Dec 1999 05:00:28 +0000 (05:00 +0000)]
Reduce the FreeBSD custom hacks to gcc.c by using the GCC provided methods
of changing the search dirs. This also removes an used search dir,
removes unneeded redundancy, and a bugus dir we enherited on the i386
by baseing off of svr4.h.
We went from:
install: /usr/libexec/(null)
programs: /usr/libexec/<OBJFORMAT>/:/usr/libexec/:/usr/bin/:/usr/libexec/
libraries: /usr/libdata/gcc/:/usr/libexec/:/usr/ccs/lib/:/usr/lib/
to:
install: /usr/libexec/(null)
programs: /usr/libexec/<OBJFORMAT>/:/usr/libexec/
libraries: /usr/libexec/:/usr/lib/
David E. O'Brien [Wed, 22 Dec 1999 02:03:28 +0000 (02:03 +0000)]
* Support a non-default sized `long' data type. This allows one to easily
build the compiler with a 64-bit longs on the i386.
* Comment an important dependancy.
* Fix some style nits
David E. O'Brien [Wed, 22 Dec 1999 01:56:57 +0000 (01:56 +0000)]
* Remove debugging cruft that accidently got committed.
* Support mixed OBJDIR handling such .a's are properly found with a mix of
obj subdirs both w/in and outside the source tree works. Requested by BDE.
Fix the brain-o which prevented the Custom installation item from
working. It was, as I predicted, a stupid bug and thanks to the
submitter for spotting it. I'll also re-roll some 3.4-RELEASE install
floppies for this.
John Baldwin [Wed, 22 Dec 1999 01:28:49 +0000 (01:28 +0000)]
Mention the hostname variable in /etc/rc.conf since that is the most
common way of setting the hostname. The man page already mentioned that
the hostname is set by /etc/rc.network, so this just explains where
/etc/rc.network gets the hostname from.
Mike Smith [Wed, 22 Dec 1999 01:21:28 +0000 (01:21 +0000)]
Updates resulting from new documentation from Mylex and some cleaning:
- Don't keep private copies of some of the data fields from the
ENQUIRY and ENQUIRY2 commands. Instead, standardise on the ENQUIRY2
command for initial adapter information, and keep a copy of the entire
structure. Refer to it where appropriate.
- Move all of the controller description functionality into a new
function. Print lots more controller data if bootverbose is set.
Add knowledge of the DAC960 PR, PT, PTL0 and PRL controllers, rename
the 960PTL -> PTL0 and 1100P -> 1100PVX.
- Correctly terminate an error message.
The controller interface procedures have been reviewed against the
Mylex-supplied documentation; no changes appear necessary at this
time.
Peter Wemm [Wed, 22 Dec 1999 01:07:30 +0000 (01:07 +0000)]
Update vnode_if.sh location. This was deliberately left a while after
the repo copy as the kernel src/sys/modules stuff uses
/usr/share/mk/bsd.kmod.mk which often gets out of sync with the kernel
source.
Alfred Perlstein [Tue, 21 Dec 1999 20:21:12 +0000 (20:21 +0000)]
make getfh a standard syscall instead of dependant on having
NFSSERVER defined, useful for userland fileservers that want to
use a filehandle type interface to the filesystem.
Peter Wemm [Tue, 21 Dec 1999 14:09:19 +0000 (14:09 +0000)]
Collapse a bunch of unused MD_CS42nn tags into a single one. This saves
going to a lot of trouble to identify it and set the tag and then not use
it. Convert the pnp id matching to the preferred table based system.
@@@0001 (CMI8330 ldn 0) is a mss, not a SB.
Peter Wemm [Tue, 21 Dec 1999 14:04:14 +0000 (14:04 +0000)]
Tidy up a few loose ends, including adding the pnp tags in comments.
Remove @@@0001 - it's an MSS, not a SB, at least according to the
original pre-sbc code and according to a pnpinfo report that Cameron has.
Peter Wemm [Tue, 21 Dec 1999 13:55:46 +0000 (13:55 +0000)]
Remove #if NISA > 0 - this is best done by the configuration process.
It had a heap of unreferenced stuff if there was no isa configured in the
system.
Yoshinobu Inoue [Tue, 21 Dec 1999 11:25:30 +0000 (11:25 +0000)]
Added missing declaration for argment specification at pr_rthdr(),
caused by my previous patch, sorry.
Also, changed its var name from 'af' to 'wid_af', to avoid confusion with
global var 'af'.
Sheldon Hearn [Tue, 21 Dec 1999 10:53:04 +0000 (10:53 +0000)]
Use more thorough redirection to make the impact of allscreens_flags
more comprehensive. Previously, at least colour changes were not
applied to all virtual consoles.
PR: 15066
Reported by: Andy Farkas <andyf@speednet.com.au>
Submitted by: yokota
Sheldon Hearn [Tue, 21 Dec 1999 10:46:41 +0000 (10:46 +0000)]
Add an explicit warning against copying this file into /etc/, since
work-arounds for the ".: Out of file descriptors" problem (see
PR 13724) are taking longer than expected to come to fruition.
Yoshinobu Inoue [Tue, 21 Dec 1999 09:31:14 +0000 (09:31 +0000)]
define WID_DST6 and WID_GW6 and use them only for IPv6, to keep IPv4 related
information in 80 columns.
TODO: IPv6 related information is not likely to be kept in 80 columns, anyway.
Some more print modes could be added,
but what is the priority between those modes?
-print out all information even if they don't fit into 80 columns
-strip off some information to fit them into 80 columns
Peter Wemm [Tue, 21 Dec 1999 09:16:03 +0000 (09:16 +0000)]
Extract a list of extra isa pnp modem ID's from NetBSD and OpenBSD. Some
of these are bound to have a PNP05xx compatid, but there's no easy way to
tell. Since it's just an ID list and uses the pnp header's description
strings rather than encoding strings here, it doesn't seem to be too
expensive to err on the safe side.
Joerg Wunsch [Tue, 21 Dec 1999 08:33:03 +0000 (08:33 +0000)]
Add a flag to disable FIFO probing. The code seems to have a chance of
misdetecting FIFO capabilities, at least on my girlfriend's Thinkpad 755,
the driver doesn't work using the FIFO.
While i was at it, i (partially) fixed option FCC_YE since it would no
longer have compiled at all under -current. I've also made an attempt
to document the device driver flags value (ab-)used internally by this
option.
RELENG_3 candidate, but with a slightly different patch there (will go
to jkh in email).
Warner Losh [Tue, 21 Dec 1999 08:32:15 +0000 (08:32 +0000)]
Delay creation of threads until after the idle thread is created, more
or less. This is a kludge because there is no support for delayed
creation of threads early in the boot process.
NEWCARD new boots and the thread process starts and is visible from
ps.
Chris Costello [Tue, 21 Dec 1999 06:29:00 +0000 (06:29 +0000)]
Fix a typo that was doing something kind of silly, and that is initializing
the creation time for files to the uninitialized value:
vap->va_ctime = vap->va_ctime;
Changed to what was intended, assigning it to the modification time (thus
making all three values of access time, modification time and creation time
the same thing).
Justin T. Gibbs [Mon, 20 Dec 1999 21:32:32 +0000 (21:32 +0000)]
Correct an "argument reversal" bug that could cause commands requed from
the input fifo to be returned as successful and frozen. Most, if not
all, peripheral drivers do not check the qfrozen bit for successfully
completed commands, so the result would not only be lost commands, but
devices locked out from receiving commands. This was a bad bug that
crept in two or three months ago during some target mode work.
Matthew Dillon [Mon, 20 Dec 1999 20:28:40 +0000 (20:28 +0000)]
Reimplement buf_daemon / getnewbuf() interaction for dealing with
stressful situations. buf_daemon now makes a distinction between
being woken up and its sleep timing out, and as a consequence is now
much better able to dynamically tune itself to its environment.
Reviewed by: Alfred Perlstein <bright@wintelcom.net>
Matt Jacob [Mon, 20 Dec 1999 16:16:53 +0000 (16:16 +0000)]
Make sure we don't look at an edt entry that could go away when we try
and figure out whether to probe higher than logical unit 7.
Obtained from:gibbs@freebsd.org
Sheldon Hearn [Mon, 20 Dec 1999 16:13:47 +0000 (16:13 +0000)]
Add link(1) and unlink(1) as special cases of ln(1) and rm(1)
respectively, in accordance with SUSv2.
This differs from the approach taken in NetBSD, but provides
less obscure error messages in at least the EISDIR case and
does not take up additional disk space for new binaries.
PR: 13071
PR: 13074
Requested by: James Howard <howardjp@wam.umd.edu>