CVS commit: src/sys/kern

2010-05-12 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Wed May 12 08:11:16 UTC 2010

Modified Files:
src/sys/kern: subr_pool.c

Log Message:
pool_{cache_}get: improve previous diagnostic by checking for panicstr,
so it wont trigger the assert while trying to dump core on crash.


To generate a diff of this commit:
cvs rdiff -u -r1.184 -r1.185 src/sys/kern/subr_pool.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/ic

2010-05-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed May 12 10:25:23 UTC 2010

Modified Files:
src/sys/dev/ic: gem.c

Log Message:
Use callout_halt() instead of callout_stop() - otherwise gem_detach() might
be too fast and run callout_destroy() while another cpu is still busy
in the callout.


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/dev/ic/gem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sparc64/conf

2010-05-12 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Wed May 12 12:26:00 UTC 2010

Modified Files:
src/sys/arch/sparc64/conf: GENERIC

Log Message:
Remove obsolete comment about a data corruption on IDE controllers
in Blade 100/Netra X1.

Workaround for a data corruption was commited as rev. 1.16 of
src/sys/dev/pci/aceride.c in 2005.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/sys/arch/sparc64/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2010-05-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 12 12:26:16 UTC 2010

Modified Files:
src/sys/dev/pci: if_iwn.c pcidevs

Log Message:
Use device names from the OpenBSD iwn driver, adding and modifying device
names as needed. From Sverre Froyen


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/pci/if_iwn.c
cvs rdiff -u -r1.1030 -r1.1031 src/sys/dev/pci/pcidevs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2010-05-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 12 12:27:08 UTC 2010

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.1027 -r1.1028 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1026 -r1.1027 src/sys/dev/pci/pcidevs_data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/comp

2010-05-12 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Wed May 12 13:15:00 UTC 2010

Modified Files:
src/distrib/sets/lists/comp: ad.arm md.shark

Log Message:
move MKDEBUG entries for libs from md.shark to ad.arm to match ../base/ad.arm


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/distrib/sets/lists/comp/ad.arm
cvs rdiff -u -r1.14 -r1.15 src/distrib/sets/lists/comp/md.shark

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/vax/vax

2010-05-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed May 12 14:43:48 UTC 2010

Modified Files:
src/sys/arch/vax/vax: genassym.cf

Log Message:
Add PSL_HIGHIPL for recent subr.S change


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/vax/vax/genassym.cf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2010-05-12 Thread Adam Hamsik
Module Name:src
Committed By:   haad
Date:   Wed May 12 15:53:20 UTC 2010

Modified Files:
src/sys/kern: kern_kthread.c

Log Message:
Fix bogus KASSERT, typo and KNFize my previous patch.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/kern/kern_kthread.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man9

2010-05-12 Thread Adam Hamsik
Module Name:src
Committed By:   haad
Date:   Wed May 12 15:54:47 UTC 2010

Modified Files:
src/share/man/man9: kthread.9

Log Message:
Document kthread_join in kthread(9).


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/share/man/man9/kthread.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2010-05-12 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed May 12 15:59:52 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi_power.c

Log Message:
Initial pass for issues observed by dyoung@ on HP Pavilion N3270. In this
laptop there is a PNP0C0B ("ACPI fan") with the following properties:

_PSC : Power state for D3 (alone).
_PR0 : Power resources for D0.
_PSx : Power state switch for D0 and D3.

Thus, it is impossible to get or set the D3 power state via power resources
alone; there is only a single PowerResource() and it is for D0.

To tackle this:

  1. Evaluate the direct _PSC control method if and only if there is no
 given _PRx. The order is important; it is known that some other
 systems implement the _PSC method (like _STA) incorrectly.

  2. If no _PRx is available (and thus no _ON or _OFF), do not error out.
 Instead, if we have AE_NOT_FOUND, continue to evaluate the power state
 switch method, _PSx, which (on this laptop) should alone suffice for
 the D0 -> D3 transition.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/acpi/acpi_power.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2010-05-12 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed May 12 16:11:05 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi.c

