Commit Graph

38791 Commits

Author SHA1 Message Date
kato
10c5527fa3 From submitter:
The attached diff attempts to eliminate as much of the difference
between the i386 and the pc98 version of the file as possible.  It
should not make any semantic difference (it consists of whitespace
changes, order changes, comment changes, changes of case for hex
constants, and merging in a couple of constants that hadn't made it
from the i386 version.)

Submitted by:	eivind
1999-06-25 15:17:20 +00:00
ru
244461c6df - add "-s src_addr" option to allow setting of the source IP address;
- fix two minor bugs;
- slightly cleanup manpage.
1999-06-25 14:11:16 +00:00
pb
6975958ce7 Never return the root node itself from rn_match(); return NULL instead.
This caused a panic in rtfreee() called with a root node from the
routing socket code (when processing a RTM_GET message looking for
the default route while there is none).

Since no existing code seems to have any use getting the root node
from rn_match(), it seems cleaner never to return it rather than
check for this condition at the caller's.

PR:		kern/12265
1999-06-25 13:43:30 +00:00
cracauer
b4c5573bae Don't continue if parsing failed when -f is in use. Exit with nonzero value. 1999-06-25 09:04:48 +00:00
sos
fa013c0088 Nine'th update to the new ATA/ATAPI driver:
The atapi subsystem has gotten better error handeling and timeouts,
it also tries a REQUEST SENSE command when devices returns errors,
to give a little more info as to what went wrong. It might be a
little verbose for now, but I'm interested in as much feedback on
errors as possible, especially timeouts, as I'm a bit in doubt if
I've chosen resonable default values everywhere.

The disk driver has been changed a bit to prepare for tagged queing,
which is next on my list.

The disk driver has grown a dump routine, I got one implementation
from Darrell Anderson <anderson@cs.duke.edu> which also did
partial dumps (usefull on big memory machines) I left out the
partial stuff for now, and changed the rest alot to fit into the new
ad_request framework.

Some minor cleanups and rearrangements as well.

As usual USE AT YOUR OWN RISK!!, this is still pre alpha level code.
Especially the DMA support can hose your disk real bad if anything
goes wrong, again you have been warned :)
Notebook owners should be carefull that their machines dont suspend
as this might cause trouble...

But please tell me how it works for you!

Enjoy!

-Søren
1999-06-25 09:03:07 +00:00
dfr
dfb5209a42 Make this sample build again. 1999-06-25 07:50:26 +00:00
grog
55e2d8db08 Add function cdevsw_remove, the opposite of cdevsw_add: remove an
entry in cdevsw (and bdevsw if appropriate).

Reviewed-by: phk
1999-06-25 07:49:01 +00:00
jmg
8662563a72 fix the links to the bitstring man page..
fix wording in man page, through != to
1999-06-25 04:51:49 +00:00
jdp
86ed7099cb Fix a reference counting problem when using dlopen(NULL, ...).
PR:		bin/12129
1999-06-25 04:50:06 +00:00
jdp
5ab77d8d27 Fix a serious performance bug for large programs on the Alpha,
discovered by Hidetoshi Shimokawa.  Large programs need multiple
GOTs.  The lazy binding stub in the PLT can be reached from any of
these GOTs, but the dynamic linker only has enough information to
fix up the first GOT entry.  Thus calls through the other GOTs went
through the time-consuming lazy binding process on every call.

This fix rewrites the PLT entries themselves to bypass the lazy
binding.

Tested by Hidetoshi Shimokawa and Steve Price.

Reviewed by:	Doug Rabson <dfr@freebsd.org>
1999-06-25 02:53:59 +00:00
jmg
f5e21815fd add support to buildworld as a normal user:
-DNOFSCHG	disables installation of libs with flag schg
	GAMEGRP		change the group with which games are installed

also organize the binary section into alphebetical order some what..
1999-06-24 22:50:24 +00:00
jlemon
c4ac4e2f94 Fix warning message; that was 4GB, not 2GB. I apparently can't do
arithmetic today.
1999-06-24 20:53:24 +00:00
jlemon
aa974ff2d0 Explicitly ignore any memory > 2GB, we don't support it yet. 1999-06-24 20:47:11 +00:00
jlemon
1886fbb625 Only include AMD wt_alloc routines if I586_CPU is defined. Fixes
CPU_WT_ALLOC for cyrix chips.

