Commit Graph

51111 Commits

Author SHA1 Message Date
jlemon
06a140567d Add another Bill Paul quote.
Approved by:	jkh
2000-08-07 20:49:08 +00:00
jdp
d2eaa77d4f Add a "-i" option ("insecure") which disables the checks for
root ownership, etc.  I will soon commit a companion knob for
"/etc/rc.conf".

Submitted by:	Maxime Henrion <mhenrion@cybercable.fr>
2000-08-07 19:12:04 +00:00
archie
67e0523738 Document three new control messages. 2000-08-07 18:53:42 +00:00
archie
27b10d992b Add three new control messages to the ng_ether(4) netgraph node type:
NGM_ETHER_GET_ENADDR:	Get the device's Ethernet address
    NGM_ETHER_SET_PROMISC:	Enable/disable promiscuous mode
    NGM_ETHER_SET_AUTOSRC:	Enable/disable packet source address override
2000-08-07 18:52:26 +00:00
peter
c4c796b9e5 Fix some warnings. Here are more part-time volatiles - ie: data that
lives in memory and is sometimes busmastered to/from the controller.
I believe these are all ok.
2000-08-07 18:44:05 +00:00
jlemon
54a240077c Make the kqueue socket read filter honor the SO_RCVLOWAT value.
Spotted by:  "Steve M." <stevem@redlinenetworks.com>
2000-08-07 17:52:08 +00:00
wpaul
8b66b46365 Close PR 20438. Make fix for preserving LED settings conditional on
presence Intel 21143 chip.
2000-08-07 17:03:20 +00:00
jlemon
a2829cbe90 Add wrapper for kevent() syscall
Noted as missing by: nicolas.leonard@animaths.com
2000-08-07 16:51:56 +00:00
jlemon
94f1716a2e Document return value of ENOENT for nonexistent/invalid filter entries. 2000-08-07 16:47:35 +00:00
jlemon
7adbb50a65 Fix bug with timeout; previously, when attempting to poll the kqueue by
passing a zero-valued timeout, the code would always sleep for one tick.
Change code to avoid calling tsleep if we have no intention of sleeping.

Bring in bugfix from sys_select.c, r1.60 which also applies here.

Modify error handling slightly; passing in an invalid fd will now result
in EBADF returned in the eventlist, while an attempt to change a knote
which does not exist will result in ENOENT being returned.  Previously
such attempts would fail silently without notification.

Pointed out by: nicolas.leonard@animaths.com
	        Rick Reed (rr@yahoo-inc.com)
2000-08-07 16:45:42 +00:00
ume
14d877ea44 To make compilable without -DINET6.
PR:		bin/20407
Submitted by:	Patrick Bihan-Faou <patrick@mindstep.com>
2000-08-07 16:39:33 +00:00
sheldonh
b4d88a11f2 Make the update target consistent; both ports and doc are updated
if their SUPFILE variables are defined _and_ NO_PORTSUPDATE and
NO_DOCUPDATE respectively are not defined.

Previously, only ports was updated and there was no way to prevent
this without undefining its SUPFILE variable.

PR:		17514
Reported by:	Udo Erdelhoff <ue@nathan.ruhr.de>
2000-08-07 14:35:49 +00:00
ru
f4ce82e2fd Adjust TCP checksum rather than compute it afresh.
Submitted by:	Erik Salander <erik@whistle.com>
2000-08-07 09:51:04 +00:00
brian
9d83d33d46 Use ``diff -w'' for setuid.{to,yester}day comparisons
rather than ``diff -b''.
2000-08-07 09:08:35 +00:00
green
602b398ec8 Back this one out until I can fix _all_ of the headers. The headers sure
are shpxed quite nicely.
2000-08-07 03:54:25 +00:00
tegge
709999c68c Add workaround for livelock problem when starting APs.
With more than 1 AP present, an AP could fail to properly release
the mp lock before waiting for smp_started to become nonzero.

With early startup of APs, the BSP could fail to properly release
the mp lock before waiting for smp_started to become nonzero.
2000-08-07 02:28:37 +00:00
nyan
a5a5fe7a4b Don't use kern.disks sysctl on PC-98 because the wd driver doesn't call
disk_create() function.
2000-08-07 02:14:44 +00:00
ps
e93377cb7c Update the usage string to reflect -n as an option. 2000-08-07 01:09:25 +00:00
ps
f4f70a2963 Actually make syslogd understand the new -n option by putting it
in getopt.

Submitted by:	Clive Lin <clive@CirX.ORG>
2000-08-07 01:00:01 +00:00
joe
eda93612c8 0xA0 = Suspend to disk. 2000-08-07 00:26:09 +00:00
n_hibma
a851623899 Save and restore the registers SOF and FRAMENUMBER on suspend. In some
cases the registers are not correctly set on resume.

This solves the problem of USB failing after resuming a machine.

Submitted by:	mike+fbsd@medianstrip.net
PR:		18261
2000-08-07 00:04:53 +00:00
n_hibma
29574e155a Regen. 2000-08-06 23:27:36 +00:00
n_hibma
0a886618fc New ids
Submitted by:	Scott Long
PR:		18897
2000-08-06 23:26:58 +00:00
n_hibma
fa2949e66f Some new ids, from NetBSD 2000-08-06 23:22:13 +00:00
imp
3a82088754 Type in FreeBSD capitalization 2000-08-06 22:18:39 +00:00
imp
3e0787dcf2 Add entry on the installkernel changes as well as more grumpy notes
about needing to be on -current to track -current.  Tweak the 4.0 ->
4.x version stuff.
2000-08-06 22:16:34 +00:00
cg
7a66d0e910 sync CCR register definitions with creative sources 2000-08-06 20:58:11 +00:00
sos
ea7d512129 Add experimental code for ATA100 support on:
Promise Ultra100 / Fasttrak100
HighPoint HPT370 controllers (fx Abit KA7-100 onboard ctrl, Abit HotRod 100)
Intel ICH2 (Intel 815E based motherboards)

