Commit Graph

54618 Commits

Author SHA1 Message Date
obrien
b5bd88f4f5 I didn't maintain the "chs" ordering. Rather the bug was in print_part().
Requested by:	bde.
2000-11-29 20:22:47 +00:00
jhb
c710e2e278 Display the name of the mutex we are blocked on in the state field. To
differentiate mutex names from wait channel names, prefix mutex names with
an asterisk.

Submitted by:	Dan Nelson <dnelson@emsphone.com>
2000-11-29 20:22:34 +00:00
jhb
e96d454c32 Set p_mtxname when blocking on a mutex and clear it when waking up. 2000-11-29 20:17:15 +00:00
jhb
e02d1f01f5 Save a copy of p_mtxname in e_mtxname when creating an eproc. 2000-11-29 20:14:50 +00:00
jhb
37f7eec401 - Add a p_mtxname field to proc which points to the description of the
mutex a process is blocked on or NULL.
- Add a corresponding field e_mtxname to eproc.
- Fix a spelling nit in a comment.
2000-11-29 20:10:54 +00:00
jon
74d14ce2cb This fixes several problems with CIS as suggested by Justin Gibbs:
4) The cardbus CIS code treats the CIS_PTR as a mapping register if
   it is mentioned in the CIS.  I don't have a spec handy to understand
   why the CIS_PTR is mentioned in the CIS, but allocating a memory range
   for it is certainly bogus.  My patch ignores bar #6 to prevent the
   mapping.
   [The pccard spec says that BAR 0 and 7 (-1 and 6 in thic case since we
    did a minus one) is "reserved".  The off by 1 error has been fixed.
    also bar=5 is invalid for IO maps, so we check it.]

5) The CIS code allocated duplicate resources to those already found
   by cardbus_add_resources().  The fix is to pass in the bar computed
   from the CIS instead of the particular resource ID for that bar,
   so bus_generic_alloc_resource succeeds in finding the old resource.
   [fixed, also removed superfluous (and incorrect) writing back to the
    PCI config space.]

7) The CIS code seems to use the wrong bit to determine rather a particular
   register mapping is for I/O or memory space.  From looking at the
   two cards I have, it seems TPL_BAR_REG_AS should be 0x10 instead
   of 0x08.  Otherwise, all registers that should be I/O mapped gain
   a second mapping in memory space.
   [Oops, the spec does say 0x10..., fixed]

Submitted by: Justin Gibbs
2000-11-29 19:38:25 +00:00
rwatson
d7f77b3ec0 o Add a PATH statement to the beginning of make-localhost, making it
work right when the administrator has modified their runtime environment
  in a manner not anticipated by our script.

Requested by:	Tom Maher <tardis@ece.cmu.edu>
2000-11-29 19:19:06 +00:00
jhb
0640108ef5 Use an atomic operation with an appropriate memory barrier when releasing
a contested sleep mutex in the case that at least two processes are blocked
on the contested mutex.
2000-11-29 18:41:19 +00:00
jhb
42af0b6bb4 The sched_lock mutex goes after the sio mutex in the locking order since
a software interrupt can be scheduled in the sio interrupt handler while
the sio mutex is held.
2000-11-29 18:38:14 +00:00
jhb
35b8911585 Save the line number and filename of the last mtx_enter operation for
spin locks.  We already do this for sleep locks.
2000-11-29 18:37:01 +00:00
jhb
896b5da519 Don't drop Giant and the passed in mutex incorrectly in the
cold || panicstr case.  Do drop the passed in mutex in that case if
PDROP is specified.
2000-11-29 18:32:50 +00:00
jon
9712e17cfe Oops, broke CIS reading from ROM on my last commit.
This should fix it.
2000-11-29 16:08:01 +00:00
brian
86225cdcaf Call MSCHAP CHAP80 in ``show lcp'' so that it's consistent with CHAP81. 2000-11-29 15:47:35 +00:00
asmodai
54bcb032de Fix stdbool.h to actually work as advertised.
PR:		22936
Submitted by:	Donald J. Maddox <Donald.J.Maddox@cae88-102-101.sc.rr.com>
		bde
2000-11-29 14:41:00 +00:00
nik
4e0f3015c1 Xref make.conf(5), and point to /usr/share/doc/psd/12.make for the
tutorial paper.
2000-11-29 14:40:02 +00:00
nik
462a106e09 Typo police. 2000-11-29 14:27:20 +00:00
kato
367fcdbd72 Merged from sys/i386/i386/userconfig.c revision 1.185. 2000-11-29 12:31:13 +00:00
ru
f3e5889750 Eliminate groff(1) warnings. 2000-11-29 10:56:59 +00:00
sheldonh
b3eb01efba Remove the ibcs2(8) shell script.
Providing shell scripts that do nothing but load a similarly named
kernel loadable module in out of vogue.

There is no ibcs2(4) manual page, and I haven't managed to coax
anyone into contributing one based on the linux(4) manual page.
2000-11-29 10:46:14 +00:00
sheldonh
a5b7c6517a Decommission the svr4(8) shell script, which has been pointless since
our kernel module system learned how to handle dependencies.

Providing a whole bunch of shell scripts that do nothing but load
a similarly named kernel loadable module is out of vogue.

