CVS commit: src/sys/arch/usermode

2012-01-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jan  3 10:53:46 UTC 2012

Modified Files:
src/sys/arch/usermode/include: machdep.h pcb.h
src/sys/arch/usermode/usermode: machdep.c trap.c

Log Message:
Fix logic that checks if its the kernel or a userland process that causes the
trap. Signal sending still needs to be addressed.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/usermode/include/machdep.h
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/usermode/include/pcb.h
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/usermode/usermode/machdep.c
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/usermode/usermode/trap.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/usermode

2012-01-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jan  3 12:05:01 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: cpu.c ld_thunkbus.c
src/sys/arch/usermode/include: thunk.h
src/sys/arch/usermode/usermode: pmap.c syscall.c thunk.c trap.c

Log Message:
Rename the debug printf's to use a thunk_ prefix to avoid confusion.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/usermode/dev/cpu.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/usermode/dev/ld_thunkbus.c
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/usermode/include/thunk.h
cvs rdiff -u -r1.89 -r1.90 src/sys/arch/usermode/usermode/pmap.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/usermode/usermode/syscall.c
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/usermode/usermode/thunk.c
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/usermode/usermode/trap.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/usermode/dev

2012-01-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jan  3 12:10:04 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Use M_WAITOK instead of M_NOWAIT for the stack allocations


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/usermode/dev/cpu.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/usermode/usermode

2012-01-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jan  3 12:16:16 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Set the total memory length to be ALL the space *before* the kernel.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/usermode/usermode/pmap.c

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



CVS commit: src/sys/ufs/ffs

2012-01-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Jan  3 15:44:00 UTC 2012

Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c

Log Message:
Display current mount point, rather than previous one, when printing
the "replaying log to disk" message.

OK dholland@

Fixes PR kern/39609


To generate a diff of this commit:
cvs rdiff -u -r1.271 -r1.272 src/sys/ufs/ffs/ffs_vfsops.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/man

2012-01-03 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Jan  3 17:49:57 UTC 2012

Modified Files:
src/usr.bin/man: man.c

Log Message:
If the default path doesn't result in a match, bail out early instead of
running into a segmentation fault. Based on patch by Abhinav Upadhyay.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/man/man.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/dev/pci

2012-01-03 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Jan  3 18:26:25 UTC 2012

Modified Files:
src/sys/dev/pci [matt-nb5-mips64]: pci_map.c

Log Message:
Only probe the upper BAR of a mem64 if the bit31 of the lower BAR isn't
writable.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.24.12.1 src/sys/dev/pci/pci_map.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/dev/pci

2012-01-03 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Jan  3 18:27:21 UTC 2012

Modified Files:
src/sys/dev/pci [matt-nb5-mips64]: ehci_pci.c

Log Message:
Only do the pci_conf_write if PCI_COMMAND_MASTER_ENABLE isn't already set.


To generate a diff of this commit:
cvs rdiff -u -r1.38.16.1.2.1 -r1.38.16.1.2.2 src/sys/dev/pci/ehci_pci.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/dev/pci

2012-01-03 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Jan  3 18:27:47 UTC 2012

Modified Files:
src/sys/dev/pci [matt-nb5-mips64]: pcidevs

Log Message:
Change XLP_RAID to XLP_DMA.


To generate a diff of this commit:
cvs rdiff -u -r1.962.4.1.4.6 -r1.962.4.1.4.7 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: [matt-nb5-mips64] src/sys/dev/pci

2012-01-03 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Jan  3 18:28:36 UTC 2012

Modified Files:
src/sys/dev/pci [matt-nb5-mips64]: pcidevs.h pcidevs_data.h

Log Message:
Regen.


To generate a diff of this commit:
cvs rdiff -u -r1.963.4.1.4.6 -r1.963.4.1.4.7 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.962.4.1.4.6 -r1.962.4.1.4.7 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/external/bsd/openpam/dist/lib

2012-01-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan  3 18:56:50 UTC 2012

Modified Files:
src/external/bsd/openpam/dist/lib: openpam_check_owner_perms.c
openpam_configure.c openpam_dynamic.c openpam_ttyconv.c

Log Message:
don't use %m in openpam_log, because it does not necessarily call syslog()
to process the message.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/openpam/dist/lib/openpam_check_owner_perms.c \
src/external/bsd/openpam/dist/lib/openpam_configure.c
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/openpam/dist/lib/openpam_dynamic.c \
src/external/bsd/openpam/dist/lib/openpam_ttyconv.c

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



CVS commit: src/lib/libpam/modules

2012-01-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan  3 19:02:55 UTC 2012

