jeff
bbd1b3ae24
- Correct the name in the header guards.
...
Spotted by: rwatson
2002-09-23 00:29:31 +00:00
scottl
95e18ba243
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
jdp
0641b68d4f
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
jdp
1b37164686
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
jdp
5e52f98750
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
iedowse
6306db0023
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
grehan
0429db7240
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
truckman
1ceb27771f
Fix misspellings, capitalization, and punctuation in comments. Minor
...
comment phrasing and style changes.
2002-09-22 08:54:17 +00:00
phk
6d7819a5d4
Move the com_scr register address definition over with the other seven.
...
Approved by: bde
2002-09-22 08:51:31 +00:00
mdodd
2ecda740f8
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
1f2a3bb92a
- Hook ALQ up to the build.
2002-09-22 07:19:37 +00:00
jeff
60f2462535
- Add options ALQ and KTR_ALQ.
2002-09-22 07:14:27 +00:00
jeff
f1712a0c27
- 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
4e382c3af5
- Tell witness about ALQ's spin lock.
2002-09-22 07:11:57 +00:00
jeff
ac508fd5a5
- 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
cd3515dad9
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
30830d4d2e
Removed unneeded include (missed in last revision).
2002-09-22 06:05:23 +00:00
jake
e54737666a
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
silby
5a1846c762
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
e8f9ac26c8
Create inlines for ltr(sel), lldt(sel), lidt(addr) rather than
...
functions that have one instruction.
2002-09-22 04:45:21 +00:00
alc
8dcc127f87
o Update some comments.
2002-09-22 04:33:43 +00:00
silby
f004ac1d6f
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
aea0aa68c7
Remove unneeded opt headers.
...
Noticed by: benno
2002-09-22 01:34:33 +00:00
mdodd
d0bd1b75a0
- 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
61bc6ef550
It's Apple GMAC, not HMAC.
...
Approved by: jake (for sparc64)
2002-09-22 01:18:06 +00:00
jake
be3bee9396
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
bde
cd941aa6fc
Whitespace fixes (mainly for many more messes in the definitions of the
...
rfork() constants).
2002-09-21 22:57:52 +00:00
jake
2b71a04b1e
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
markm
d858b4fee1
Remove #ifdef'ed Giant mutex wrappers round debugging statements.
2002-09-21 21:44:19 +00:00
nsouch
b57c1147d2
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
markm
7d834f54d0
No functional change. Fix comments and whitespace.
2002-09-21 21:40:02 +00:00
rwatson
48eceacd5b
Remove another missed trailing space.
2002-09-21 19:50:28 +00:00
alc
dd82785dd0
o Remove an initialized but unused variable from pmap_remove_all().
2002-09-21 19:42:11 +00:00
rwatson
eaf29d3807
Trim trailing whitespace from the ends of lines.
2002-09-21 19:26:59 +00:00
rwatson
8d4439455d
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
markm
0dd626d346
Wrap GNUish asm() code in #ifdef __GNUC__
2002-09-21 19:12:59 +00:00
markm
03d0f482ba
Use a function instead of a non-portable, GCC-specific asm() entry.
2002-09-21 19:03:42 +00:00
markm
6b1c92e89e
A good dose of style.9. No functional change.
2002-09-21 19:02:17 +00:00
rwatson
efd3f8f916
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
markm
138978c497
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
markm
ac87fc24a6
Use a function instead of embedding non-portable asm() constructs
...
in C code.
2002-09-21 18:51:19 +00:00
markm
e97f22de41
Sort includes.
2002-09-21 18:30:12 +00:00
rwatson
5bc8683c98
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
markm
fed5dfb239
Provide in inline function for the (GNUC) assembler "hlt" instruction.
2002-09-21 18:26:53 +00:00
markm
e51e2b450a
Wrap GCC-specific asm() code in #ifdef __GNUC__
2002-09-21 18:19:51 +00:00
mux
0456bf6b89
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
markm
62df99fb84
Constify to kill some warnings.
2002-09-21 17:29:36 +00:00
markm
40044052d8
Everywhere else, an argument passed to a device containing flags
...
is called "flags". Make it so here.
2002-09-21 17:28:17 +00:00
simokawa
d29d45a820
Firewire can be built on other than i386 after sbp.c fix.
...
Tested on: Alpha (beast.freebsd.org)
2002-09-21 15:22:09 +00:00
simokawa
1b553b95de
don't include bus_dma.h which doesn't need.
2002-09-21 15:05:22 +00:00