jdolecek
84e86b0dce
use nointr allocator for shmmap_entry_pool - this is always accessed
...
from process context
2004-10-17 11:23:16 +00:00
jdolecek
0154132fed
constify handlers[]
2004-10-17 11:04:39 +00:00
kent
3b95460806
no need to restore AC97_REG_EXT_AUDIO_CTRL value on resuming
...
because ac97_codec_if_vtbl::restore_ports() does it.
2004-10-17 09:10:28 +00:00
kent
bac58e9eff
add support for suspending/resuming.
...
patch provided by Rhialto in PR#26432
2004-10-17 08:46:39 +00:00
kent
8e74ad23a5
make sure of readiness of an AC'97 codec by writing a value and
...
reading it. There is a codec which is not operational just
after power states become ready.
PR#26457
2004-10-17 08:20:15 +00:00
heas
b72b95e31d
bitmask_snprintf() returns char *, not void.
2004-10-17 04:09:23 +00:00
christos
ed27e77c16
Bring back ALLOW_MEMIO change that was lost between 1.38 and 1.39. This
...
change reportedly makes the driver work on macppc. There must be a better
way of doing this (based on the chip revision?).
2004-10-17 01:10:44 +00:00
christos
6a5f6766d4
Make a commented out print statement compile and avoid wrapped lines.
...
No functional change.
2004-10-16 22:52:37 +00:00
he
cee1a3e3d0
Add mention of the xetc set; configuration files for X which could be
...
locally modified.
2004-10-16 21:29:03 +00:00
cube
b5856520ff
Back out previous commit. PIDGET() must be used with a ptid_t, and the
...
functions that were modified by the previous commit were already passed
the result of PIDGET. Whatever was intended, it must be re-done
correctly.
2004-10-16 21:17:51 +00:00
bouyer
9281c0205b
Add the VScom serial adapters. Bump date.
2004-10-16 18:10:31 +00:00
kent
e61cc9d9a5
add code to recognize sync-pipe audio stream.
...
The code is not enabled yet.
2004-10-16 18:08:50 +00:00
christos
211a72de86
Add WARNS=3
2004-10-16 18:07:16 +00:00
bouyer
4c45710493
Add the dual-serial VScom PCI-200 adapter. Tested by Jukka Salmi.
2004-10-16 18:05:19 +00:00
heinz
b804d8c240
Remove trailing argument list from #undef of divrnd macro to enable build
...
with gcc3 and -Werror.
2004-10-16 14:43:40 +00:00
jdolecek
3b6adcdea1
kill the indirection via struct shm_handle and store pointer to the uvm
...
object direct to _shm_private; the indirection doesn't serve any
useful purpose and just wastes memory and cpu cycles
2004-10-16 13:34:07 +00:00
dsl
81c71a86b4
Make compile with WARNS=3
2004-10-16 13:20:10 +00:00
dsl
8cc827516a
Remove used variable
2004-10-16 12:52:30 +00:00
dsl
ca03792fbe
Remove _erase_ch() it isn't used any more
2004-10-16 12:49:14 +00:00
dsl
43dde40d82
Put spaces either side of '|' for clarity ('|' looks too much like 'I' or 'l')
2004-10-16 11:11:04 +00:00
dan
e541469606
teach rcmd about getport move in rsh directory
2004-10-16 09:58:38 +00:00
christos
e4ff3093af
remove unused variable
2004-10-16 07:36:08 +00:00
snj
60a7c7cacc
Fix two trailing xrefs and kill an unnecessary argument to Nm.
2004-10-16 06:01:52 +00:00
snj
32eca9407f
New sentence, new line; use .Dq instead of ``''.
2004-10-16 05:44:59 +00:00
dsainty
9a582784d5
Bump date for -n description
2004-10-16 04:38:53 +00:00
dsainty
d01162a3bc
Added -n option, which tests for a present core but doesn't write it
...
to disk or clear it (does 'nothing').
http://mail-index.netbsd.org/tech-userlevel/2004/10/09/0000.html
2004-10-16 04:29:27 +00:00
dsainty
4b46224291
Added -n option, which tests for a present core but doesn't write it
...
to disk or clear it (does 'nothing').
http://mail-index.netbsd.org/tech-userlevel/2004/10/09/0000.html
2004-10-16 03:48:15 +00:00
christos
d9d5b79249
- Fix bug in port parsing code; s_port must be in network byte order.
...
- Factor out port parsing code and add error checking to it.
- WARNS=3
2004-10-16 02:03:54 +00:00
enami
226c6eda62
Make vmstat -s prints:
...
- uvmexp.pdre{anon,file,exec}.
- real number of namecache stats.
2004-10-15 21:29:03 +00:00
enami
740cc023cc
Rewrite the loop without using useless SIMPLEQ_FOREACH macro.
2004-10-15 21:25:04 +00:00
salo
61948d78ec
Correct the omission in 're-enter' verification method addition in EXAMPLES.
2004-10-15 15:25:14 +00:00
enami
461001f32f
Fix some typos.
2004-10-15 15:19:02 +00:00
enami
b07577d748
Don't break line at the space since it is not a word separator but
...
an example of space character.
2004-10-15 15:07:54 +00:00
he
b0a1d8f11d
Increase the pmax ramdisk size with 100KB, so that the contents
...
fits again.
2004-10-15 15:06:37 +00:00
skrll
de13910b03
Revert previous. set_statvfs_info needs the struct proc * arg.
...
Problem noted by Tom Ivar Helbekkmo on current-users
2004-10-15 09:09:09 +00:00
daniel
84a34aedec
Add vm.bufcache, vm.bufmem, vm.bufmem_lowater, m.bufmem_hiwater (PR misc/27247, misc/27233).
2004-10-15 08:47:16 +00:00
thorpej
11103d1865
No longer need <sys/disk.h>
2004-10-15 07:22:02 +00:00
thorpej
99e5d764c1
- Eliminate the need to call disk_init().
...
- disk_count needs to be protected with disklist_slock, too.
2004-10-15 07:19:01 +00:00
thorpej
f8335cf6c2
Don't initialize ttylist or tty_count in tty_init().
2004-10-15 07:15:39 +00:00
thorpej
fae7cbfa65
rf_find_raid_components():
...
- If DIOCGDINFO failed with ENOTTY, don't print an error message; wedges
don't support that ioctl. Clean up the error message.
- If DIOCGDINFO fails, don't proceed to examine an invalid disklabel
structure.
2004-10-15 06:41:35 +00:00
thorpej
32ca684d72
match_harddisk(): Open RAW_PART, not the booted partition; we're
...
only performing the ioctl to fetch the disklabel.
2004-10-15 06:18:47 +00:00
thorpej
0b0e09815e
Update config_attach_pseudo() example.
2004-10-15 04:51:48 +00:00
thorpej
c7dc2875d8
Don't need to use config_makeroom() here.
2004-10-15 04:48:24 +00:00
thorpej
ffb78793fc
Use config_attach_pseudo() to create device instances in the device
...
tree for created wedges. This is necessary for setroot().
2004-10-15 04:42:09 +00:00
thorpej
45bba4e135
Change config_attach_pseudo() to take a cfdata * that contains the
...
necessary information to create the pseudo-device instance. Pseudo-device
device's will reference this cfdata, just as normal devices reference
their corresponding cfdata.
Welcome to 2.99.10.
2004-10-15 04:38:36 +00:00
enami
d5e42fa312
- Don't change the matching logic.
...
- Prepare to describe a card which has NULL CIS string.
- Factor out common code.
- Deal with malloc return value.
2004-10-15 00:48:53 +00:00
enami
d10ffa8c6e
Don't change the logic when simplifing code; a OR was changed to AND
...
and a test was removed but they shouldn't be changed.
2004-10-15 00:25:06 +00:00
bouyer
43d3408b53
In auxio_blink(), only toggle the AUXIO_LED_LED bit, don't clear the others.
...
It looks like bit 3 control the on-board le's link test, clearing it breaks
the interface (no link detected on the remote end). bit 3 is defined as
AUXIO4M_LTE (link-test enable) for sun4m systems (maybe all the AUXIO4M_*
bits are valid on the Ultra/1 too ?).
Tested on Ultra/1 and Ultra/5, approved by Martin Husemann and Matthew Green.
Should fix port-sparc64/25039 by Lubomir Sedlacik.
2004-10-14 17:58:06 +00:00
wiz
331fa8e963
Bump date for "ADDI-DATA APCI-7800 8-port serial adapter" support.
2004-10-14 10:51:28 +00:00
yamt
1c2a2dcad3
move i/o schedulers to their own files.
...
namely, from kern/subr_disk.c to kern/bufq_{fcfs,disksort,readprio,priocscan}.c.
2004-10-14 05:12:28 +00:00