Poul-Henning Kamp
678735da39
Change the registration of magic spaces so it does its own memory management.
...
Sponsored by: DARPA & NAI Labs.
2002-06-05 20:30:36 +00:00
Justin T. Gibbs
17d2475554
Enter the ahd driver which supports the Adaptec AIC7902 Ultra320, PCI-X
...
SCSI Controller chip.
2002-06-05 19:52:45 +00:00
Justin T. Gibbs
b42d4bf17d
Add the 160MHz syncrate to scsi_calc_syncrate() sync period exception table.
2002-06-05 19:10:57 +00:00
Justin T. Gibbs
2ac1f53476
scsi_message.h:
...
Include PPR option bits defined in SPI4.
scsi_iu.h:
Add data structures releated to parallel SCSI information units
for use in SPI4 packetized protocol.
2002-06-05 19:05:01 +00:00
Justin T. Gibbs
7102c89a86
Allow DB_SET() to set all fields in the ddb command structure. This
...
allows external ddb commands to do anyting an internal command can
do, including non-standard argument parsing if desired.
2002-06-05 19:00:02 +00:00
Doug Ambrisko
e94c058ad1
Add device id. for fxp chip on Intel D845EPT2L boards. This seems to
...
make the onboard NIC work.
Sponsored by: Vernier Networks
MFC after: 1 day
2002-06-05 18:34:08 +00:00
Jake Burkholder
a41c3573fa
Use pmap_map instead of pmap_kenter to map the message buffer. Its too
...
early for pmap_kenter.
2002-06-05 15:36:57 +00:00
Thomas Moestl
c883a66af1
Don't treat statistics counter wrap-overs as errors.
2002-06-05 15:21:44 +00:00
Poul-Henning Kamp
080ef30b20
Add explicit dependency on ufsread.c
2002-06-05 12:30:45 +00:00
Poul-Henning Kamp
af53575a04
Remove UFS related #includes, they're read in ufsread.c now.
2002-06-05 12:12:25 +00:00
Poul-Henning Kamp
3795d538a8
Make sparc64 share ufsread.c with i386.
...
Sponsored by: DARPA & NAI Labs.
2002-06-05 12:00:53 +00:00
Poul-Henning Kamp
7cbccd7f79
Avoid entering IOCCC with a memcpy turned bcopy.
2002-06-05 11:56:12 +00:00
Poul-Henning Kamp
6b8fc95f49
Indent this file more like style(9).
...
Sponsored by: DARPA & NAI Labs.
2002-06-05 11:20:37 +00:00
Poul-Henning Kamp
833468e219
Preparation for UFS2 commit:
...
Factor the ufs reading code out of the i386/boot2 loader so it can
be reused by for instance sparc64.
Sponsored by: DARPA and NAI Labs.
2002-06-05 11:10:38 +00:00
Mike Barcroft
8375a2c466
Remove the deprecated 4.2/4.3BSD wait union.
2002-06-05 02:21:01 +00:00
John Baldwin
6a95e08f2f
Replace thread_runnable() with thread_running() as the latter is more
...
accurate.
Suggested by: julian
2002-06-04 22:36:24 +00:00
John Baldwin
7fcca6096f
Optimize the adaptive mutex spin a bit. Use a simple while loop with
...
simple reads (and on IA32, a "pause" instruction for each interation of the
loop) to spin until either the mutex owner field changes, or the lock owner
stops executing.
Suggested by: tanimura
Tested on: i386
2002-06-04 21:53:48 +00:00
John Baldwin
5853d37d3b
Add a private thread_runnable() macro to make the code more readable and
...
make the KSE diff easier to maintain.
2002-06-04 21:50:02 +00:00
Jake Burkholder
e7dc92f0f9
Bump TSB_PAGES_SHIFT to 4. Less sucks too much.
2002-06-04 19:40:45 +00:00
Matt Jacob
20120272f2
Add REPORT LUNS basic infrastructure.
2002-06-04 17:41:47 +00:00
Juli Mallett
22ed0c9ade
NODEV is defined the same in _KERNEL and !_KERNEL case, so move it out from
...
the preprocessor conditional, and remove the now-empty #else.
Reviewed by: asmodai
2002-06-04 05:48:38 +00:00
Jeff Roberson
494273bead
Add a comment describing a resource leak that occurs during a failure case
...
in obj_alloc.
2002-06-03 22:59:19 +00:00
Prafulla Deuskar
a7fabc2b60
Added support for 82545EM and 82546EB based adapters.
...
Added Vlan support.
MFC after: 1 week
2002-06-03 22:30:51 +00:00
Ian Dowse
5c97ca54e5
Use a per-device worker thread to avoid blocking in mdstrategy()
...
until the I/O completes. This fixes some easily reproducable deadlocks
that occur when using md(4) with GEOM.
Reviewed by: phk
2002-06-03 22:09:04 +00:00
Matthew N. Dodd
b20d4649f9
Quick and dirty convert to newbus. (Eventually 'eni.c' should go away.)
...
Module loads and unloads properly.
Thanks to Richard Hodges <rh@matriplex.com> for donating the hardware
to allow me to work on this driver.
2002-06-03 09:16:52 +00:00
Matthew N. Dodd
26c1165dce
Add new 'hea' driver files.
2002-06-03 09:14:12 +00:00
Matthew N. Dodd
b327025f16
Build a 'hea_pci' driver module.
2002-06-03 09:13:53 +00:00
Matthew N. Dodd
3a6cbf0164
- Add 'hea'.
...
- Compile 'hfa' only on i386 (for now).
2002-06-03 09:13:22 +00:00
Alan Cox
c5aaa06ded
o Migrate vm_map_split() from vm_map.c to vm_object.c, renaming it
...
to vm_object_split(). Its interface should still be changed
to resemble vm_object_shadow().
2002-06-02 23:54:09 +00:00
Dag-Erling Smørgrav
f16a5176ad
ANSIfy the one remaining K&R function.
2002-06-02 21:57:28 +00:00
Dag-Erling Smørgrav
e89efc02e0
Whitespace nits.
2002-06-02 21:55:58 +00:00
Dag-Erling Smørgrav
3b1f7e7de0
Add support for 'j' flag. Simplify the size modifier code and reduce code
...
duplication. Also add support for 'n' specifier.
Reviewed by: bde
2002-06-02 21:54:55 +00:00
Jens Schweikhardt
21dc7d4f57
Fix typo in the BSD copyright: s/withough/without/
...
Spotted and suggested by: des
MFC after: 3 weeks
2002-06-02 20:05:59 +00:00
Alan Cox
0d78c0dce2
o Style fixes to vm_map_split(), including the elimination of one variable
...
declaration that shadows another.
Note: This function should really be vm_object_split(), not vm_map_split().
Reviewed by: md5
2002-06-02 19:32:05 +00:00
Alan Cox
72353893d4
o Condition vm_object_pmap_copy_1()'s compilation on the kernel
...
option ENABLE_VFS_IOOPT. Unless this option is in effect,
vm_object_pmap_copy_1() is not used.
2002-06-02 06:31:41 +00:00
Alfred Perlstein
6e330f3e36
bde noticed that SOMAXCONN breaks pretty badly as an option for LINT.
...
so back it out.
2002-06-02 04:32:52 +00:00
Alan Cox
61c075b67f
o Remove GIANT_REQUIRED from vm_map_zfini(), vm_map_zinit(),
...
vm_map_create(), and vm_map_submap().
o Make further use of a local variable in vm_map_entry_splay()
that caches a reference to one of a vm_map_entry's children.
(This reduces code size somewhat.)
o Revert a part of revision 1.66, deinlining vmspace_pmap().
(This function is MPSAFE.)
2002-06-01 22:41:43 +00:00
Mike Barcroft
8ad4a5a605
Be more strict about namespaces.
...
Submitted by: wollman (mostly)
2002-06-01 21:07:10 +00:00
Alfred Perlstein
ba5a4d6c02
Backout/modify previous revision:
...
"empty default cases shouldn't be removed, they should have a break;
statement added to them."
Requested by: billf
2002-06-01 20:54:21 +00:00
Alfred Perlstein
37e1dd483d
Silence warnings, remove some empty 'default' switch cases.
2002-06-01 20:40:42 +00:00
Alfred Perlstein
f3bfd2edaf
Declare a variable sized array within a structure using [] rather than [0]
...
to silence warnings.
2002-06-01 20:40:05 +00:00
Alfred Perlstein
50225e2f48
Silence preprocessor warning, No need to use CONCAT with "," and "word".
2002-06-01 20:22:33 +00:00
Alfred Perlstein
7e743e3a41
Unbreak LINT by compensating for the
...
ng_parse_struct_info -> ng_parse_struct_field change.
2002-06-01 19:54:21 +00:00
Mike Barcroft
0658e085a7
Fix some, but not all style bugs.
2002-06-01 18:58:02 +00:00
Alfred Perlstein
47f654d3a0
Fix warnings.
...
There's no need to use concatination when you have 'something.macro_arg'.
Comment out comment following #endif.
2002-06-01 18:50:35 +00:00
Alfred Perlstein
5e8176f9cb
Get rid of warnings, there's no need to do preprocessor concatination of
...
things with commas and equal signs.
2002-06-01 18:45:33 +00:00
Mike Barcroft
6ee093fb8f
Add POSIX.1-2001 WCONTINUED option for waitpid(2). A proc flag
...
(P_CONTINUED) is set when a stopped process receives a SIGCONT and
cleared after it has notified a parent process that has requested
notification via waitpid(2) with WCONTINUED specified in its options
operand. The status value can be checked with the new WIFCONTINUED()
macro.
Reviewed by: jake
2002-06-01 18:37:46 +00:00
Bruce Evans
136956ed12
Fixed the return value of fpsetmask(). The API requires inversion of the
...
mask on both input and output to fpsetmask(), but this was only done for
input, so fpsetmask() returned the complement of the old mask (ANDed with
the mask bitfield).
PR: 38170
MFC after: 4 weeks
2002-06-01 17:39:46 +00:00
Bruce Evans
511dab6218
Fixed style bugs in rev.1.9.
2002-06-01 17:27:16 +00:00
Alan Cox
794316a866
o Revert a part of revision 1.66, contrary to what that commit message says,
...
deinlining vm_map_entry_behavior() and vm_map_entry_set_behavior()
actually increases the kernel's size.
o Make vm_map_entry_set_behavior() static and add a comment describing
its purpose.
o Remove an unnecessary initialization statement from vm_map_entry_splay().
2002-06-01 16:59:30 +00:00