Commit Graph

55920 Commits

Author SHA1 Message Date
peter
296268c849 Stop turning 'mandatory' into an implicit 'count' line. i386/npx was the
only consumer of this and it is no longer needed.
2001-01-19 13:20:50 +00:00
peter
085d133e59 Use #ifdef DEV_NPX from opt_npx.h instead of #if NNPX > 0 from npx.h 2001-01-19 13:19:02 +00:00
peter
606cb3752f EEK! vm86bios.s has got #if NNPX > 0 code without a corresponding
#include "npx.h" - the code has been dead for a while and vm86 calls
have not been saving FPU context it seems.
2001-01-19 13:14:09 +00:00
peter
11019bbfee At great personal risk to my sanity, turn off COMPAT_OLDISA and the
two drivers that depend on it - ie and le.  The compat code has not been
disabled.
2001-01-19 13:06:37 +00:00
peter
66fd366d3c Add missing twe (3ware) and ahb (adaptec 174x) devices (!) 2001-01-19 13:04:58 +00:00
peter
bc9532f31d This conf file seems to have rotted quite a bit.. 2001-01-19 13:03:41 +00:00
peter
ec49373b08 Corresponding version bump for config with the DEV_FOO replacement for
the NFOO count option.
2001-01-19 12:50:16 +00:00
peter
1e291407fc Implement option strings that we can use in #ifdefs (where unavoidable)
as a replacement for the evil #define NFOO.  If 'device npx' is in the
static kernel, a synthetic option '#define DEV_NPX 1' will be available
to stick in an opt_xxx.h file.  "#if NNPX > 0" can be replaced with
"#ifdef DEV_NPX" and we can get rid of the overloaded meaning of the
device count mechanism.
2001-01-19 12:49:21 +00:00
peter
be7df476d4 This driver needs COMPAT_OLDISA too. Sigh. 2001-01-19 11:46:57 +00:00
jhb
62d6835ac1 Add in a space that got lost in the previous commit in some debugging code
so that '&' becomes a binary operator and not a unary operator.
2001-01-19 11:43:13 +00:00
peter
5349e35cc2 EEK! I missed a couple of places with the 24->32 interrupt change. 2001-01-19 10:55:13 +00:00
peter
14bf80e300 Remove #defines for the old lock function names and spl0/splz 2001-01-19 10:52:47 +00:00
peter
a73c36d488 Remove reference to splz_unpend - it is long gone. 2001-01-19 10:51:13 +00:00
peter
7b830cf422 Catch a few alternative names for the syscall entry frame, eg: post-ELF
and int $0x80 entry methods.
2001-01-19 10:49:20 +00:00
peter
6dc8c6a1f7 apic_itrace_splz[] is unused 2001-01-19 10:48:35 +00:00
peter
0ae3008f16 Remove unused splsoftcambio(), splsoftcamnet(), splq() and splz() inlines. 2001-01-19 10:46:58 +00:00
peter
7b6417aacb Remove the now-empty ipl_funcs.c file on all platforms. 2001-01-19 09:59:56 +00:00
peter
4e4862d4e2 Remove the static splXXX functions and replace them by static __inline
stubs.  Remove the xxx_imask variables which have been all but gone for
a while.
2001-01-19 09:57:29 +00:00
jhb
5d6013b1ce - Remove an unused write_ivars function that didn't do anything anyway.
- Return NULL from mca_alloc_resource() instead of ENOENT if we are
  passed in an empty resource list.
