Commit Graph

148002 Commits

Author SHA1 Message Date
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
gdamore
697e0bef92 Note creation of gdamore-uart branch. 2006-06-15 16:52:05 +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
tnozaki
a302e2a921 added iconv support for georgian-ps, georgian-academy. 2006-06-15 15:34:20 +00:00
ghen
339893b2fe Remove send-mail again; /usr/bin/mail no longer uses it. 2006-06-15 13:09:24 +00:00
ghen
3da129c2c7 Make mail(1) invoke "sendmail" instead of "send-mail", this is more standard.
Ok with christos.
2006-06-15 13:03:29 +00:00
skrll
f1713aebe3 Remove a hack that's no longer needed with gcc 3.3.6. 2006-06-15 10:55:02 +00:00
he
255c2c88af We don't have the <ieeefp.h> header if we're compiling for vax, so
add an ifdef around HAVE_IEEEFP_H.
2006-06-14 20:30:56 +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
ginsbach
84b3179a34 Adapt date(1), the netsettime function, to new return value from socket(2)
when the address family is unsupported.
2006-06-14 16:35:16 +00:00
ginsbach
d59a581d86 Adapt rpcbind(8) to new return value from socket(2) for unsupported
address families.
2006-06-14 16:25:17 +00:00
christos
b7414305ba Update the manual section 2006-06-14 16:23:46 +00:00
christos
3e2e64af97 Regen 2006-06-14 16:22:54 +00:00
christos
826ade140d Use /dev/tty if possible and only fall back to stdin/stderr if that is not
available like getpass(3) does.
2006-06-14 16:17:01 +00:00
liamjfoy
4511d3297e Fix PR: 26363: script core dumps on incorrect input files.
This patch virtually re-writes the playback code and contains
improvements (mainly the dependency upon BUFSIZ being the same
size as it was wrote at).

OK: christos, joerg
2006-06-14 16:05:38 +00:00
ginsbach
a697e6653a Adapt to new return value from socket(2) for an unsupported
protocol/address family.
2006-06-14 15:36:00 +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
tron
2ab5da17ce Adapt ifconfig(8) to new return value from socket(2). This stops
ifconfig(8) from printing errors like "ifconfig: socket: Address
family not supported by protocol family" when examining the status
of a network interface.
2006-06-14 11:05:42 +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
christos
2e91d940da PR/33724: Scott Ellis: Building a release with MKINET6=no stops in libisc due
to compiler warnings. Fixed misplaced and miscommented #endif
2006-06-13 22:36:36 +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
christos
f503e58dd8 PR/33723: Arthur Townsend: file command doesn't show 'executable' for
statically linked sun3 exec
2006-06-13 22:20:20 +00:00
christos
d8cec01f6f PR/33722: Scott Presnell: pppd 2.4.3 active-filter functions botched 2006-06-13 22:12:37 +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
kardel
d5b727f28d correct pointer advances broken by previous fix 2006-06-13 21:03:53 +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
ginsbach
315fde38db Sort ERRORS. Bump date. 2006-06-13 20:37:24 +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
christos
afe552b7f1 detect overflow and exit with an error. 2006-06-13 17:18:56 +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