Matt Jacob
caec294571
If we have a 1240 or an ULTRA2 or better card, use MBOX_INIT_RES_QUEUE_A64
...
(preparation for DAC/A64 support)
2002-09-23 04:59:42 +00:00
Matt Jacob
16c5c386eb
A SCSI_DELAY of zero is a legitimate value to have.
...
The notion that you must "always" have a delay is at best misinformed.
2002-09-23 04:56:35 +00:00
Matt Jacob
78900a835d
Note that the large Hitachi's are also CAM_QUIRK_HILUNS
2002-09-23 04:55:32 +00:00
Mike Barcroft
c0d4804d67
Be careful not to define GCC-specific optimizations in the non-GCC
...
case.
2002-09-23 04:32:17 +00:00
Jeff Roberson
8c33eced01
- Correct the name in the header guards.
...
Spotted by: rwatson
2002-09-23 00:29:31 +00:00
Scott Long
c57c56c4a1
The ahc driver should only have one devclass, not one for each bus
...
attachment.
Submitted by: too many people to count
MFC after: 3 days
2002-09-22 23:03:31 +00:00
John Polstra
62f1ea9c96
Fix a couple of longstanding typos which would have made a
...
statement fail to compile if it weren't inside "#ifdef
__brokenalpha__".
Submitted by: Birger Toedtmann <birger@takatukaland.de>
MFC after: 2 weeks
2002-09-22 19:27:07 +00:00
John Polstra
ea13bdd522
Follow the lead of recent changes in the 3com Linux driver by
...
disabling memory write invalidate unconditionally. It looks like
they've decided that MWI just doesn't work with these devices.
Also, remove now-irrelevant code that set PCI write boundary values
based on the cache line size.
MFC after: 2 weeks
2002-09-22 18:58:58 +00:00
John Polstra
8287860e04
Set up the BCM570x chip's DMA Read/Write Control register more
...
correctly. This fixes the "watchdog timeout -- resetting" errors
seen on Dell 2650 systems.
MFC after: 1 month
2002-09-22 18:27:29 +00:00
Ian Dowse
ac11ad13fb
Attempt to fix the error reported by the alpha tinderbox. A pointer
...
was being cast to an integer as part of a hash function, so just
add an intptr_t cast to silence the warning.
2002-09-22 13:25:57 +00:00
Peter Grehan
a0c6726472
Initialize fwsectors/fwheads to allow the DIOCGFWSECTORS and
...
DIOCGFWHEADS ioctls to return meaningful values to disklabel/newfs
Approved by: phk
2002-09-22 10:07:18 +00:00
Don Lewis
1c4ccf09cd
Fix misspellings, capitalization, and punctuation in comments. Minor
...
comment phrasing and style changes.
2002-09-22 08:54:17 +00:00
Poul-Henning Kamp
c8423e9702
Move the com_scr register address definition over with the other seven.
...
Approved by: bde
2002-09-22 08:51:31 +00:00
Matthew N. Dodd
4a2eca23ca
Modify vm_map_clean() (and thus the msync(2) system call) to support
...
invalidation of cached pages for objects of type OBJT_DEVICE.
Submitted by: Christian Zander <zander@minion.de>
Approved by: alc
2002-09-22 08:22:32 +00:00
Jeff Roberson
5bf6b6538e
- Hook ALQ up to the build.
2002-09-22 07:19:37 +00:00
Jeff Roberson
4b124a4b8e
- Add options ALQ and KTR_ALQ.
2002-09-22 07:14:27 +00:00
Jeff Roberson
abee588b36
- Add support for logging KTR via ALQ. This is optional and enabled by the
...
KTR_ALQ config option.
2002-09-22 07:13:45 +00:00
Jeff Roberson
c76e20451c
- Tell witness about ALQ's spin lock.
2002-09-22 07:11:57 +00:00
Jeff Roberson
9405072a95
- Add an asynchronous fixed length record logging mechanism called
...
ALQ (Asynch. Logging Queues). ALQ supports many seperate queues with
different record and buffer sizes. It opens and logs to any vnode so
it can be used with character devices as well as regular files.
Reviewed in part by: phk, jake, markm
2002-09-22 07:11:14 +00:00
Jake Burkholder
95f5cd52bc
Call trap directly for exceptional cases that need more processing on
...
return to usermode, rather than branching back to a label before the
original call.
2002-09-22 06:51:41 +00:00
Jake Burkholder
98f93c07a5
Removed unneeded include (missed in last revision).
2002-09-22 06:05:23 +00:00
Jake Burkholder
e3b6e33c07
Moved netisr code from kern/kern_intr.c to net/netisr.c as threatened in a
...
comment.
2002-09-22 05:56:41 +00:00
Mike Silbersack
f8f4148236
Remove all DELAY(1) calls around MII operations in the XL driver.
...
According to the MII specification, the delay produced by our
reads alone are sufficient for correct operation.
This reduces the time mii_tick takes from 10ms to ~1ms here. That's
still a lot, but much better than before.
Submitted by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 3 weeks
2002-09-22 04:48:30 +00:00
Peter Wemm
eb1443c8dd
Create inlines for ltr(sel), lldt(sel), lidt(addr) rather than
...
functions that have one instruction.
2002-09-22 04:45:21 +00:00
Alan Cox
e94ce82689
o Update some comments.
2002-09-22 04:33:43 +00:00
Mike Silbersack
c1c36a2c68
Fix issue where shutdown(socket, SHUT_RD) was effectively
...
ignored for TCP sockets.
NetBSD PR: 18185
Submitted by: Sean Boudreau <seanb@qnx.com>
MFC after: 3 days
2002-09-22 02:54:07 +00:00
Jake Burkholder
04474d7f0b
Remove unneeded opt headers.
...
Noticed by: benno
2002-09-22 01:34:33 +00:00
Matthew N. Dodd
e58de9c6bc
- Move the init of %gs and pcb_gs before user_ldt_free().
...
- Always call load_gs()
- Trim comments.
This addresses some of the issues raised by BDE.
2002-09-22 01:32:48 +00:00
Benno Rice
be0e6bfc0b
It's Apple GMAC, not HMAC.
...
Approved by: jake (for sparc64)
2002-09-22 01:18:06 +00:00
Jake Burkholder
abc370fa85
Moved nfs_diskless setup code from autoconf.c to nfsclient/nfs_diskless.c
...
so that it is MI. Allow nfs_mountroot to return an error if the nfs_diskless
struct is not valid, rather than panicing later on. Call nfs_setup_diskless()
from nfs_mountroot if NFS_ROOT is defined, like bootpc_init(). Removed legacy
root mount support for sparc64, and enabled NFS_ROOT by default.
2002-09-22 00:59:02 +00:00
Bruce Evans
ad6c348105
Whitespace fixes (mainly for many more messes in the definitions of the
...
rfork() constants).
2002-09-21 22:57:52 +00:00
Jake Burkholder
05ba50f522
Use the fields in the sysentvec and in the vm map header in place of the
...
constants VM_MIN_ADDRESS, VM_MAXUSER_ADDRESS, USRSTACK and PS_STRINGS.
This is mainly so that they can be variable even for the native abi, based
on different machine types. Get stack protections from the sysentvec too.
This makes it trivial to map the stack non-executable for certain abis, on
machines that support it.
2002-09-21 22:07:17 +00:00
Mark Murray
a0a95acece
Remove #ifdef'ed Giant mutex wrappers round debugging statements.
2002-09-21 21:44:19 +00:00
Nicolas Souchu
44e6ce01b9
Cleanup of amdpm(4).
...
Add of NVIDIA nForce (nfpm) smbus support.
Obtained from: Thomas D. Dean <tomdean@speakeasy.org>
2002-09-21 21:43:49 +00:00
Mark Murray
b0186e2c5c
No functional change. Fix comments and whitespace.
2002-09-21 21:40:02 +00:00
Robert Watson
7678df4487
Remove another missed trailing space.
2002-09-21 19:50:28 +00:00
Alan Cox
60b09ad43c
o Remove an initialized but unused variable from pmap_remove_all().
2002-09-21 19:42:11 +00:00
Robert Watson
5784b0a22d
Trim trailing whitespace from the ends of lines.
2002-09-21 19:26:59 +00:00
Robert Watson
13763f5074
Continue cleanup and sync of mac_biba and mac_mls policies to the
...
TrustedBSD MAC Perforce tree. Remove unused functions
mac_biba_equal_range and mac_mls_equal_range, which determined if the
ranges in two range-enabled labels were equal.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-09-21 19:20:01 +00:00
Mark Murray
0a7d7bdc02
Wrap GNUish asm() code in #ifdef __GNUC__
2002-09-21 19:12:59 +00:00
Mark Murray
181cb2165a
Use a function instead of a non-portable, GCC-specific asm() entry.
2002-09-21 19:03:42 +00:00
Mark Murray
e40ab3e98e
A good dose of style.9. No functional change.
2002-09-21 19:02:17 +00:00
Robert Watson
164634351b
Remove mac_biba_high_single() check for interface renaming: we now
...
use the notion that a subject range of (low-high) connotes Biba
privilege rather than a single of high.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-09-21 19:01:44 +00:00
Mark Murray
38a4de7905
Code tidy-up. ISOfy, turn a macro into an inline for lint(1) (perhaps
...
this needs to go to cpufunc.h?), de-register.
2002-09-21 18:53:58 +00:00
Mark Murray
bebe1b92bd
Use a function instead of embedding non-portable asm() constructs
...
in C code.
2002-09-21 18:51:19 +00:00
Mark Murray
39ae7d0dc4
Sort includes.
2002-09-21 18:30:12 +00:00
Robert Watson
728fbeea52
As INVARIANTS isn't supported for code that loads only as a kernel
...
module and is not linked into the base system, two KASSERT's rotted.
Fix them by fixing variable names. It would be really nice if
opt_global.h was used when building modules as part of a buildkernel.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-09-21 18:29:37 +00:00
Mark Murray
d7ee442578
Provide in inline function for the (GNUC) assembler "hlt" instruction.
2002-09-21 18:26:53 +00:00
Mark Murray
c7c7312f2c
Wrap GCC-specific asm() code in #ifdef __GNUC__
2002-09-21 18:19:51 +00:00
Maxime Henrion
f30120c393
Don't include opt_bus.h here, it breaks stuff trying to
...
include machine/bus.h.
Reviewed by: tmm
2002-09-21 18:12:00 +00:00