Submitted by:	"Brian Smith" <dbsoft@technologist.com>
1999-06-24 20:08:56 +00:00
n_hibma
34e5c4267f Fix typo (missing double quote) 1999-06-24 17:20:54 +00:00
mjacob
22fe70397c (corrections for type change in softc) 1999-06-24 16:42:33 +00:00
mjacob
9d1eac244a Bruce pointed out I was being silly with volatile.
Submitted by:	bde@freebsd.org
1999-06-24 16:34:00 +00:00
mjacob
72828945f5 Quirk Tandberg 4100 like Tandberg 4200.
PR:		11675
Reviewed by:	msmith@FreeBSD.ORG
Submitted by:	blank@uni-trier.de
1999-06-24 15:21:10 +00:00
kato
6d7fe7d136 Sync with sys/dev/syscons/scvtb.c revision 1.2.
Submitted by:	yokota
1999-06-24 14:03:07 +00:00
yokota
11083302d3 Fix ESC[P (delete N chars) and ESC[@ (insert N chars). These deletion
and insertion should affect the line the cursor is on only.

This change should have been committed together with syscons.c rev 1.308.
(I forgot to do so, when I committed syscons.c :-(

Pointed out by: sos
1999-06-24 13:04:33 +00:00
kato
9fba32369d Merge with sys/isa/syscons_isa.c and sys/dev/syscons/syscons.c
revisions 1.6 and 1.308, respectively.

Pointed-out by:		yokota
1999-06-24 12:13:08 +00:00
kato
8d05ae774d PC98 part of the second phase of syscons reorganization.
Submitted by:	yokota
1999-06-24 10:51:40 +00:00
sheldonh
e810531c42 Actually install the virgin copies of the /etc files that we so proudly
claim to install in /usr/share/examples/etc/README.examples .

PR:	5207
Reported by:	"Wayne M. Barnes" <wayne@barnes1.wustl.edu>
1999-06-24 09:45:30 +00:00
yokota
d765f88759 Fix ESC[P (delete N chars) and ESC[@ (insert N chars). These deletion
and insertion should affect the line the cursor is on only.
1999-06-24 09:21:27 +00:00
yokota
1910a19b2f Declare the correct size of softc and fix sc_get_softc(). 1999-06-24 09:06:48 +00:00
grog
c9f27058e4 set_drive_state:
If the drive goes down, queue a close to the daemon.  In many cases
  this function gets called in process context, so it could do it
  directly, but it's more trouble finding out where we came from than
  getting the daemon to do it.
1999-06-24 08:57:16 +00:00
grog
e4c8eae1cc build_request_buffer:
Don't bzero the buffer structure, it's been done already by
  allocrqg.

sdio:
  Build up a correct buffer header, don't steal linkages from system
  buffer headers.

Noticed-by: mckusick
1999-06-24 08:56:03 +00:00
grog
c4b0071760 Split close_drive into two parts to ensure correct locking against the
daemon before closing a drive.
1999-06-24 08:55:02 +00:00
grog
cdb066413e Implement daemonrq_closedrive function to close a drive. 1999-06-24 08:54:09 +00:00
grog
fb39af9118 free_drive:
Use new function close_locked_drive to close the drive.
1999-06-24 08:53:14 +00:00
grog
4dd440eb83 Clarify some comments.
struct request:
  Add a daemon function to close drives when they go down.
1999-06-24 08:52:27 +00:00
kato
ffb83087c4 Sync with sys/i386/isa/clock.c revision 1.137. 1999-06-24 08:32:52 +00:00
kato
78e8dc07bd Sync with sys/i386/conf/options.i386 revision 1.118. 1999-06-24 08:31:08 +00:00
obrien
b5890661d0 Add new file that needs compiling. 1999-06-24 08:13:21 +00:00
imp
7d9014f75b Per Ken's request, back out my last change to this file. iostat's man
page documents '?' as a valid option, as does the usage message.  None
of the other programs' man pages documented '?' as a valid option.
1999-06-24 07:39:25 +00:00
imp
3e907c97e9 Don't add '?' to getopt's options. 1999-06-24 06:45:32 +00:00
imp
9472a2e779 Two getopts related nits:
o getopt returns -1 rather than EOF on errors
	o getopt returns '?' for characters it doesn't know about, so
	  don't include them in the getopt options string.
1999-06-24 06:43:21 +00:00
imp
24c7dc9781 '?' shouldn't be in the usage string. Unknown characters are already
converted to '?'.
1999-06-24 06:33:24 +00:00
mpp
0fc7bcdcdf Some man page cleanup. Make the NAME and SYNOPSIS sections agree so
that whatis(1) will produce the expected results.

Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
1999-06-24 06:22:24 +00:00
grog
bc895d91e2 Reenable Vinum build 1999-06-24 05:21:19 +00:00
mpp
f59411ca5e Add the 'reset' command to the NAME section.
Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
1999-06-24 04:48:41 +00:00
obrien
471f2eaeba Clean up conflicts. 1999-06-24 04:38:03 +00:00
imp
aa560c8a1c Compaq smart raid 1999-06-24 04:20:37 +00:00
jlemon
7448acdb86 Allow the Ross host to PCI bridge to appear as a PCI bus. This permits
my Compaq 3000 to recognize the secondary bus.
1999-06-24 04:06:26 +00:00
jlemon
7f2f88961c Add ida/id lines 1999-06-24 03:54:54 +00:00
green
4f6f879901 This commit gives support for the Rise mP6 CPU. It has two changes:
1. Rise is recognized in identdcpu.c.
	2. The TSC is not written to. A workaround for the CPU bug is being
	   applied to clock.c (the bug being that the mP6 has TSC enabled
	   in its CPUID-capabilities, but it only supports reading it. If we
	   try to write to it (MSR 16), a GPF occurs.) The new behavior is that
	   FreeBSD will _not_ zero the TSC. Instead, we do a bit of 64-bit
	   arithmetic.

Reviewed by:	msmith
Obtained from:	unfurl & msmith
1999-06-24 03:48:25 +00:00
jlemon
962f01757d Fix more disordering I missed last time. 1999-06-24 03:44:10 +00:00
jlemon
8702b7cefd fix disordering 1999-06-24 03:42:14 +00:00
jlemon
0eab655fbb Add IDA files 1999-06-24 03:40:17 +00:00
jlemon
9a0f8d98d5 Compaq Smart RAID driver for -current. Based on the original ida.c
driver by Mark Dawson.  This probably needs some work, but is stable
enough to boot a RAID-only configuration, and survive `make world'.
1999-06-24 03:33:30 +00:00