CVS commit: src

2010-01-07 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Thu Jan  7 09:23:55 UTC 2010

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4: Makefile

Log Message:
Add cas(4) manual page.


To generate a diff of this commit:
cvs rdiff -u -r1.1180 -r1.1181 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.500 -r1.501 src/share/man/man4/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

2010-01-07 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Thu Jan  7 09:24:46 UTC 2010

Modified Files:
src/sys/dev: DEVNAMES

Log Message:
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


To generate a diff of this commit:
cvs rdiff -u -r1.253 -r1.254 src/sys/dev/DEVNAMES

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-01-07 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Thu Jan  7 09:25:19 UTC 2010

Modified Files:
src/sys/dev/pci: files.pci

Log Message:
Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).


To generate a diff of this commit:
cvs rdiff -u -r1.323 -r1.324 src/sys/dev/pci/files.pci

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-01-07 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Thu Jan  7 09:27:16 UTC 2010

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
Add Sun Cassini/NS Saturn devices.


To generate a diff of this commit:
cvs rdiff -u -r1.1007 -r1.1008 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-01-07 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Thu Jan  7 09:28:39 UTC 2010

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

Log Message:
Regenerate for:
  Add Sun Cassini/NS Saturn devices.


To generate a diff of this commit:
cvs rdiff -u -r1.1005 -r1.1006 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1004 -r1.1005 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

2010-01-07 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Thu Jan  7 09:30:29 UTC 2010

Modified Files:
src/share/man/man4: gphyter.4
src/sys/dev/mii: gphyter.c

Log Message:
Add DP83865 to the supported PHY list (from OpenBSD).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/gphyter.4
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/mii/gphyter.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/mii

2010-01-07 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Thu Jan  7 09:31:44 UTC 2010

Modified Files:
src/sys/dev/mii: miidevs.h

Log Message:
Regenerate for:
  Add NS DP83865


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/dev/mii/miidevs.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/sparc64/dev

2010-01-07 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Thu Jan  7 09:33:44 UTC 2010

Modified Files:
src/sys/arch/sparc64/dev: pci_machdep.c

Log Message:
Cope with up to four interrupts properties for a node.
Just use the first one for now.  This should be improved.
OK: m...@.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/sparc64/dev/pci_machdep.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-01-07 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Thu Jan  7 09:34:49 UTC 2010

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

Log Message:
Add cas, gentbi and gphyter for Sun Cassini/Cassini+ Ethernet.


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 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/lib/libc/arch/hppa/gen

2010-01-07 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Jan  7 12:31:10 UTC 2010

Modified Files:
src/lib/libc/arch/hppa/gen: _lwp.c

Log Message:
Deal with PLABELs in _lwp_makecontext


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/arch/hppa/gen/_lwp.c

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



CVS commit: src/usr.sbin/installboot

2010-01-07 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Jan  7 13:26:00 UTC 2010

Modified Files:
src/usr.sbin/installboot: ext2fs.c ffs.c fstypes.c installboot.c
installboot.h
src/usr.sbin/installboot/arch: hp300.c next68k.c

Log Message:
Add a sectorsize parameter member in struct ib_params and use it
where sector size (disk block size) is required, instead of
DEV_BSIZE constant which means device I/O block size.

Looks reasonable from dholland@, and fixes tools installboot(8)
on Cygwin where DEV_BSIZE != 512 as mentioned in PR toolchain/42555.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/installboot/ext2fs.c
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/installboot/ffs.c
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/installboot/fstypes.c
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/installboot/installboot.c
cvs rdiff -u -r1.35 -r1.36 src/usr.sbin/installboot/installboot.h
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/installboot/arch/hp300.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/installboot/arch/next68k.c

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



CVS commit: src/lib/libpuffs

2010-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan  7 18:09:07 UTC 2010

Modified Files:
src/lib/libpuffs: opdump.c puffsdump.h

