CVS commit: src/sys/dev/acpi

2010-04-15 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr 15 07:02:24 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi.c acpi_acad.c acpi_bat.c acpi_button.c
acpi_lid.c acpi_tz.c acpivar.h asus_acpi.c dalb_acpi.c smbus_acpi.c
sony_acpi.c thinkpad_acpi.c vald_acpi.c valz_acpi.c
src/sys/dev/acpi/wmi: wmi_acpi.c

Log Message:
As discussed with jmcneill@, install a global "bus notification handler"
that receives all notifications and deliver notifications to drivers via it.

Besides making the code more compact, this has several benefits:

  * Minimizes the direct interaction with ACPICA and provides a
central place that easier to audit.

  * Drivers do not need to wonder what type of notification handler
(ACPI_SYSTEM_NOTIFY or ACPI_DEVICE_NOTIFY) is appropriate.

  * As the "bus" handles the events, individual drivers do not need to guess
that EBUSY is the right thing to do when removal of the notify handler
fails upon detach.

  * This catches also "bus-specific" events. While these remain to be
unhandled, these are required for things like PCI hotplug and docking.

  * Drivers can not go and claim handles they do not own.

  * This makes it easier to catch unhandled events.


To generate a diff of this commit:
cvs rdiff -u -r1.174 -r1.175 src/sys/dev/acpi/acpi.c
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/acpi/acpi_acad.c
cvs rdiff -u -r1.99 -r1.100 src/sys/dev/acpi/acpi_bat.c
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/acpi/acpi_button.c
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/acpi/acpi_lid.c
cvs rdiff -u -r1.64 -r1.65 src/sys/dev/acpi/acpi_tz.c
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/acpi/acpivar.h
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/acpi/asus_acpi.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/acpi/dalb_acpi.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/acpi/smbus_acpi.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/acpi/sony_acpi.c
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/acpi/thinkpad_acpi.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/acpi/vald_acpi.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/valz_acpi.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/acpi/wmi/wmi_acpi.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/man4

2010-04-15 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr 15 08:28:41 UTC 2010

Modified Files:
src/share/man/man4: cgd.4

Log Message:
Small markup changes.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man4/cgd.4

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-04-15 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr 15 08:40:46 UTC 2010

Modified Files:
src/share/man/man9: cardbus.9 intro.9 pcmcia.9

Log Message:
Remove references to the deprecated powerhook_establish(9).


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man9/cardbus.9
cvs rdiff -u -r1.12 -r1.13 src/share/man/man9/intro.9
cvs rdiff -u -r1.17 -r1.18 src/share/man/man9/pcmcia.9

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



CVS commit: src/share/man/man4

2010-04-15 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Apr 15 09:56:56 UTC 2010

Modified Files:
src/share/man/man4: cgd.4

Log Message:
Leave space as usual after Nm.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man4/cgd.4

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-04-15 Thread Adam Hoka
Module Name:src
Committed By:   ahoka
Date:   Thu Apr 15 10:40:53 UTC 2010

Modified Files:
src/sys/dev/usb: ukbdmap.c

Log Message:
Hungarian keymap for usb keyboards.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/usb/ukbdmap.c

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



CVS commit: src/usr.bin/config

2010-04-15 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Apr 15 12:35:57 UTC 2010

Modified Files:
src/usr.bin/config: mkdevsw.c

Log Message:
output __arraycount instead of homegrown macro


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/config/mkdevsw.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/alpha/pci

2010-04-15 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Apr 15 13:02:13 UTC 2010

Modified Files:
src/sys/arch/alpha/pci: apecs.c apecsvar.h

Log Message:
Share some attention with apecs(4).
 - Convert to CFATTACH_DECL_NEW().
 - Sprinkle static on functions.
 - Recycle now-empty-and/or-unused softc structures.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/alpha/pci/apecs.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/alpha/pci/apecsvar.h

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



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