So far I can read >90MB/s on the Promise and the HPT370.
I can write >64MB/s on the promise and >50MB/s on the HPT370 so it seems
writing is still done in ATA66 mode :(
The ICH2 support is untested as of yet...
2000-08-06 19:51:58 +00:00
archie
3bf0dfcd98 Missed one misspelling in previous commit. 2000-08-06 19:25:59 +00:00
sos
64587278cb Use tsleep instead od DELAY in probe when not in boot.
This fixes the uptil 30s hangs on PCCARD ata device probes.
2000-08-06 19:10:05 +00:00
cokane
ebe74abb5f Cleaning conflicting module tree. Use modules/3dfx instead. 2000-08-06 19:08:55 +00:00
cokane
9272115c33 Fix clean to remove pci.h
Numerous style fixes

Submitted by:	Marcel Moolenaar <marcel@cup.hp.com>
2000-08-06 18:56:46 +00:00
cg
ac014365bb fix the staticy sound issue
use timer instead of per-channel interrupts

do playback like the linux driver - may fix nmi-with-ecc issue
2000-08-06 18:10:05 +00:00
sos
49e0fcab9a Remove sequence checking in the burner support.
This was really a leftover from the wormcontrol days, it is no longer
needed when using burncd.
2000-08-06 18:03:42 +00:00
sos
1cf2e0d376 Be a bit more restrictive in using multisector transfers. 2000-08-06 18:01:47 +00:00
green
a76d7b0016 Good, fixing the header showed incorrect usage of it! #define _KERNEL
here for the include of sys/select.h.
2000-08-06 17:03:09 +00:00
kato
109d662053 - Fixed missing initialization of current device number.
- Fixed comment.

Pointed out by:	nyan
2000-08-06 14:35:37 +00:00
ps
da80423007 Change the behavior of isa_nmi to log an error message instead of
panicing and return a status so that we can decide whether to drop
into DDB or panic.  If the status from isa_nmi is true, panic the
kernel based on machdep.panic_on_nmi, otherwise if DDB is
enabled, drop to DDB based on machdep.ddb_on_nmi.

Reviewed by:	peter, phk
2000-08-06 14:17:21 +00:00
rnordier
cfcb0e1bc5 Consistency fix. 2000-08-06 09:19:45 +00:00
green
36e93149b3 None of select.h needs to be exposed to !_KERNEL. 2000-08-06 02:14:52 +00:00
tegge
67495c0156 Remove 3 off by 128 errors. 2000-08-06 01:17:39 +00:00
tegge
6482b4b4ae Be more verbose when changing APIC ID on an IO APIC.
Don't allow cpu entries in the MP table to contain APIC IDs out of range.

Don't write outside array boundaries if an IO APIC entry in the MP table
contains an APIC ID out of range.

Assign APIC IDs for all IO APICs according to section 3.6.6 in the
Intel MP spec:

  - If the current APIC ID on an IO APIC doesn't conflict with other
    IO APICs or CPUs, that APIC ID should be used.  The copy of the MP
    table must be updated if the corresponding APIC ID in the MP table
    is different.

  - If the current APIC ID was in conflict with other units, the
    corresponding APIC ID specified in the MP table is checked for conflict.

  - If a conflict is still found then fall back to using a new unique ID.
    The copy of the MP table must be updated.

  - IDs out of range is considered to be in conflict.

During these operations, the IO_TO_ID array cannot be used, since any
conflict would have caused information loss.  The array is then corrected,
since all APIC ID conflicts should have been resolved.

PR:	20312, 18919
2000-08-06 00:04:03 +00:00
marko
880bfa03eb Document the ``-'' option and minor re-wording in EXAMPLES 2000-08-05 23:03:12 +00:00
archie
4bdc4a3139 Fix misspelling. 2000-08-05 20:17:04 +00:00
ben
416d7a00d2 Mention the non-English docs as well as ports. 2000-08-05 18:34:17 +00:00
ben
5266882947 Fix description of argv[0] passed to interpreted scripts; it's the name of
the interpreter, _not_ the argv[0] passed in the original exec() call.
2000-08-05 16:38:24 +00:00
alex
e44c0cdcfb Fix world-breakage: warnx("..') --> warnx("...")
Submitted by:	Alain Thivillon <Alain.Thivillon@hsc.fr>,
		Udo Erdelhoff <ue@nathan.ruhr.de>
Approved by:	green
2000-08-05 15:45:59 +00:00
kris
a24ba6a644 Don't call errx() without a format string, to protect against possible
% characters in localized error messages from ipsec_strerror().

Obtained from:  OpenBSD
2000-08-05 06:24:41 +00:00
kris
d4700b92ed Don't call errx() without a format string, to protect against possible
localized error messages from ipsec_strerror().

Obtained from:	OpenBSD
2000-08-05 06:21:12 +00:00
kris
009b162adf Don't call warnx() without a format string (localized error messages
could conceivably cause a crash).

Obtained from:	OpenBSD
2000-08-05 06:06:48 +00:00