The svr4(8) manual page has been replaced with a much better svr4(4)
page.
2000-11-29 10:40:53 +00:00
ru
420483cf07 Eliminate groff(1) warnings caused by vgrind(1). 2000-11-29 10:32:51 +00:00
sheldonh
f3c153e463 Looks like my last round of suggestions didn't make it in. Fix invalid
cross-references.
2000-11-29 10:29:28 +00:00
newton
9d9f60da2d Add streams(4) and svr4(4) to man4.i386 Makefile (yes, I know this should
have happened with the last commit).
2000-11-29 09:53:22 +00:00
newton
ae6f14bdd3 Introduce svr4(4) and streams(4).
Reviewed by:	sheldonh
2000-11-29 09:50:11 +00:00
ru
4fd67d218f Eliminate groff(1) warnings. 2000-11-29 08:51:24 +00:00
ru
2661974702 Eliminate `number register .U' not defined'' groff(1) warnings. 2000-11-29 08:36:36 +00:00
bmah
caec7617be New release note items: realpath(1), file(1) contribify-ed, stty(1)
erase2.

MFCs noted:  OpenSSL 0.9.6, Binutils 2.10.1.

While I'm here, also note that the next 4.X release will be 4.3.
2000-11-29 07:03:36 +00:00
sheldonh
3e3a389b76 Fix a typo and a punctuation mistake, the two of which conspired
against the reader.
2000-11-29 06:55:13 +00:00
alfred
04e161e499 document O_NOFOLLOW and O_FSYNC flags to open 2000-11-29 04:08:49 +00:00
jhb
39cf580768 Only print out APIC info on an SMP system during a panic if APIC_IO is
defined.
2000-11-29 01:33:15 +00:00
jhb
1b12cb1ecb Don't wait forever for CPUs to stop or restart. Instead, give up after a
timeout.  If DIAGNOSTIC is turned on, then display a message to the console
with a map of which CPUs failed to stop or restart.  This gives an SMP box
at least a fighting chance of getting into DDB if one of the other CPUs has
interrupts disabled.
2000-11-28 23:52:36 +00:00
jhb
757db0906c Use atomic ops to close a race condition on the in_Debugger variable used
to only allow 1 CPU at a time to (non-recursively) enter the debugger.
2000-11-28 23:15:44 +00:00
jhb
09e0dbdcd9 Prefix the register argument of indirect 'jmp's with a * to make gas 2.10.x
happy.
2000-11-28 22:59:14 +00:00
brian
d36784b716 Use only the bit after the ``\'' when hashing the challenge in
MSChapv2

Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
2000-11-28 22:50:40 +00:00
mph
84bc874893 The parameter that contains valid options is "optstring", not "optarg". 2000-11-28 22:06:17 +00:00
msmith
33e0e594a8 Add the 'amr' control device. 2000-11-28 21:53:42 +00:00
msmith
72e9d06e9a (Last commit accidentally missed a message)
Remove some over-zealous debugging code.
2000-11-28 20:51:52 +00:00
msmith
1f15301a0d Remove some over- 2000-11-28 20:51:04 +00:00
ben
42e83a53cf Fix typos and layout problem.
PR:		23109
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-28 20:38:20 +00:00
jkh
8c1ad59399 Kernel support for erase2 character.
Submitted by:	Rui Pedro Mendes Salgueiro <rps@mat.uc.pt>
2000-11-28 20:03:23 +00:00
jkh
644ee6003f Add support for an "erase2" so that both ^H and DEL can be used
for backspacing.

Submitted By:	Rui Pedro Mendes Salgueiro <rps@mat.uc.pt>
2000-11-28 19:48:06 +00:00
wilko
b271b84680 Document removal of DEC3000-series and SLIP support from the mfsroot image.
Submitted by:	obrien
2000-11-28 19:29:07 +00:00
msmith
5226d3f09e MFS:
Fix amr_map_command so that 40LD-specific commands get the scatter-gather
   list count in the right place.  I don't understand why AMI did it like
   this, but now the AMI MegaManager can talk to the newer (1600 and later)
   controllers.

   Remove an unused variable.

   Include <machine/clock.h> when necessary.

   Tweak some debugging levels to make things more intelligible.
2000-11-28 19:28:22 +00:00
ru
624f14b69f Eliminate groff(1) warnings. 2000-11-28 19:26:53 +00:00
charnier
8982775723 -Wall cleaning 2000-11-28 18:18:56 +00:00
charnier
fc795f389a Remove .Op when arg is required (special | filesystem). Document that at
least one flag is required and check this in the code. Make use of getopt(3).
Generalyze printing `... remains unchanged ...'.
2000-11-28 18:17:15 +00:00
charnier
f1a89df331 Remove unused #include. Use getopt(3). Add usage() with syslog(3) cap. 2000-11-28 18:15:25 +00:00
charnier
963cc312d0 Make enumerated list for flags. Spelling. 2000-11-28 18:11:06 +00:00
charnier
46ed81751f -Wall cleaning. Use getopt(3). 2000-11-28 18:09:08 +00:00
ru
af07d8d1cf Eliminate groff(1) and tbl(1) warnings. 2000-11-28 17:05:25 +00:00