Log Message:
* make indentation a little less ridiculous
* note that interfaces provided by puffsdump.h are not stable and
  are to be used only for debug builds
* remove a few unimplemented/used dump interfaces


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/libpuffs/opdump.c
cvs rdiff -u -r1.12 -r1.13 src/lib/libpuffs/puffsdump.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

2010-01-07 Thread Tobias Nygren
Module Name:src
Committed By:   tnn
Date:   Thu Jan  7 18:49:30 UTC 2010

Modified Files:
src/sys/arch/amd64/conf: GENERIC
src/sys/arch/i386/conf: ALL GENERIC XBOX XEN3_DOM0

Log Message:
uhmodem(4) is superseded by u3g(4) and u3ginit(4).
Prepare for uhmodem(4) removal by not building it anymore.
This may fix PR kern/41174.


To generate a diff of this commit:
cvs rdiff -u -r1.261 -r1.262 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.226 -r1.227 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.958 -r1.959 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/i386/conf/XBOX
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/i386/conf/XEN3_DOM0

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-01-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Jan  7 18:57:10 UTC 2010

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
Add PCH LAN and i82575


To generate a diff of this commit:
cvs rdiff -u -r1.1008 -r1.1009 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-01-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Jan  7 18:57:39 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.1006 -r1.1007 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1005 -r1.1006 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/sys/kern

2010-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan  7 19:54:40 UTC 2010

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

Log Message:
Make sure struct vattr contains no random bits of kernel memory
after vattr_null().  This is especially nice considering things
like puffs, where the contents are copied to userspace.


To generate a diff of this commit:
cvs rdiff -u -r1.392 -r1.393 src/sys/kern/vfs_subr.c

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



CVS commit: src/lib/libpuffs

2010-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan  7 20:47:48 UTC 2010

Modified Files:
src/lib/libpuffs: opdump.c puffsdump.h

Log Message:
Dump contents of struct vattr -- i never remember which members
the kernel passes when, so this helps tapping that info.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libpuffs/opdump.c
cvs rdiff -u -r1.13 -r1.14 src/lib/libpuffs/puffsdump.h

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



CVS commit: src/usr.sbin/puffs/mount_psshfs

2010-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan  7 21:05:50 UTC 2010

Modified Files:
src/usr.sbin/puffs/mount_psshfs: mount_psshfs.8 node.c psbuf.c psshfs.c
psshfs.h subr.c

Log Message:
Add -u and -g, which allow to remap one (local,remote) uidgid, i.e.
umapfs without the fuss.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/puffs/mount_psshfs/mount_psshfs.8
cvs rdiff -u -r1.59 -r1.60 src/usr.sbin/puffs/mount_psshfs/node.c
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/puffs/mount_psshfs/psbuf.c
cvs rdiff -u -r1.55 -r1.56 src/usr.sbin/puffs/mount_psshfs/psshfs.c
cvs rdiff -u -r1.38 -r1.39 src/usr.sbin/puffs/mount_psshfs/psshfs.h
cvs rdiff -u -r1.47 -r1.48 src/usr.sbin/puffs/mount_psshfs/subr.c

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



CVS commit: src/usr.sbin/puffs/mount_psshfs

2010-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan  7 21:19:45 UTC 2010

Modified Files:
src/usr.sbin/puffs/mount_psshfs: psbuf.c

Log Message:
Fix chgrp (and don't rely on VNOVAL being -1, however unlikely that
is to be broken).


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/puffs/mount_psshfs/psbuf.c

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



CVS commit: src/usr.sbin/puffs/mount_psshfs

2010-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan  7 21:23:10 UTC 2010

Modified Files:
src/usr.sbin/puffs/mount_psshfs: psshfs.c

Log Message:
Don't allow mangling of uid or gid -1, since they have a special
meaning in the sftp protocol.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.sbin/puffs/mount_psshfs/psshfs.c

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



CVS commit: src/usr.sbin/puffs/mount_psshfs

