]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoonly call bwillwrite() to stall on IO when dealing with VNODEs otherwise
alfred [Thu, 30 Nov 2000 20:23:14 +0000 (20:23 +0000)]
only call bwillwrite() to stall on IO when dealing with VNODEs otherwise
we will stall on non-disk IO for things like fifos and sockets

23 years agoRevert the previous change to this file. We have to hardcode in the opcode
jhb [Thu, 30 Nov 2000 20:07:49 +0000 (20:07 +0000)]
Revert the previous change to this file.  We have to hardcode in the opcode
for return because we do Evil Things(tm) with a 'ret' macro in
asmacros.h.

Noticed by: markm

23 years ago This is a fix for a problem described in PR kern/19572. It was
alfred [Thu, 30 Nov 2000 20:04:44 +0000 (20:04 +0000)]
This is a fix for a problem described in PR kern/19572. It was
    recently discussed at -hackers. The problem is a null-pointer
    dereference that happens in kern/vfs_lookup.c when accessing ".."
    with a v_mount entry for the current directory vnode of NULL. This
    happens when a volume is forcibly unmounted, and the vnode for a
    working directory in the mounted volume is cleared.

PR: 23191
Submitted by: Thomas Moestl <tmoestl@gmx.net>

23 years agoDocument the mtxname keyword.
jhb [Thu, 30 Nov 2000 19:17:56 +0000 (19:17 +0000)]
Document the mtxname keyword.

Reviewed by: sheldonh

23 years agouse a oppurtunistic locking strategy with the uidinfo structures to avoid
alfred [Thu, 30 Nov 2000 19:15:22 +0000 (19:15 +0000)]
use a oppurtunistic locking strategy with the uidinfo structures to avoid
locking the global hash on each uifree()

make struct uidinfo only visible to the kernel

make uihold() a function rather than a macro to reduce bloat

swap the order of a spl/mutex to maintain consistancy

23 years agoRemove an unused variable.
gibbs [Thu, 30 Nov 2000 19:14:26 +0000 (19:14 +0000)]
Remove an unused variable.

Properly advance to the next image while searching for the ROM image
that contains CIS data.

KNF an if statement.

23 years agomake crfree into a function rather than a macro to avoid bloat because of
alfred [Thu, 30 Nov 2000 19:09:48 +0000 (19:09 +0000)]
make crfree into a function rather than a macro to avoid bloat because of
the mutex aquire/release

reorder struct ucred