Log Message:
When scanning the device "capabilities" (power, wake-up, etc.),
include all device nodes, regardless of the status of the device.

XXX: It is known that some systems implement the _STA method incorrectly.
 If needed in the future, attachment based on the values from this
 method may need revisiting. Same goes for ACPI_ACTIVATE_DEV.


To generate a diff of this commit:
cvs rdiff -u -r1.194 -r1.195 src/sys/dev/acpi/acpi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/hpcsh/dev/hd64461

2010-05-12 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Wed May 12 16:41:08 UTC 2010

Modified Files:
src/sys/arch/hpcsh/dev/hd64461: hd64461uart.c

Log Message:
Fix arg of intr_establish().
  comintr() expects struct com_softc* for arg.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/hpcsh/dev/hd64461/hd64461uart.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/librump/rumpkern

2010-05-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed May 12 16:48:21 UTC 2010

Modified Files:
src/sys/rump/librump/rumpkern: intr.c

Log Message:
fix inversion: advance clock on cpu0, not the complement of cpu0


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/rump/librump/rumpkern/intr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi/acpica

2010-05-12 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed May 12 17:03:11 UTC 2010

Modified Files:
src/sys/dev/acpi/acpica: OsdSchedule.c

Log Message:
Print a warning if AcpiOsSleep() is called with a value larger than two
seconds. It is known that there are systems in the field that pass bogus AML
values to the Sleep() operation code, possibly requesting delays that could
be measured in days.

Discussed with jmcne...@.

XXX: While the used mstohz(9) is documented to round to one second if the
 passed value is larger than 131072 ms, we may still need to force a
 sensible upper limit if this warning starts to appear.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/acpi/acpica/OsdSchedule.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sandpoint/sandpoint

2010-05-12 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed May 12 17:20:24 UTC 2010

Modified Files:
src/sys/arch/sandpoint/sandpoint: eumbvar.h iic_eumb.c

Log Message:
Rewrote most of the code to make the 8245 I2C module finally work.
Tested with a RICOH RS5C372 RTC on a Synology DS-101g+ and Kurobox.
Reviewed by .


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sandpoint/sandpoint/eumbvar.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sandpoint/sandpoint/iic_eumb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/route

2010-05-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 12 17:56:13 UTC 2010

Modified Files:
src/sbin/route: keywords.c keywords.h route.8 route.c

Log Message:
PR/40455: Mihai Chelaru: Add noreject noblackhole options


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sbin/route/keywords.c
cvs rdiff -u -r1.9 -r1.10 src/sbin/route/keywords.h
cvs rdiff -u -r1.40 -r1.41 src/sbin/route/route.8
cvs rdiff -u -r1.119 -r1.120 src/sbin/route/route.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/hpcsh/dev/hd64461

2010-05-12 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Wed May 12 18:16:53 UTC 2010

Modified Files:
src/sys/arch/hpcsh/dev/hd64461: hd64461uart.c

Log Message:
Suply clock SAFECKE_[IO]ST, if platid is PERSONA.
  tested on HPW-50PA.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/hpcsh/dev/hd64461/hd64461uart.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/hpcsh/dev/hd64461

2010-05-12 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Wed May 12 18:22:36 UTC 2010

Modified Files:
src/sys/arch/hpcsh/dev/hd64461: hd64461uart.c

Log Message:
Style.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/hpcsh/dev/hd64461/hd64461uart.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libusbhid

2010-05-12 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Wed May 12 18:28:20 UTC 2010

Modified Files:
src/lib/libusbhid: data.c

Log Message:
hid_get_data() will read an extra byte if the data being read ends on
a byte boundary. This byte is subsequently discarded, but it could be
a byte from memory after the end of the report being parsed.

Fix this by rounding up and ending the loop one earlier.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libusbhid/data.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sandpoint/stand/netboot

2010-05-12 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed May 12 18:33:09 UTC 2010

Modified Files:
src/sys/arch/sandpoint/stand/netboot: brdsetup.c