2010-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan  7 21:26:49 UTC 2010

Modified Files:
src/usr.sbin/puffs/mount_psshfs: psshfs.c

Log Message:
errx() already contains progname ...


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/usr.sbin/puffs/mount_psshfs/psshfs.c

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



re: CVS commit: src/sys/dev/pci

2010-01-07 Thread matthew green

   In article 20100107092519.c505817...@cvs.netbsd.org,
   Julian Coleman  source-changes-d@NetBSD.org wrote:
   -=-=-=-=-=-
   
   Module Name:src
   Committed By:   jdc
   Date:   Thu Jan  7 09:25:19 UTC 2010
   
   Modified Files:
   src/sys/dev/pci: files.pci
   
   Log Message:
   Add cas (Sun Cassini/Cassini+ (GigaSwift) Ethernet).
   
   It would be nice in the future, adding drivers from other OS's to use import
   for the original driver, and then commit the changes on top. Makes updating
   a lot easier.


it isn't too late...  you can cvs import the original still
and it will not merge automatically..


.mrg.


CVS commit: src/sys

2010-01-07 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Thu Jan  7 22:39:52 UTC 2010

Modified Files:
src/sys/kern: subr_autoconf.c
src/sys/sys: device.h

Log Message:
Add a do-nothing child-detachment hook, null_childdetached(device_t,
device_t).


To generate a diff of this commit:
cvs rdiff -u -r1.191 -r1.192 src/sys/kern/subr_autoconf.c
cvs rdiff -u -r1.128 -r1.129 src/sys/sys/device.h

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



CVS commit: src/distrib/notes/common

2010-01-07 Thread Guillaume Lasmayous
Module Name:src
Committed By:   gls
Date:   Thu Jan  7 22:43:00 UTC 2010

Modified Files:
src/distrib/notes/common: main

Log Message:
Add myself


To generate a diff of this commit:
cvs rdiff -u -r1.454 -r1.455 src/distrib/notes/common/main

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



CVS commit: src/sys/fs/puffs

2010-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan  7 22:45:31 UTC 2010

Modified Files:
src/sys/fs/puffs: puffs_msgif.c puffs_msgif.h puffs_sys.h

Log Message:
Add a PUFFS_UNMOUNT server-kernel request, which causes the kernel
to initiate self destruct, i.e. unmount(MNT_FORCE).  This, however,
is a semi-controlled self-destruct, since all caches are flushed
before the (possibly) violent unmount takes place.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/fs/puffs/puffs_msgif.c
cvs rdiff -u -r1.68 -r1.69 src/sys/fs/puffs/puffs_msgif.h
cvs rdiff -u -r1.73 -r1.74 src/sys/fs/puffs/puffs_sys.h

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



CVS commit: src/lib/libpuffs

2010-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan  7 22:46:11 UTC 2010

Modified Files:
src/lib/libpuffs: opdump.c

Log Message:
Be slightly more forgiving about unknown operation types.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libpuffs/opdump.c

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



CVS commit: src/sys/fs/puffs

2010-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan  7 22:59:27 UTC 2010

Modified Files:
src/sys/fs/puffs: puffs_msgif.c

Log Message:
Fix variable name in my commit tree too.


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/fs/puffs/puffs_msgif.c

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



CVS commit: src/lib/libpuffs

2010-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan  7 23:03:26 UTC 2010

Modified Files:
src/lib/libpuffs: puffs.c

Log Message:
Use typecast instead of ULL for a less whiny lint on LP64.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/lib/libpuffs/puffs.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/dm

2010-01-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Jan  8 00:27:48 UTC 2010

Modified Files:
src/sys/dev/dm: device-mapper.c

Log Message:
Fix this for non-module (which, i guess, is only i386/ALL).

XXX: autoconfusion vs. modules is an intolerable mess of stepping
on each others' toes.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/dm/device-mapper.c

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