Commit Graph

81652 Commits

Author SHA1 Message Date
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
skd
99e52fdeb8 include kauth.h
workaround a gcc4 warning.
2006-06-13 16:23:57 +00:00
riz
a06a21e5d3 Prototype for tvtohz() is no longer needed here. 2006-06-13 15:57:15 +00:00
riz
58d052216c Remove implementation of tvtohz() - since the timecounters branch
was merged, this is now in sys/kern/kern_clock.c .
2006-06-13 15:43:04 +00:00
kent
39140597bf * generic_mixer_default()
set the default pin direction depending on the pin's device, not color
2006-06-13 14:38:01 +00:00
kent
32d7370ad8 ALC882:
- add usingdac and usingadc
 - remove alc882_init_widget() because it has no effect any more
2006-06-13 14:29:21 +00:00
kent
8b818d700b - always prints the codec index in dmesg
- add missing \n
2006-06-13 14:20:09 +00:00
yamt
f7c7538921 use KAUTH_PROCESS_CANSEE rather than CURTAIN where appropriate. 2006-06-13 13:57:33 +00:00
yamt
f755e9e9b8 remove unnecessary arguments from kauth_authorize_process.
ie. make it similar to the one found in apple TN.
2006-06-13 13:56:50 +00:00
yamt
4602c1be73 sysctl_unpcblist: don't abuse kauth_authorize_process for non-process object. 2006-06-13 13:52:39 +00:00
yamt
c1e6396657 sysctl_kern_file, sysctl_kern_file2: don't abuse kauth_authorize_process
for non-process objects.
2006-06-13 13:52:06 +00:00
tsutsui
04595a48c6 Before calling the handler of timer at isa for hardclock(9),
clear MIPS_SR_INT_IE in struct clockframe status to prevent
unintentional spllowersoftclock(9) in hardclock(9).
This may be required because current CLKF_BASEPRI() implementation
of NetBSD/arc doesn't check ICU_MASK and all ISA devices share
the same MIPS CPU INT2 interrupt.

BTW, has anyone tried IPL_ICU_MASK on any mips ports?
2006-06-13 13:51:31 +00:00
yamt
52e88e8188 sysctl_kern_file2: fix an indent. 2006-06-13 13:23:03 +00:00
yamt
9606b0accf uvm_swapin: process -> lwp in a comment. 2006-06-13 13:22:06 +00:00
simonb
5e13eca2c0 tvtohz() compat function isn't needed now we have timecounters. 2006-06-13 03:58:12 +00:00
christos
c037525f2c Don't allocate > 1K on the stack 2006-06-13 02:39:11 +00:00
christos
430ad9c2a9 don't allocate > 1K on the stack. 2006-06-13 02:31:28 +00:00
christos
5ed3dd2fe3 don't allocate > 1K on the stack. 2006-06-13 02:08:20 +00:00
christos
199372b21f prevent uninitialized variable. 2006-06-13 01:59:59 +00:00
oster
8c090abdfc Do the "don't allocate > 1K on the stack" thing for raidioctl(). 2006-06-12 22:49:35 +00:00
christos
92d441e0ee don't allocate > 1K on the stack. 2006-06-12 22:02:45 +00:00