2001-01-19 09:29:34 +00:00
peter
d82fbe9972 Create a build-tools target for sysinstall and rtermcap. This is still
not right because rtermcap would be reading the *host* termcap, not
from the termcap in the src tree.  Besides, /usr/sbin/sysinstall
(not the crunched one in /stand) should use the runtime termcap
not the precompiled set.
2001-01-19 09:24:00 +00:00
peter
74fb668851 Fix a warning due to missing prototype. 2001-01-19 09:10:14 +00:00
peter
ab925f4f81 Fix a warning (the prototypes probably shouldn't be so over-zealously
#ifdef'ed though)
2001-01-19 09:07:16 +00:00
jhb
1b396c51c8 Warning police:
- Share the ex_stop() prototype in if_exvar.h
- Remove an unused local variable.
2001-01-19 09:04:56 +00:00
peter
044a84b843 Fix a maybe-not-so-harmless warning. 2001-01-19 09:02:40 +00:00
jhb
b1da41f4a5 Add in an interrupt type for this driver. I have no idea how this could
have ever worked without this.

Reviewed by:	peter
2001-01-19 08:55:14 +00:00
jhb
907cf4ad4b Revert revision 1.102. I don't think p_nice needs to be protected with
sched_lock, and I'm fairly certain P_TRACED will be protected with the
proc lock instead.

Pointed out indirectly by:	bde
2001-01-19 08:23:22 +00:00
itojun
3399a81fe8 BSD/OS was called BSD/386 prior to 2.0. 2001-01-19 07:36:36 +00:00
dillon
de98c0fa63 Do not cluster with B_LOCKED buffers.
This is an odd one.  This patch appears to fix a panic related to background
bitmap writes (for FFS), though neither Kirk, Ian, or I can figure out how
B_CLUSTEROK could possibly be set on a bitmap block to cause the clustering
code to improperly cluster with a buffer undergoing a background write.

In anycase, the clustering code is very fragile and this patch helps with
that, as well as possibly fixing a bug Andre was having.

Suggested by: Ian Dowse <iedowse@maths.tcd.ie>
Testing by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
2001-01-19 05:31:07 +00:00
bmilekic
f651960449 Implement MTX_RECURSE flag for mtx_init().
All calls to mtx_init() for mutexes that recurse must now include
the MTX_RECURSE bit in the flag argument variable. This change is in
preparation for an upcoming (further) mutex API cleanup.
The witness code will call panic() if a lock is found to recurse but
the MTX_RECURSE bit was not set during the lock's initialization.

The old MTX_RECURSE "state" bit (in mtx_lock) has been renamed to
MTX_RECURSED, which is more appropriate given its meaning.

The following locks have been made "recursive," thus far:
eventhandler, Giant, callout, sched_lock, possibly some others declared
in the architecture-specific code, all of the network card driver locks
in pci/, as well as some other locks in dev/ stuff that I've found to
be recursive.

Reviewed by: jhb
2001-01-19 01:59:14 +00:00
phk
4b01672913 Look for modules in /boot/kernel these days. 2001-01-18 22:36:34 +00:00
bmah
393a878079 New release notes: Condition variables in kernel, ConnectionsPerPeriod
deprecated in sshd_config, cdcontrol(1) and CDROM, sysctl -N,
ports "origin", sysinstall->/usr/sbin.

Note MFC for LinkSys cards note, clarify and MFC syslogd(8) and
LOG_CONSOLE.
2001-01-18 19:25:40 +00:00
bmah
b0131b336e Document I386_CPU kernel options, and note removal of I386_CPU
from the GENERIC kernel.

Reviewed by:	peter, jhb
2001-01-18 17:25:34 +00:00
ru
85256213f5 mdoc(7) police: add missing .Ed call. 2001-01-18 17:23:15 +00:00
ru
df430e9ea6 man(7) -> mdoc(7). 2001-01-18 16:04:48 +00:00
sos
5818f21df4 When blocksize is set to 2352, alwas read 2352 bytes.
This means it might read more than just data, but that is exactly
what we want here (for reading VCD's fx)
2001-01-18 15:20:18 +00:00
ru
f147b35e91 man(7) -> mdoc(7). 2001-01-18 12:56:17 +00:00
ben
3d22ec54fc remove reference to nonexistent screenmap(5) manual page.
PR:		24305
Submitted by:	Marco van de Voort <marcov@stack.nl>
2001-01-18 11:59:01 +00:00
ru
4cce8cc3e8 mdoc(7) police:
Use proper macros for variables and their types, removed
hard sentence breaks, added a bunch of cross references.
2001-01-18 09:42:50 +00:00
jhb
221742d57c Protect p_stat and p_oncpu with sched_lock in forward_signal(). 2001-01-18 08:19:25 +00:00
jkh
4e1b4f9cee Note that /stand/sysinstall is deprecated.
Forgotten by:	jhb
2001-01-18 08:13:38 +00:00
peter
0b9acc5085 Deal with table parsing bugs caused by out-of-order record entries.
Complain about out-of-order entries.  This fixes the 'mp extended
table HOSED!" report on the DL360 we have here with the "fixed" compaq
bios rom to fix the table length off-by-one error.
2001-01-18 07:42:02 +00:00
asmodai
11cf0f0dd1 Add a smal line of text which indicates I am working on updating
this.  <almost exactly 6 years after Garrett>
2001-01-18 07:19:25 +00:00
itojun
df3d761304 workaround; be sure to initialize nd6 interface information when IPv6
interface address gets added.  this will avoid presenting EMSGSIZE when
outgoing interface is down (and never brought up).

sync with kame.
2001-01-18 06:07:53 +00:00
n_hibma
44bf835654 Nikon E990 and Nomad MP3 player Ids.
Submitted by:	pete@altadena.net
2001-01-18 00:15:49 +00:00
peter
a199a7367b Previous commit was:
Submitted by: Bart Thate <freebsd@1st.dudi.org>
2001-01-17 22:37:52 +00:00
peter
65700a5d3f Argh! add card_if.h to the generated list. This fixes kernel builds for
those who haven't added 'NO_MODULES=off' to /etc/make.conf.
2001-01-17 22:36:49 +00:00
ben
4d9d19bfda Document the restrictions on changing times in high securelevels.
PR:		23502
Submitted by:	Robert Boyd <rboyd@pokerspot.com>
2001-01-17 21:27:54 +00:00
ben
e312aba02f Document EHOSTDOWN error.
PR:		24410
Submitted by:	Martin Horcicka <horcicka@vol.cz>
2001-01-17 21:02:50 +00:00
jedgar
886085275f Clarify comments referring to strlcat() usage
Obtained from:	OpenBSD
2001-01-17 20:51:20 +00:00
jedgar
32e6852634 - Reverse the order of two loop invariant to ensure strlcat() does not
attempt to read memory when siz is 0
- Clarify comments referring to strlcat() usage

PR:		24278, 24295
Submitted by:	Tony Finch <dot@dotat.at>
		Richard Kettlewell <rjk@greenend.org.uk>
Reviewed by:	-audit
2001-01-17 20:51:16 +00:00