2010-04-15 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Thu Apr 15 13:13:57 UTC 2010

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

Log Message:
Add acpitz.
Enable MFS.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/ia64/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/arch/hp700/hp700

2010-04-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Apr 15 14:33:22 UTC 2010

Modified Files:
src/sys/arch/hp700/hp700: mainbus.c

Log Message:
printf -> aprint_normal


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/hp700/hp700/mainbus.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/hp700/hp700

2010-04-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Apr 15 14:34:25 UTC 2010

Modified Files:
src/sys/arch/hp700/hp700: mainbus.c

Log Message:
KNF


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/hp700/hp700/mainbus.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/raidframe

2010-04-15 Thread Greg Oster
Module Name:src
Committed By:   oster
Date:   Thu Apr 15 15:49:00 UTC 2010

Modified Files:
src/sys/dev/raidframe: rf_raid1.c

Log Message:
Fill in param[3] for succedents for bad disk 'i' rather than '0'.  Fortunately, 
nbad is never > 1, so this bug never showed up anywhere.  Bug spotted by Jed 
Davis.  Thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/raidframe/rf_raid1.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/iscsi

2010-04-15 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Thu Apr 15 18:21:29 UTC 2010

Added Files:
src/external/bsd/iscsi: mkdist

Log Message:
Add mkdist to build a distribution tarball based on the one in netpgp


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/bsd/iscsi/mkdist

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-04-15 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Apr 15 20:46:08 UTC 2010

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

Log Message:
will it include, that is the question

(to everyone's disappointment on some archs it didn't)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/kern/kern_syscall.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/iscsi

2010-04-15 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Thu Apr 15 20:56:32 UTC 2010

Modified Files:
src/external/bsd/iscsi/dist/src/lib: Makefile.am Makefile.in
src/external/bsd/iscsi/lib: shlib_version

Log Message:
Add --version-info libtool flag so that libiscsi.so major/minor can be kept
in sync with that in shlib_version.
Add a note in shlib_version as a reminder to update lib/Makefile.am (and
from there lib/Makefile.in).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/iscsi/dist/src/lib/Makefile.am \
src/external/bsd/iscsi/dist/src/lib/Makefile.in
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/iscsi/lib/shlib_version

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



CVS commit: src/distrib/utils/sysinst

2010-04-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Apr 15 22:55:15 UTC 2010

Modified Files:
src/distrib/utils/sysinst: mbr.c

Log Message:
The 16bit "bootmenu valid" magic is slightly week, collisions have been
seen in the wild. So, before accepting arbitrary strings from there,
validate at least slightly and ignore if the entries are not properly
0 terminated or contain controll characters.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/distrib/utils/sysinst/mbr.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/pci

2010-04-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 16 01:40:42 UTC 2010

Modified Files:
src/sys/dev/pci: if_iwn.c if_iwnreg.h if_iwnvar.h

Log Message:
Update with newer version from Sverre Froyen


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/dev/pci/if_iwn.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/if_iwnreg.h
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/if_iwnvar.h

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



CVS commit: src/external/intel-fw-public

2010-04-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 16 01:43:08 UTC 2010

Modified Files:
src/external/intel-fw-public: Makefile
src/external/intel-fw-public/iwl4965: Makefile
src/external/intel-fw-public/iwl5000: Makefile
src/external/intel-fw-public/iwl5000/dist: LICENSE.iwlwifi-5000-ucode
README.iwlwifi-5000-ucode
Added Files:
src/external/intel-fw-public/iwl4965/dist: iwlwifi-4965-2.ucode
src/external/intel-fw-public/iwl5000/dist: iwlwifi-5000-2.ucode
src/external/intel-fw-public/iwl5150: Makefile
src/external/intel-fw-public/iwl5150/dist: LICENSE.iwlwifi-5150-ucode
README.iwlwifi-5150-ucode iwlwifi-5150-2.ucode
Removed Files:
src/external/intel-fw-public/iwl4965/dist: iwlwifi-4965-1.ucode
src/external/intel-fw-public/iwl5000/dist: iwlwifi-5000-1.ucode