23 years agoGet rid of a bogus mtx_exit (it was attempting to release an
mckusick [Thu, 30 Nov 2000 19:09:29 +0000 (19:09 +0000)]
Get rid of a bogus mtx_exit (it was attempting to release an
already released mutex).

Submitted by: "Chris Knight" <chris@aims.com.au>

23 years agoremove unneded sys/ucred.h includes
alfred [Thu, 30 Nov 2000 18:52:32 +0000 (18:52 +0000)]
remove unneded sys/ucred.h includes

23 years agoEliminate groff(1) warnings.
ru [Thu, 30 Nov 2000 18:39:57 +0000 (18:39 +0000)]
Eliminate groff(1) warnings.

23 years agoremove unneded sys/ucred.h include
alfred [Thu, 30 Nov 2000 18:34:08 +0000 (18:34 +0000)]
remove unneded sys/ucred.h include

23 years agoSet the proper bit in the howto flags for a serial console rather than
jhb [Thu, 30 Nov 2000 18:33:59 +0000 (18:33 +0000)]
Set the proper bit in the howto flags for a serial console rather than
setting the index of the bit.  (0xc vs. 0x1000)

23 years agoremove unneeded sys/ucred.h include
alfred [Thu, 30 Nov 2000 18:33:02 +0000 (18:33 +0000)]
remove unneeded sys/ucred.h include

23 years agoEliminate groff(1) warnings.
ru [Thu, 30 Nov 2000 17:06:28 +0000 (17:06 +0000)]
Eliminate groff(1) warnings.

23 years agoAdd support for probing the keyboard from pxeboot which will behave
ps [Thu, 30 Nov 2000 14:55:10 +0000 (14:55 +0000)]
Add support for probing the keyboard from pxeboot which will behave
exactly the same as passing -P to boot2.

Submitted by: jhb

23 years agoFormat string paranoia. This should avoid potential buffer overflows from
will [Thu, 30 Nov 2000 13:56:19 +0000 (13:56 +0000)]
Format string paranoia.  This should avoid potential buffer overflows from
user input (in its ever-broadening definition).

Obtained from: NetBSD

23 years agoAdd more environment variables to be filtered through scrub_env().
asmodai [Thu, 30 Nov 2000 13:14:54 +0000 (13:14 +0000)]
Add more environment variables to be filtered through scrub_env().
Synched from normal telnet.

23 years agoString paranoia fix. Synched from normal telnet.
asmodai [Thu, 30 Nov 2000 13:10:01 +0000 (13:10 +0000)]
String paranoia fix.  Synched from normal telnet.

23 years agoBackout rev 1.2 (this paper is in me(7) not in ms(7) format),
ru [Thu, 30 Nov 2000 13:07:14 +0000 (13:07 +0000)]
Backout rev 1.2 (this paper is in me(7) not in ms(7) format),
eliminate remaining groff(1) warnings.

23 years agoAdd make.conf(5).
nik [Thu, 30 Nov 2000 12:10:18 +0000 (12:10 +0000)]
Add make.conf(5).

23 years agoString paranoia. Merged from regular telnet.
asmodai [Thu, 30 Nov 2000 10:55:25 +0000 (10:55 +0000)]
String paranoia.  Merged from regular telnet.

23 years agoIf the transfer timed out, but we don't know how large the file is supposed
des [Thu, 30 Nov 2000 10:08:22 +0000 (10:08 +0000)]
If the transfer timed out, but we don't know how large the file is supposed
to be, assume it was truncated.

23 years agoThe osf1 utility has not been installed since rev 1.5 of
sheldonh [Thu, 30 Nov 2000 08:20:42 +0000 (08:20 +0000)]
The osf1 utility has not been installed since rev 1.5 of
src/sys/modules/osf1/Makefile, so don't use it here!

23 years agoRetire the osf1(8) utility. The Makefile hasn't installed this critter
sheldonh [Thu, 30 Nov 2000 08:16:19 +0000 (08:16 +0000)]
Retire the osf1(8) utility.  The Makefile hasn't installed this critter
for a while.

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

23 years agoAdd commentary about shared SASL files versus sendmail compilation.
gshapiro [Thu, 30 Nov 2000 05:34:53 +0000 (05:34 +0000)]
Add commentary about shared SASL files versus sendmail compilation.

Submitted by: Scot W. Hetzel <hetzels@westbend.net>

23 years agoDon't use p->p_sigstk.ss_flags to keep state of whether the
marcel [Thu, 30 Nov 2000 05:23:49 +0000 (05:23 +0000)]
Don't use p->p_sigstk.ss_flags to keep state of whether the
process is on the alternate stack or not. For compatibility
with sigstack(2) state is being updated if such is needed.

We now determine whether the process is on the alternate
stack by looking at its stack pointer. This allows a process
to siglongjmp from a signal handler on the alternate stack
to the place of the sigsetjmp on the normal stack. When
maintaining state, this would have invalidated the state
information and causing a subsequent signal to be delivered
on the normal stack instead of the alternate stack.

PR: 22286

23 years agoIncrease NKPT from 17 to 30. This fixes the 4GB ram boot panic on both
peter [Thu, 30 Nov 2000 01:53:02 +0000 (01:53 +0000)]
Increase NKPT from 17 to 30.  This fixes the 4GB ram boot panic on both
-current and RELENG_4 with GENERIC.

NKPT is the number of initial bootstrap page table pages we create for
the kernel during startup. Once VM is up, we resize it as needed, but
with 4G ram, the size of the vm_page_t structures was pushing it over
the limit.  The fact that trimmed down kernels boot on 4G ram machines
suggests that we were pretty close to the edge.

The "30" is arbitary, but smaller than the 'nkpt' variable on all
machines that I checked.

23 years agoFix up priority propagation:
jhb [Thu, 30 Nov 2000 00:51:16 +0000 (00:51 +0000)]
Fix up priority propagation:
- Use a better test for determining when a process is running.
- Convert some checks to assertions.
- Remove unnecessary tests.
- Save the priority before acquiring a mutex rather than in msleep(9).

23 years agoMake use of the full screen width to display p_comm rather than assuming a
jhb [Wed, 29 Nov 2000 23:03:02 +0000 (23:03 +0000)]
Make use of the full screen width to display p_comm rather than assuming a
hardcoded screen width of 80 chars.

23 years agoLose an extra paragraph break.
dannyboy [Wed, 29 Nov 2000 21:44:46 +0000 (21:44 +0000)]
Lose an extra paragraph break.

PR: 23179
Submitted by: Jimmy Olgeni <olgeni@uli.it>

23 years agoIntroduce a 'mtxname' keyword that displays the current mutex that a
jhb [Wed, 29 Nov 2000 21:09:21 +0000 (21:09 +0000)]
Introduce a 'mtxname' keyword that displays the current mutex that a
process is blocked on or '-'.

23 years agoI didn't maintain the "chs" ordering. Rather the bug was in print_part().
obrien [Wed, 29 Nov 2000 20:22:47 +0000 (20:22 +0000)]
I didn't maintain the "chs" ordering.  Rather the bug was in print_part().

Requested by: bde.

23 years agoDisplay the name of the mutex we are blocked on in the state field. To
jhb [Wed, 29 Nov 2000 20:22:34 +0000 (20:22 +0000)]
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>

23 years agoSet p_mtxname when blocking on a mutex and clear it when waking up.
jhb [Wed, 29 Nov 2000 20:17:15 +0000 (20:17 +0000)]
Set p_mtxname when blocking on a mutex and clear it when waking up.

23 years agoSave a copy of p_mtxname in e_mtxname when creating an eproc.
jhb [Wed, 29 Nov 2000 20:14:50 +0000 (20:14 +0000)]
Save a copy of p_mtxname in e_mtxname when creating an eproc.

23 years ago- Add a p_mtxname field to proc which points to the description of the
jhb [Wed, 29 Nov 2000 20:10:54 +0000 (20:10 +0000)]
- 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.

23 years agoThis fixes several problems with CIS as suggested by Justin Gibbs:
jon [Wed, 29 Nov 2000 19:38:25 +0000 (19:38 +0000)]
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

23 years agoo Add a PATH statement to the beginning of make-localhost, making it
rwatson [Wed, 29 Nov 2000 19:19:06 +0000 (19:19 +0000)]
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>

23 years agoUse an atomic operation with an appropriate memory barrier when releasing
jhb [Wed, 29 Nov 2000 18:41:19 +0000 (18:41 +0000)]
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.

23 years agoThe sched_lock mutex goes after the sio mutex in the locking order since
jhb [Wed, 29 Nov 2000 18:38:14 +0000 (18:38 +0000)]
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.

23 years agoSave the line number and filename of the last mtx_enter operation for
jhb [Wed, 29 Nov 2000 18:37:01 +0000 (18:37 +0000)]
Save the line number and filename of the last mtx_enter operation for
spin locks.  We already do this for sleep locks.

23 years agoDon't drop Giant and the passed in mutex incorrectly in the
jhb [Wed, 29 Nov 2000 18:32:50 +0000 (18:32 +0000)]
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.

23 years agoOops, broke CIS reading from ROM on my last commit.
jon [Wed, 29 Nov 2000 16:08:01 +0000 (16:08 +0000)]
Oops, broke CIS reading from ROM on my last commit.
This should fix it.

23 years agoCall MSCHAP CHAP80 in ``show lcp'' so that it's consistent with CHAP81.
brian [Wed, 29 Nov 2000 15:47:35 +0000 (15:47 +0000)]
Call MSCHAP CHAP80 in ``show lcp'' so that it's consistent with CHAP81.

23 years agoFix stdbool.h to actually work as advertised.
asmodai [Wed, 29 Nov 2000 14:41:00 +0000 (14:41 +0000)]
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

23 years agoXref make.conf(5), and point to /usr/share/doc/psd/12.make for the
nik [Wed, 29 Nov 2000 14:40:02 +0000 (14:40 +0000)]
Xref make.conf(5), and point to /usr/share/doc/psd/12.make for the
tutorial paper.

23 years agoTypo police.
nik [Wed, 29 Nov 2000 14:27:20 +0000 (14:27 +0000)]
Typo police.

23 years agoMerged from sys/i386/i386/userconfig.c revision 1.185.
kato [Wed, 29 Nov 2000 12:31:13 +0000 (12:31 +0000)]
Merged from sys/i386/i386/userconfig.c revision 1.185.

23 years agoEliminate groff(1) warnings.
ru [Wed, 29 Nov 2000 10:56:59 +0000 (10:56 +0000)]
Eliminate groff(1) warnings.

23 years agoRemove the ibcs2(8) shell script.
sheldonh [Wed, 29 Nov 2000 10:46:14 +0000 (10:46 +0000)]
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.

23 years agoDecommission the svr4(8) shell script, which has been pointless since
sheldonh [Wed, 29 Nov 2000 10:40:53 +0000 (10:40 +0000)]
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.

23 years agoEliminate groff(1) warnings caused by vgrind(1).
ru [Wed, 29 Nov 2000 10:32:51 +0000 (10:32 +0000)]
Eliminate groff(1) warnings caused by vgrind(1).

23 years agoLooks like my last round of suggestions didn't make it in. Fix invalid
sheldonh [Wed, 29 Nov 2000 10:29:28 +0000 (10:29 +0000)]
Looks like my last round of suggestions didn't make it in.  Fix invalid
cross-references.

23 years agoAdd streams(4) and svr4(4) to man4.i386 Makefile (yes, I know this should
newton [Wed, 29 Nov 2000 09:53:22 +0000 (09:53 +0000)]
Add streams(4) and svr4(4) to man4.i386 Makefile (yes, I know this should
have happened with the last commit).

23 years agoIntroduce svr4(4) and streams(4).
newton [Wed, 29 Nov 2000 09:50:11 +0000 (09:50 +0000)]
Introduce svr4(4) and streams(4).

Reviewed by: sheldonh

23 years agoEliminate groff(1) warnings.
ru [Wed, 29 Nov 2000 08:51:24 +0000 (08:51 +0000)]
Eliminate groff(1) warnings.

23 years agoEliminate ``number register `.U' not defined'' groff(1) warnings.
ru [Wed, 29 Nov 2000 08:36:36 +0000 (08:36 +0000)]
Eliminate ``number register `.U' not defined'' groff(1) warnings.

23 years agoNew release note items: realpath(1), file(1) contribify-ed, stty(1)
bmah [Wed, 29 Nov 2000 07:03:36 +0000 (07:03 +0000)]
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.

23 years agoFix a typo and a punctuation mistake, the two of which conspired
sheldonh [Wed, 29 Nov 2000 06:55:13 +0000 (06:55 +0000)]
Fix a typo and a punctuation mistake, the two of which conspired
against the reader.

23 years agodocument O_NOFOLLOW and O_FSYNC flags to open
alfred [Wed, 29 Nov 2000 04:08:49 +0000 (04:08 +0000)]
document O_NOFOLLOW and O_FSYNC flags to open

23 years agoOnly print out APIC info on an SMP system during a panic if APIC_IO is
jhb [Wed, 29 Nov 2000 01:33:15 +0000 (01:33 +0000)]
Only print out APIC info on an SMP system during a panic if APIC_IO is
defined.

23 years agoDon't wait forever for CPUs to stop or restart. Instead, give up after a
jhb [Tue, 28 Nov 2000 23:52:36 +0000 (23:52 +0000)]
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.

23 years agoUse atomic ops to close a race condition on the in_Debugger variable used
jhb [Tue, 28 Nov 2000 23:15:44 +0000 (23:15 +0000)]
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.

23 years agoPrefix the register argument of indirect 'jmp's with a * to make gas 2.10.x
jhb [Tue, 28 Nov 2000 22:59:14 +0000 (22:59 +0000)]
Prefix the register argument of indirect 'jmp's with a * to make gas 2.10.x
happy.

23 years agoUse only the bit after the ``\'' when hashing the challenge in
brian [Tue, 28 Nov 2000 22:50:40 +0000 (22:50 +0000)]
Use only the bit after the ``\'' when hashing the challenge in
MSChapv2

Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>

23 years agoThe parameter that contains valid options is "optstring", not "optarg".
mph [Tue, 28 Nov 2000 22:06:17 +0000 (22:06 +0000)]
The parameter that contains valid options is "optstring", not "optarg".

23 years agoAdd the 'amr' control device.
msmith [Tue, 28 Nov 2000 21:53:42 +0000 (21:53 +0000)]
Add the 'amr' control device.

23 years ago(Last commit accidentally missed a message)
msmith [Tue, 28 Nov 2000 20:51:52 +0000 (20:51 +0000)]
(Last commit accidentally missed a message)

Remove some over-zealous debugging code.

23 years agoRemove some over-
msmith [Tue, 28 Nov 2000 20:51:04 +0000 (20:51 +0000)]
Remove some over-

23 years agoFix typos and layout problem.
ben [Tue, 28 Nov 2000 20:38:20 +0000 (20:38 +0000)]
Fix typos and layout problem.

PR: 23109
Submitted by: Jimmy Olgeni <olgeni@uli.it>

23 years agoKernel support for erase2 character.
jkh [Tue, 28 Nov 2000 20:03:23 +0000 (20:03 +0000)]
Kernel support for erase2 character.

Submitted by: Rui Pedro Mendes Salgueiro <rps@mat.uc.pt>

23 years agoAdd support for an "erase2" so that both ^H and DEL can be used
jkh [Tue, 28 Nov 2000 19:48:06 +0000 (19:48 +0000)]
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>

23 years agoDocument removal of DEC3000-series and SLIP support from the mfsroot image.
wilko [Tue, 28 Nov 2000 19:29:07 +0000 (19:29 +0000)]
Document removal of DEC3000-series and SLIP support from the mfsroot image.

Submitted by: obrien

23 years ago MFS:
msmith [Tue, 28 Nov 2000 19:28:22 +0000 (19:28 +0000)]
 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.

23 years agoEliminate groff(1) warnings.
ru [Tue, 28 Nov 2000 19:26:53 +0000 (19:26 +0000)]
Eliminate groff(1) warnings.

23 years ago-Wall cleaning
charnier [Tue, 28 Nov 2000 18:18:56 +0000 (18:18 +0000)]
-Wall cleaning

23 years agoRemove .Op when arg is required (special | filesystem). Document that at
charnier [Tue, 28 Nov 2000 18:17:15 +0000 (18:17 +0000)]
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 ...'.

23 years agoRemove unused #include. Use getopt(3). Add usage() with syslog(3) cap.
charnier [Tue, 28 Nov 2000 18:15:25 +0000 (18:15 +0000)]
Remove unused #include. Use getopt(3). Add usage() with syslog(3) cap.

23 years agoMake enumerated list for flags. Spelling.
charnier [Tue, 28 Nov 2000 18:11:06 +0000 (18:11 +0000)]
Make enumerated list for flags. Spelling.

23 years ago-Wall cleaning. Use getopt(3).
charnier [Tue, 28 Nov 2000 18:09:08 +0000 (18:09 +0000)]
-Wall cleaning. Use getopt(3).

23 years agoEliminate groff(1) and tbl(1) warnings.
ru [Tue, 28 Nov 2000 17:05:25 +0000 (17:05 +0000)]
Eliminate groff(1) and tbl(1) warnings.

23 years agoOops, broke newcard because I forgot to commit this in my last round of changes to...
jon [Tue, 28 Nov 2000 15:50:13 +0000 (15:50 +0000)]
Oops, broke newcard because I forgot to commit this in my last round of changes to pccbb.c

23 years agouse ``config auto "wi" ?'' for MELCO/WLI-PCM-L11
sanpei [Tue, 28 Nov 2000 14:11:49 +0000 (14:11 +0000)]
use ``config auto "wi" ?'' for MELCO/WLI-PCM-L11

Submitted by: susumu.wakabayashi@ntt.com

23 years agoAdd ``enable/disable tcpmssfixup'', defaulting to enabled.
brian [Tue, 28 Nov 2000 13:18:35 +0000 (13:18 +0000)]
Add ``enable/disable tcpmssfixup'', defaulting to enabled.

Suggested by: julian
Hijacked from: ru (ports/net/tcpmssd)

23 years agovarious typo and minor punctuation changes.
ben [Tue, 28 Nov 2000 11:35:14 +0000 (11:35 +0000)]
various typo and minor punctuation changes.

PR: 23111
Submitted by: Jimmy Olgeni <olgeni@uli.it>

23 years agoEliminate groff(1) warnings, unbind from tbl(1).
ru [Tue, 28 Nov 2000 11:32:03 +0000 (11:32 +0000)]
Eliminate groff(1) warnings, unbind from tbl(1).

23 years ago${GRIND} implies -f.
ru [Tue, 28 Nov 2000 11:18:02 +0000 (11:18 +0000)]
${GRIND} implies -f.

23 years agoAdd LIBCRYPT to DPADD.
marcel [Tue, 28 Nov 2000 07:24:15 +0000 (07:24 +0000)]
Add LIBCRYPT to DPADD.

Implied by: bde

23 years agoReduce code duplication by using the GET_RESOURCE_LIST bus method and related
mdodd [Tue, 28 Nov 2000 07:12:12 +0000 (07:12 +0000)]
Reduce code duplication by using the GET_RESOURCE_LIST bus method and related
generic resource_list management functions.

I'll deal with the EISA bits later.

Not objected to by:  new-bus

23 years agoAlter the return value and arguments of the GET_RESOURCE_LIST bus method.
mdodd [Tue, 28 Nov 2000 06:49:15 +0000 (06:49 +0000)]
Alter the return value and arguments of the GET_RESOURCE_LIST bus method.
Alter consumers of this method to conform to the new convention.
Minor cosmetic adjustments to bus.h.

This isn't of concern as this interface isn't in use yet.

23 years agoDon't include system-specific header files for userland program.
grog [Tue, 28 Nov 2000 06:38:53 +0000 (06:38 +0000)]
Don't include system-specific header files for userland program.

Discovered by default by: alfred

23 years agoAvoid hardcoding the 'rid' and 'type' of the MEM/IOPORT resource.
mdodd [Tue, 28 Nov 2000 06:17:32 +0000 (06:17 +0000)]
Avoid hardcoding the 'rid' and 'type' of the MEM/IOPORT resource.
Store the 'rid' and 'type' in the softc and use them in mlx.c:mlx_free().

EISA and MCA front ends will require this.

Approved by:  msmith

23 years ago1) When mucking with mapping registers, it is best to *not* have
jon [Tue, 28 Nov 2000 00:52:40 +0000 (00:52 +0000)]
1) When mucking with mapping registers, it is best to *not* have
   io or memory space access enabled.  This patch defers the setting
   of these bits until after all of the mapping registers are probed.
   It might be even better to defer this until a particular mapping
   is activated and to disable that type of access when a new
   register is activated.

