jmcneill
5045be0e4d
Restore IDE and UDMA timings on resume for the PIIX4.
2006-06-17 17:05:20 +00:00
jmcneill
7efa3ff635
Restore the device activity PCI configuration registers on resume.
2006-06-17 17:04:44 +00:00
xtraeme
be705fc9c7
Support for the 24/32bit timer in the AMD 768 Power Management
...
Controller, to try it use `sysctl -w kern.timecounter.hardware=amdpm`.
From OpenBSD.
2006-06-17 15:05:15 +00:00
simonb
62496a150d
LCD and PCMCIA address info is chip-specific and not board-specific.
...
Remove them from here.
2006-06-17 14:42:54 +00:00
tsutsui
0d19f25f87
Fix typo and a function name in panic message.
2006-06-17 14:11:16 +00:00
tsutsui
0b8cd19c9e
Remove extern from function declarations.
2006-06-17 14:10:28 +00:00
rjs
58b3f82903
Rename IPL_IMP to IPL_VM, needed for CardBus support.
2006-06-17 12:44:52 +00:00
xtraeme
4adbe74d71
s/SATA/Serial ATA/
2006-06-17 08:10:17 +00:00
xtraeme
87cdb22404
Enable support for NVIDIA MCP04 and MCP55 IDE/SATA Controllers, tested
...
by rillig with MCP55.
2006-06-17 08:03:14 +00:00
yamt
7d3142aa6a
- introduce vfs_composefh() and use it where appropriate.
...
- fix lock/unlock mismatch in sys_getfh.
2006-06-17 07:06:50 +00:00
yamt
7b37f4549b
sysctl_security_setidcorename: don't allocate MAXPATHLEN bytes on stack.
2006-06-17 06:54:58 +00:00
tsutsui
e595d713a2
- strncpy -> strlcpy
...
- 16 -> sizeof(foo)
2006-06-16 23:56:58 +00:00
jmcneill
6d05bd66ec
Add powerhook to restore IRQ routing on resume.
2006-06-16 23:04:25 +00:00
jmcneill
2689ddd4e7
Enable the piixpcib(4) device driver by default. This enabled speedstep as
...
well as sufficient powerhooks to resume from ACPI S3 suspend.
2006-06-16 22:13:35 +00:00
jmcneill
686aef2890
Restore standard PCI configuration registers as well as PIRQX route control
...
registers on the PIIX4. This fixes up interrupt routing, and makes ACPI S3
suspend/resume work on my Sony Vaio.
2006-06-16 22:10:36 +00:00
msaitoh
134f8ab1f2
fix the MAC address of the second port of the 82571
2006-06-16 15:51:04 +00:00
kent
363d80df38
check return values of azalia_init_corb() and azalia_init_rirb()
...
a part of PR#33741
2006-06-16 12:16:58 +00:00
simonb
8323964d84
Move ksyms to the "miscellaneous pseudo-devices" - it's not a wscons
...
thing.
2006-06-16 06:41:13 +00:00
gdamore
62f92aeef1
Rename local variable "time" to "mytime" to avoid a conflict with a kernel
...
global. Makes it compile again. :-)
2006-06-16 00:08:28 +00:00
gdamore
800f1efe25
Make this cross-compile on Solaris, by wrapping the #include of sys/endian.h
...
with a test for #ifndef HAVE_NBTOOL_CONFIG_H.
2006-06-15 23:06:48 +00:00
heinz
de1fde5e06
Regen (LSI SAS, parallel SCSI and FC devices).
2006-06-15 21:45:58 +00:00
heinz
df6be90af3
Added information about LSI's SAS, parallel SCSI and FC adapters (from LSI's
...
Linux driver package and http://pciids.sourceforge.net/ ).
2006-06-15 21:42:15 +00:00
reinoud
faf56850ba
Regen due to addition of MosChip Semiconductors MCS7830 Ethernet adapter
2006-06-15 20:33:33 +00:00
reinoud
b541e8386a
Add MosChip Semiconductor MCS 7830 Ethernet adaptor
2006-06-15 20:30:24 +00:00
garbled
aa0bc147ae
A bit of clock rototill. It's safer to detect things known by the
...
residual with the pnpbus probes, than it is to do it with raw isa probes,
so I've replaced the isa mkclock and mcclock code with a pnpbus attachment.
While writing the mkclock code, I realized that on motorola prep machines
the mkclock uses the same port range as the nvram part. (it's actually
the same chip/part). This was causing the nvram not to work on those
machines. Now the nvram code will recognize this, and wire up the
mkclock as well. The mkclock probe is just a stub probe used to
pre-detect the fact that this is one of those machines.
2006-06-15 18:15:32 +00:00
jmcneill
d651f09fd7
Regen.
2006-06-15 18:09:14 +00:00
jmcneill
fe984d2ec9
Do not restore task registers in wakecode.
2006-06-15 18:07:58 +00:00
jmcneill
66bdce4546
EXPERIMENTAL: Add sysctl for triggering ACPI sleep. This interface is not
...
stable, so do not depend on it!
To trigger sleep:
# sysctl -w machdep.sleep_state=<n>
Where <n> is typically 1 (standby), 3 (suspend), or 4 (hibernate).
2006-06-15 18:05:08 +00:00
tsutsui
ec9a7dcbfd
- don't forget to set _dm_vmspace in BUS_DMA_ALLOCNOW case
...
- also set ARC_DMAMAP_COHERENT hint in the case if buf is in KSEG1
(I'm not sure if ALLOCNOW is worth for linear buffer, i.e. nsegs=1 case)
2006-06-15 17:06:19 +00:00
kent
1d63fe65d9
Fix a bug that AUDIO_MIXER_READ returns an incorrect
...
mixer_ctrl_t::un.value.num_channels in the case of the
combination of a mono pin and a stereo mixer.
2006-06-15 16:11:15 +00:00
kent
208b312076
support for a converter group of which members have
...
non-identical bits_rates.
2006-06-15 16:08:13 +00:00
mlelstv
30f5c7acb7
Correct timeout computation. Fixes kern/33740.
2006-06-15 15:42:42 +00:00
uwe
414eb19c42
Nothing in this file needs <sys/time.h>
2006-06-14 19:56:49 +00:00
uwe
7132388a3f
Get strcpy prototype from libkern.h, not string.h
2006-06-14 19:46:46 +00:00
uwe
2931d193fd
G/c struct ofbus_softc. Last use (in sys/arch/powerpc/powerpc/ofw_machdep.c)
...
has perished long ago along with vestiges of dk_establish.
2006-06-14 19:42:34 +00:00
he
ab1ad64ac0
Make this file compile again by using the appropriate types, casts
...
and functions.
2006-06-14 14:18:44 +00:00
tsutsui
c41536fb3f
Call pcn_reset() in pcn_shutdown() so that my 7248 (prep) firmware
...
can netboot even after reboot without powercycle.
2006-06-14 13:30:35 +00:00
grant
b1dcde428f
regen.
2006-06-14 02:33:28 +00:00
grant
a2c28a5a0a
QLogic is the correct writing, not "Q Logic".
2006-06-14 02:33:01 +00:00
grant
ae05dda255
add QLogic QLA200 fibre channel card.
2006-06-14 02:32:38 +00:00
dyoung
5174aa84b6
The UID_MAX limit is not enforced by syscalls such as setreuid(2),
...
so I remove the assertion uid >= 0 && uid <= UID_MAX. This squashes
a bug where Quagga would panic my machine by passing a UID outside
the range [0, UID_MAX].
AFAICT, this restores the historical (pre-kauth) behavior.
It is likely that GIDs do not satisfy the assertion gid >= 0 &&
gid <= GID_MAX, so remove that, too.
Patch from elad.
2006-06-13 22:56:46 +00:00
he
fe98fdf977
Regenerate after fixing the getpriority syscall definition.
2006-06-13 22:24:34 +00:00
he
e100449f69
We need the argument structure for the getpriority syscall defined, so
...
change NOARGS to STD.
2006-06-13 22:23:03 +00:00
ginsbach
d05e0bc3e8
Add EAFNOSUPPORT as a possible error if the address family is not
...
supported. This adds further differentiation between which argument to
socket(2) caused the error. No longer are invalid domain (address family)
errors classified as ENOPROTOSUPPORT errors. This should make socket(2)
conform to current POSIX and X/Open standards. Fixes PR/33676.
2006-06-13 21:19:56 +00:00
rpaulo
f07f5178b6
Initialize the mixer delta value to 8 for the 1370 version. No
...
objections in tech-kern.
2006-06-13 21:03:04 +00:00
freza
dc25af75d0
Merge multiple definitions of cntlzw() ("count leading zeros")
...
instruction-wrapper to <powerpc/cpu.h>.
OK by briggs@
2006-06-13 18:24:37 +00:00
dogcow
ef6f10f99b
...and since amd64 doesn't actually have enhanced speedstep (yet!), only
...
include the opt file on i386.
2006-06-13 17:37:06 +00:00
dogcow
9bdd85d12c
we need opt_enhanced_speedstep.h to get whether ENHANCED_SPEEDSTEP is defined.
2006-06-13 17:30:05 +00:00
perry
6b3d64621c
edit a couple of new items so that they fit on a line and do the tab
...
to space dance so that they can be cleanly commented out.
2006-06-13 17:17:15 +00:00
christos
9d7289ea69
change 20 to NZERO; pointed out by mrg.
2006-06-13 16:54:56 +00:00