Log Message:
Update to the latest firmware.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/intel-fw-public/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl4965/Makefile
cvs rdiff -u -r1.2 -r0 \
src/external/intel-fw-public/iwl4965/dist/iwlwifi-4965-1.ucode
cvs rdiff -u -r0 -r1.1 \
src/external/intel-fw-public/iwl4965/dist/iwlwifi-4965-2.ucode
cvs rdiff -u -r1.2 -r1.3 src/external/intel-fw-public/iwl5000/Makefile
cvs rdiff -u -r1.1 -r1.2 \
src/external/intel-fw-public/iwl5000/dist/LICENSE.iwlwifi-5000-ucode \
src/external/intel-fw-public/iwl5000/dist/README.iwlwifi-5000-ucode
cvs rdiff -u -r1.1 -r0 \
src/external/intel-fw-public/iwl5000/dist/iwlwifi-5000-1.ucode
cvs rdiff -u -r0 -r1.1 \
src/external/intel-fw-public/iwl5000/dist/iwlwifi-5000-2.ucode
cvs rdiff -u -r0 -r1.1 src/external/intel-fw-public/iwl5150/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/intel-fw-public/iwl5150/dist/LICENSE.iwlwifi-5150-ucode \
src/external/intel-fw-public/iwl5150/dist/README.iwlwifi-5150-ucode \
src/external/intel-fw-public/iwl5150/dist/iwlwifi-5150-2.ucode

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/base

2010-04-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 16 01:45:33 UTC 2010

Modified Files:
src/distrib/sets/lists/base: mi

Log Message:
new if_iwn firmware.


To generate a diff of this commit:
cvs rdiff -u -r1.860 -r1.861 src/distrib/sets/lists/base/mi

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-04-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 16 01:52:54 UTC 2010

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

Log Message:
fix dmesg printing.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/dev/acpi/acpi_bat.c
cvs rdiff -u -r1.65 -r1.66 src/sys/dev/acpi/acpi_tz.c

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-04-15 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri Apr 16 02:57:15 UTC 2010

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

Log Message:
Remove mclpool_allocator, which is unnecessary since mb_map removal.


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/sys/kern/uipc_mbuf.c

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



CVS commit: src/sys/netinet

2010-04-15 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri Apr 16 03:13:03 UTC 2010

Modified Files:
src/sys/netinet: tcp_input.c

Log Message:
tcp_input: set ECE flag even if CWR flag is active.
Submitted by Richard Scheffenegger in PR/43150.


To generate a diff of this commit:
cvs rdiff -u -r1.302 -r1.303 src/sys/netinet/tcp_input.c

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



CVS commit: src/sys

2010-04-15 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri Apr 16 03:21:49 UTC 2010

Modified Files:
src/sys/kern: kern_synch.c
src/sys/sys: sched.h
src/sys/uvm: uvm_extern.h uvm_glue.c uvm_meter.c

Log Message:
- Merge sched_pstats() and uvm_meter()/uvm_loadav().  Avoids double loop
  through all LWPs and duplicate locking overhead.

- Move sched_pstats() from soft-interrupt context to process 0 main loop.
  Avoids blocking effect on real-time threads.  Mostly fixes PR/38792.

Note: it might be worth to move the loop above PRI_PGDAEMON.  Also,
sched_pstats() might be cleaned-up slightly.


To generate a diff of this commit:
cvs rdiff -u -r1.280 -r1.281 src/sys/kern/kern_synch.c
cvs rdiff -u -r1.71 -r1.72 src/sys/sys/sched.h
cvs rdiff -u -r1.162 -r1.163 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.144 -r1.145 src/sys/uvm/uvm_glue.c
cvs rdiff -u -r1.51 -r1.52 src/sys/uvm/uvm_meter.c

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