2) The PCI spec is very explicit about how mapping registers and
   the expansion ROM mapping register should be probed.  This patch
   makes cardbus_add_map() follow the spec.

3) The PCI spec allows a device to use the same address decoder for
   expansion ROM access as is used for memory mapped register access.
   This patch carefully enables and disables ROM access along with
   resource (de)activiation.

This doesn't include the prefetching detection stuff (maybe later when code is written to actually turn on prefetching).  It also does not use the PCI definitions (yet, I'll try to put this in all at once later)

Submitted by: Justin T. Gibbs

23 years agooverhaul cis functions to read cis tuple by tuple (instead of all at once).
jon [Tue, 28 Nov 2000 00:08:18 +0000 (00:08 +0000)]
overhaul cis functions to read cis tuple by tuple (instead of all at once).
Also fix incorrect parsing of BAR.

23 years agoA bunch of newcard/cardbus changes that's been sitting in my tree for a while:
jon [Tue, 28 Nov 2000 00:05:20 +0000 (00:05 +0000)]
A bunch of newcard/cardbus changes that's been sitting in my tree for a while:

- Make pccbb/cardbus kld loadable and unloadable.
- Make pccbb/cardbus use the power interface from pccard instead of inventing its own.
- some other minor fixes

23 years agoPatch to use M_ZERO
jon [Mon, 27 Nov 2000 23:55:19 +0000 (23:55 +0000)]
Patch to use M_ZERO

Submitted by: David Malone

23 years agoUse callout_reset instead of timeout(9). Most callouts are statically
jake [Mon, 27 Nov 2000 22:52:31 +0000 (22:52 +0000)]
Use callout_reset instead of timeout(9).  Most callouts are statically
allocated, 2 have been added to struct proc for setitimer and sleep.

Reviewed by: jhb, jlemon

23 years agoDrop Giant around the mi_switch() call in yield().
jhb [Mon, 27 Nov 2000 18:48:13 +0000 (18:48 +0000)]
Drop Giant around the mi_switch() call in yield().

Submitted by: tegge

23 years agoEliminate groff(1) warnings.
ru [Mon, 27 Nov 2000 18:16:24 +0000 (18:16 +0000)]
Eliminate groff(1) warnings.

23 years agoEliminate groff(1) warnings.
ru [Mon, 27 Nov 2000 18:00:51 +0000 (18:00 +0000)]
Eliminate groff(1) warnings.