Log Message:
Typo: DHB should be DMB (most significant bye, not high byte).


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/sandpoint/stand/netboot/brdsetup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libusbhid

2010-05-12 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Wed May 12 18:37:56 UTC 2010

Modified Files:
src/lib/libusbhid: usbhid.3

Log Message:
note const from actual API


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libusbhid/usbhid.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2010-05-12 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Wed May 12 18:44:49 UTC 2010

Modified Files:
src/sys/dev/usb: hid.c hid.h

Log Message:
hid_get_data() does not work if the size of data is less than
a byte and crosses a byte boundary, and it always returns a
sign-extended value.

fix this by using the algorithm from libusbhid to read bytes,
and provide a hid_get_udata() function to return unsigned data
values.

while here, const args


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/usb/hid.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/usb/hid.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/sbmips/sbmips

2010-05-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed May 12 19:11:33 UTC 2010

Modified Files:
src/sys/arch/sbmips/sbmips [matt-nb5-mips64]: sb1250_icu.c

Log Message:
Force the Watchdog interrupts to NMI and don't mask them.


To generate a diff of this commit:
cvs rdiff -u -r1.9.36.11 -r1.9.36.12 src/sys/arch/sbmips/sbmips/sb1250_icu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/route

2010-05-12 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed May 12 19:26:33 UTC 2010

Modified Files:
src/sbin/route: keywords.sh

Log Message:
Update also keywords.{c,h} generator in order to reflect latest changes.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sbin/route/keywords.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/ic

2010-05-12 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed May 12 20:58:52 UTC 2010

Modified Files:
src/sys/dev/ic: igsfb.c

Log Message:
set RI_NO_AUTO then attaching early, clear it otherwise


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/dev/ic/igsfb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/restore

2010-05-12 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Wed May 12 21:21:59 UTC 2010

Modified Files:
src/sbin/restore: symtab.c

Log Message:
Fix grammar in a line of output.
>From Hywel Mallett via FreeBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sbin/restore/symtab.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/top/dist/machine

2010-05-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 12 22:09:36 UTC 2010

Modified Files:
src/external/bsd/top/dist/machine: m_netbsd.c

Log Message:
implement fullcmd mode. Now we need to modernize the machine specific code
to handle displays > 80 columns to make this work effectively.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/top/dist/machine/m_netbsd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/net

2010-05-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu May 13 05:34:58 UTC 2010

Modified Files:
src/sys/net [matt-nb5-mips64]: route.h

Log Message:
Add RTAX_NAMES macro to initialize an array of names for RTAX_*


To generate a diff of this commit:
cvs rdiff -u -r1.70.16.1.4.1 -r1.70.16.1.4.2 src/sys/net/route.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/net

2010-05-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu May 13 05:36:49 UTC 2010

Modified Files:
src/sys/net [matt-nb5-mips64]: rtsock.c

Log Message:
Make sure all structure lengths are rounded via RT_ROUNDUP in routing messages.
This simplies the protocol since all items will now start on a RT_ROUNDUP
aligned address independent of the structure.


To generate a diff of this commit:
cvs rdiff -u -r1.115.2.4.4.1 -r1.115.2.4.4.2 src/sys/net/rtsock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/lib/libc/net

2010-05-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu May 13 05:38:16 UTC 2010

Modified Files:
src/lib/libc/net [matt-nb5-mips64]: getifaddrs.c

Log Message:
Decode the routing message using the new RT_ROUNDUP alignment restrictions.


To generate a diff of this commit:
cvs rdiff -u -r1.11.20.2 -r1.11.20.3 src/lib/libc/net/getifaddrs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/net

2010-05-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu May 13 05:51:48 UTC 2010

Modified Files:
src/sys/net [matt-nb5-mips64]: if.h

Log Message:
Add a spare int field to ifa_msghdr so its length is a multiple of 8.


To generate a diff of this commit:
cvs rdiff -u -r1.140.8.1 -r1.140.8.2 src/sys/net/if.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.