Modified Files:
src/lib/libpam/modules/pam_chroot: pam_chroot.c
src/lib/libpam/modules/pam_exec: pam_exec.c
src/lib/libpam/modules/pam_ftpusers: pam_ftpusers.c
src/lib/libpam/modules/pam_lastlog: pam_lastlog.c
src/lib/libpam/modules/pam_login_access: login_access.c
src/lib/libpam/modules/pam_ssh: pam_ssh.c

Log Message:
avoid using %m in format.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libpam/modules/pam_chroot/pam_chroot.c
cvs rdiff -u -r1.5 -r1.6 src/lib/libpam/modules/pam_exec/pam_exec.c
cvs rdiff -u -r1.5 -r1.6 src/lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
cvs rdiff -u -r1.13 -r1.14 src/lib/libpam/modules/pam_lastlog/pam_lastlog.c
cvs rdiff -u -r1.5 -r1.6 \
src/lib/libpam/modules/pam_login_access/login_access.c
cvs rdiff -u -r1.20 -r1.21 src/lib/libpam/modules/pam_ssh/pam_ssh.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/usermode

2012-01-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jan  3 21:28:50 UTC 2012

Modified Files:
src/sys/arch/usermode/conf: GENERIC.i386 std.usermode
src/sys/arch/usermode/include: vmparam.h
src/sys/arch/usermode/usermode: pmap.c trap.c

Log Message:
Rework NetBSD/usermode pmap fixing some oddities that were left over from
earlier times when we were forced to run PIE executables and were forced to
use a KVM above the kernel.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/usermode/conf/GENERIC.i386
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/usermode/conf/std.usermode
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/usermode/include/vmparam.h
cvs rdiff -u -r1.91 -r1.92 src/sys/arch/usermode/usermode/pmap.c
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/usermode/usermode/trap.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/rasops

2012-01-03 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue Jan  3 23:13:59 UTC 2012

Modified Files:
src/sys/dev/rasops: rasops.h

Log Message:
add a macro to identify alpha fonts


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/rasops/rasops.h

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



CVS commit: src/sys/dev/rasops

2012-01-03 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue Jan  3 23:15:11 UTC 2012

Modified Files:
src/sys/dev/rasops: rasops32.c

Log Message:
split putchar method into one for alpha fonts and one for bitmap fonts


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/rasops/rasops32.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/dev/pci

2012-01-03 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan  4 00:10:40 UTC 2012

Modified Files:
src/sys/dev/pci [matt-nb5-mips64]: ehci_pci.c usb_pci.h

Log Message:
Take changes from matt-nb5-pq3 which fixes how multiple ehci functions
on a pci device claim companion ohci controllers.


To generate a diff of this commit:
cvs rdiff -u -r1.38.16.1.2.2 -r1.38.16.1.2.3 src/sys/dev/pci/ehci_pci.c
cvs rdiff -u -r1.5 -r1.5.18.1 src/sys/dev/pci/usb_pci.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/dev/usb

2012-01-03 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan  4 00:11:13 UTC 2012

Modified Files:
src/sys/dev/usb [matt-nb5-mips64]: files.usb usb_mem.c

Log Message:
Merge USB_FRAG_DMA_WORKAROUND from matt-nb5-pq3 branch.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.90.12.1 src/sys/dev/usb/files.usb
cvs rdiff -u -r1.37 -r1.37.14.1 src/sys/dev/usb/usb_mem.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/mips/alchemy/dev

2012-01-03 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Wed Jan  4 02:36:26 UTC 2012

Modified Files:
src/sys/arch/mips/alchemy/dev: aupcmcia.c auspi.c

Log Message:
Use device_t instead of 'struct device *'.
Remove unnecessary \n.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/mips/alchemy/dev/aupcmcia.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mips/alchemy/dev/auspi.c

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



CVS commit: src/sys/ufs/lfs

2012-01-03 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Wed Jan  4 02:48:58 UTC 2012

Modified Files:
src/sys/ufs/lfs: lfs_vfsops.c

Log Message:
lfs_writerd thread exits when no more LFSs are mounted.


To generate a diff of this commit:
cvs rdiff -u -r1.292 -r1.293 src/sys/ufs/lfs/lfs_vfsops.c

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



CVS commit: src/distrib

2012-01-03 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Wed Jan  4 03:43:34 UTC 2012

Modified Files:
src/distrib: Makefile

Log Message:
Build in 'utils' subdir before building miniroot, or the MD bits.
When making changes to 'sysinst', for example, one would expect them
reflected in the generated installers.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/distrib/Makefile

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

2012-01-03 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Jan  4 07:56:35 UTC 2012

Modified Files:
src/sys/dev/pci: r128fb.c

Log Message:
split putchar into separate methods for bitmap and alpha fonts, use
FONT_IS_ALPHA()


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/pci/r128fb.c

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