Commit Graph

73326 Commits

Author SHA1 Message Date
simonb
83cddbc21f Flesh out some comments in the incomplete "smart" version of
mips_user_cacheflush().
2004-10-21 03:15:13 +00:00
matt
2fefa174c9 Make panic messages print out what condition they though was panic-worthy
instead of a 1 word message.
2004-10-20 22:10:31 +00:00
xtraeme
4db3ca891c Add another case to match "PCI_PRODUCT_AMD_SC761_SC" (AMD761 System
Controller) in agp_amd_match().

Ok'ed by christos@
2004-10-20 21:47:13 +00:00
kent
3f642d7b30 mixer item for a selctor should start with "sel" not "fea" 2004-10-20 13:48:32 +00:00
martti
b0dbe06f9f Regen for DELL PERC 4e/Si 2004-10-20 10:50:12 +00:00
martti
ef476ebd05 Added support for DELL PERC 4e/Si RAID controller 2004-10-20 10:48:47 +00:00
scw
ea99c85462 Add dmoverio 2004-10-20 10:08:34 +00:00
thorpej
42b8fac3b8 Move boot device detection code from i386 and amd64 ports to x86_autoconf.c.
Rename i386_alldisks and x86_64_alldisks to x86_alldisks, adjust other
references to compensate.
2004-10-20 04:20:05 +00:00
lukem
58e9698928 enable ipw* (Intel PRO/Wireless 2100). (requested by hubertf) 2004-10-19 05:44:25 +00:00
uwe
e9f575c48c First step towards bus_space - wrap register accesses into macros.
Same object code is generated.
2004-10-19 02:12:21 +00:00
uwe
4866d0ee50 KNF cosmetic. Same object code is generated.
Use continue for explicit empty loop body.
Use for (;;) instead of while (1).
Fix an indentation glitch.
2004-10-19 00:10:33 +00:00
itojun
75259d166c ip6_flow_seq is no longer available. 2004-10-18 01:43:43 +00:00
heas
4cec10fd22 Adjust/add a few comments and add defines for PCS (aka GEM_MII) FSM and
interrupt registers.
drop some trailing WS.

no functional changes.
2004-10-17 21:49:08 +00:00
bouyer
ccd16ca6dc Adjust some debug printfs after b_bcount was changed from long to int.
From Patrick Welche on current-users@
2004-10-17 17:49:04 +00:00
jdolecek
f5254bdba7 ldioctl(): fix typo in check for lockmgr() return value introduced
with the wedge support, which caused premature return and left dk_openlock
locked, leading to lockmgr() panic on close; newfs of ld disk now works again
2004-10-17 17:02:48 +00:00
jdolecek
fc0a76f17c fix comment - LK_NOWAIT, not LK_WAIT 2004-10-17 16:06:00 +00:00
jdolecek
065df3bb84 fix typo (missing &) 2004-10-17 11:24:42 +00:00
jdolecek
84e86b0dce use nointr allocator for shmmap_entry_pool - this is always accessed
from process context
2004-10-17 11:23:16 +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
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
kent
e61cc9d9a5 add code to recognize sync-pipe audio stream.
The code is not enabled yet.
2004-10-16 18:08:50 +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
43dde40d82 Put spaces either side of '|' for clarity ('|' looks too much like 'I' or 'l') 2004-10-16 11:11:04 +00:00
enami
740cc023cc Rewrite the loop without using useless SIMPLEQ_FOREACH macro. 2004-10-15 21:25:04 +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
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
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
mhitch
5760e71352 The gcc3 compiler optimized away writing character data to the Cirrus chip,
which results in a blank display - making it rather difficult to do an
install or upgrade when using a Cirrus-based display.  Change the pointer
used to write the character and attribute to volatile.  The console screen
now shows data and is usable.
2004-10-14 04:14:26 +00:00
enami
10f8fdf7dd Redo previous two commit a bit different way;
- Just read as much as we can.
- Handle some special tuples.
2004-10-14 03:24:00 +00:00
snj
ce44fe4282 Fix some comment typos and a spelling error. 2004-10-14 01:45:54 +00:00
christos
2634ff1b14 PR/27255: Nikos Ntarmos: PCMCIA NIC with blank CIS tuples crashes the kernel
Simplify the code for readability.
2004-10-14 00:17:12 +00:00
gavan
0560d8b947 Initial import of iyonix port.
The Iyonix is a desktop machine from Castle Technology, based on a 600MHz
XScale[tm] 80321 processor.

* Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible.
* Currently boots multiuser with a serial console.
* Device support is not yet complete.

With help from abs.
2004-10-13 23:28:34 +00:00
christos
7e7288c064 Bounds check signal number. 2004-10-13 23:21:41 +00:00