CVS commit: src/sys/dev

2010-01-12 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Jan 12 23:49:34 UTC 2010 Modified Files: src/sys/dev: cgd.c Log Message: Provide a more complete modules hook, cgd_modcmd(), derived from vnd_modcmd(). To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/de

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

2010-01-12 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jan 13 01:23:07 UTC 2010 Modified Files: src/distrib/sets/lists/comp: mi Log Message: ./usr/libdata/ldscripts/kmodule will not be installed if MKKMOD=no, so add 'kmod' to its keywords. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/amiga/dev

2010-01-15 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 15 23:49:22 UTC 2010 Modified Files: src/sys/arch/amiga/dev: fd.c Log Message: Use __arraycount(). To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/arch/amiga/dev/fd.c Please note that diffs are not

CVS commit: src/sys/dev/bi

2010-01-16 Thread David Young
Module Name:src Committed By: dyoung Date: Sat Jan 16 18:43:34 UTC 2010 Modified Files: src/sys/dev/bi: kdb.c Log Message: Delete some dead (#ifdef notyet) code. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/dev/bi/kdb.c Please note that diffs ar

CVS commit: src/sys/dev/pad

2010-01-18 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Jan 18 23:57:14 UTC 2010 Modified Files: src/sys/dev/pad: pad.c Log Message: If the device does not exist, return ENXIO, as is customary, instead of ENODEV. Ok jmcne...@. To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/sys/kern

2010-01-19 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Jan 19 21:24:36 UTC 2010 Modified Files: src/sys/kern: subr_autoconf.c Log Message: Refactor: as suggested by rmind@, extract duplicate code into subroutines config_alldevs_enter() and config_alldevs_exit(). This change amoun

CVS commit: src/sys/kern

2010-01-19 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Jan 19 21:54:53 UTC 2010 Modified Files: src/sys/kern: subr_autoconf.c Log Message: A new survey of the code indicates that the very highest interrupt priority level where the kernel accesses alldevs is IPL_VM, where some hard

CVS commit: src

2010-01-19 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jan 20 00:39:30 UTC 2010 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile pmf.9 Log Message: Update PMF documentation: rename pmf_device_resume_subtree to pmf_device_subtree_resume. Briefly

CVS commit: src/sys/dev

2010-01-20 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jan 20 18:55:17 UTC 2010 Modified Files: src/sys/dev: cgd.c Log Message: Get out of cgd_detach() early on error. Do not call disk_destroy(9) on error, that leaves the cgd_softc in an inconsistent state. Fixes a crash during

CVS commit: src/sys/dev

2010-01-20 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jan 20 19:00:47 UTC 2010 Modified Files: src/sys/dev: cgd.c Log Message: Cosmetic: get out of cgdioctl() early. Instead of int ret; switch (...) { case ...: ret = ...;

CVS commit: src/sys/dev

2010-01-20 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Jan 21 02:14:42 UTC 2010 Modified Files: src/sys/dev: md.c Log Message: Take care not to dereference a NULL softc. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/dev/md.c Please note that diffs are no

CVS commit: src/sys/dev

2010-01-20 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Jan 21 02:19:55 UTC 2010 Modified Files: src/sys/dev: radio.c Log Message: All that the activation hook radioactivate() did was to change sc_dying, and nothing in the driver examines sc_dying, so get rid of radioactivate() and

CVS commit: src/sys/dev/ata

2010-01-20 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Jan 21 02:53:51 UTC 2010 Modified Files: src/sys/dev/ata: ata.c Log Message: Cosmetic: join some lines. Get out early on errors, change switch (...) { ... error = ...;

CVS commit: src/sys/net

2010-01-21 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Jan 21 20:51:31 UTC 2010 Modified Files: src/sys/net: bpfdesc.h Log Message: Spelling fix: correspoding -> corresponding. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/net/bpfdesc.h Please note that

CVS commit: src/share/man/man9

2010-01-22 Thread David Young
quot; All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by David Young. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following con

CVS commit: src/share/man/man9

2010-01-22 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 22 20:18:46 UTC 2010 Modified Files: src/share/man/man9: percpu.9 Log Message: Mention all of the API routines in the NAME section, and capitalize 'percpu'. Also in the NAME section, call it a "Per-CPU storage allocator."

CVS commit: src/share/man/man9

2010-01-22 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 22 20:27:57 UTC 2010 Modified Files: src/share/man/man9: percpu.9 Log Message: Move a start of sentence to the first column. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/man/man9/percpu.9 Please

CVS commit: src/share/man/man9

2010-01-22 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 22 20:40:36 UTC 2010 Modified Files: src/share/man/man9: percpu.9 Log Message: Add missing .El. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/share/man/man9/percpu.9 Please note that diffs are not publ

CVS commit: src/share/man/man9

2010-01-22 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 22 20:41:50 UTC 2010 Modified Files: src/share/man/man9: percpu.9 Log Message: Cross-reference xc(9) instead of queue(9). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/share/man/man9/percpu.9 Please no

CVS commit: src/share/man/man9

2010-01-22 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 22 20:43:48 UTC 2010 Added Files: src/share/man/man9: xc.9 Log Message: Add a manual page for cross-calls. Somebody should read this to make sure I've described it correctly and intelligibly. TBD: hook this up in the Mak

CVS commit: src

2010-01-22 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 22 23:14:29 UTC 2010 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile Log Message: Install manual pages for cross-calls and per-CPU storage. To generate a diff of this commit: cvs rdif

CVS commit: src/share/man/man9

2010-01-22 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 22 23:27:01 UTC 2010 Modified Files: src/share/man/man9: xc.9 Log Message: Per rmind@'s suggestion, describe the cross-call implementation in more detail (by pulling more text from sys/kern/subr_xcall.c). Mention that a c

CVS commit: src/sbin/ifconfig

2010-01-22 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 22 23:50:07 UTC 2010 Modified Files: src/sbin/ifconfig: af_inet6.c Log Message: Compare a pointer with NULL instead of testing its "truth." To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sbin/ifconfig/

CVS commit: src/sys/dev/ic

2010-01-31 Thread David Young
Jan 31 18:12:51 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: rtw.c,v 1.112 2010/01/19 22:06:25 pooka Exp $ */ +/* $NetBSD: rtw.c,v 1.113 2010/01/31 18:12:51 dyoung Exp $ */ /*- * Copyright (c) 2004, 2005, 2006, 2007 David Young. All rights * reserved. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0

CVS commit: src

2010-02-06 Thread David Young
.\" $NetBSD: splraise.9,v 1.1 2010/02/06 22:32:08 dyoung Exp $ +.\" +.\" Copyright (c) 2010 David Young. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\"

CVS commit: src/sys/net/agr

2010-02-08 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Feb 8 17:59:06 UTC 2010 Modified Files: src/sys/net/agr: if_agr.c if_agrtimer.c if_agrvar_impl.h Log Message: Take another stab at fixing the LOCKDEBUG panic reported in PR kern/39940 and by Martti Kuparinen on current-users@

CVS commit: src/share/man/man9

2010-02-11 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 11 18:11:37 UTC 2010 Modified Files: src/share/man/man9: pci.9 Log Message: Do not reference deprecated API shutdownhook_establish(9), but reference pmf(9), instead. To generate a diff of this commit: cvs rdiff -u -r1.29

CVS commit: src/share/man/man9

2010-02-11 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 11 18:17:43 UTC 2010 Modified Files: src/share/man/man9: doshutdownhooks.9 Log Message: Mention that doshutdownhooks(9) is deprecated. Suggest to use pmf_system_shutdown(9), instead. To generate a diff of this commit: c

CVS commit: src/share/man/man9

2010-02-11 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 11 18:20:38 UTC 2010 Modified Files: src/share/man/man9: dopowerhooks.9 Log Message: Mention that dopowerhooks(9) is deprecated. Suggest to use pmf_system_suspend(9), instead. To generate a diff of this commit: cvs rdif

CVS commit: src/share/man/man9

2010-02-11 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 11 18:22:26 UTC 2010 Modified Files: src/share/man/man9: cpu_reboot.9 Log Message: Change mentions of doshutdownhooks(9) to pmf_system_shutdown(9). To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/share/

CVS commit: src/share/man/man9

2010-02-11 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 11 18:23:32 UTC 2010 Modified Files: src/share/man/man9: intro.9 Log Message: Do not mention shutdownhook_establish(9) and doshutdownhooks(9), but mention pmf(9) and pmf_system_shutdown(9), instead. To generate a diff of

CVS commit: src

2010-02-11 Thread David Young
\" +.\" Copyright (c) 2010 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by David Young. +.\" +.\" Redistribution and use in source and binary forms, with or without

CVS commit: src/share/man/man9

2010-02-11 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 12 01:00:22 UTC 2010 Modified Files: src/share/man/man9: Makefile Log Message: Fix a typo in the MLINKS line for kmem.9. To generate a diff of this commit: cvs rdiff -u -r1.315 -r1.316 src/share/man/man9/Makefile Please

CVS commit: src/share/man/man9

2010-02-11 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 12 01:04:05 UTC 2010 Modified Files: src/share/man/man9: kmem.9 Log Message: Start a new paragraph before describing kmem_asprintf(). To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/share/man/man9/kmem.9

CVS commit: src/lib/libc/atomic

2010-02-12 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 12 22:23:17 UTC 2010 Modified Files: src/lib/libc/atomic: atomic_cas.3 Log Message: With help from rmind@, describe the non-interlocked (*_ni) variants of the standard atomic compare-and-swap operations. Tell some caveats

CVS commit: src

2010-02-12 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 12 22:34:38 UTC 2010 Modified Files: src/distrib/sets/lists/comp: mi src/lib/libc/atomic: Makefile.inc Log Message: Link atomic_cas.3 to atomic_cas_{32,64,ptr,uint,ulong}_ni.3. To generate a diff of this commit:

CVS commit: src/share/man/man9

2011-01-14 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 14 18:34:44 UTC 2011 Modified Files: src/share/man/man9: evcnt.9 Log Message: In the EXAMPLES section, use device_t and accessors instead of struct device. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 sr

CVS commit: src/sys

2011-01-21 Thread David Young
Jan 21 17:46:19 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: ath_netbsd.c,v 1.17 2009/10/19 23:19:39 rmind Exp $ */ +/* $NetBSD: ath_netbsd.c,v 1.18 2011/01/21 17:46:19 dyoung Exp $ */ /*- * Copyright (c) 2003, 2004 David Young @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ath_netbs

CVS commit: src/share/man/man9

2011-01-21 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 21 17:51:20 UTC 2011 Modified Files: src/share/man/man9: kprintf.9 Log Message: Describe device_printf(9). XXX Need symbolic link device_printf.9 -> kprintf.9. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.

CVS commit: src/sys/external/bsd/drm/dist/shared-core

2011-01-21 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 21 21:57:17 UTC 2011 Modified Files: src/sys/external/bsd/drm/dist/shared-core: i915_drv.h Log Message: unifdef -U__linux__ -U__FreeBSD__. No functional change intended. To generate a diff of this commit: cvs rdiff -u -

CVS commit: src/sys/kern

2011-01-21 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 21 23:23:44 UTC 2011 Modified Files: src/sys/kern: Make.tags.inc Log Message: Exclude drm sources from tags computation. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/kern/Make.tags.inc Please no

CVS commit: src/games/fortune/datfiles

2011-01-24 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Jan 24 15:30:55 UTC 2011 Modified Files: src/games/fortune/datfiles: fortunes fortunes.sp.ok fortunes2 Log Message: Fix spelling: it's *Jef* Raskin, not Jeff Raskin. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1

CVS commit: src/sys/dev/pci

2011-01-25 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jan 26 00:08:30 UTC 2011 Modified Files: src/sys/dev/pci: if_ath_pci.c Log Message: Improve error reporting during attachment to PCI ath(4). To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/dev/pci/if_at

CVS commit: src/sys/dev/pci

2011-01-25 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jan 26 00:09:27 UTC 2011 Modified Files: src/sys/dev/pci: if_bnx.c Log Message: Get out of the interrupt handler early if !IFF_RUNNING. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/if_bnx.c

CVS commit: src/sys/dev/pci

2011-01-25 Thread David Young
d Jan 26 00:16:52 2011 @@ -1,6 +1,33 @@ -/* $NetBSD: if_rtw_pci.c,v 1.18 2010/03/04 22:57:37 dyoung Exp $ */ +/* $NetBSD: if_rtw_pci.c,v 1.19 2011/01/26 00:16:52 dyoung Exp $ */ /*- + * Copyright (c) 2004, 2005, 2010 David Young. All rights reserved. + * + * Adapted for the RTL8180 by David

CVS commit: src/sys/dev/pci

2011-01-25 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jan 26 00:49:56 UTC 2011 Modified Files: src/sys/dev/pci: pcireg.h Log Message: Define masks for subsystem vendor and subsystem ID fields, plus a couple of macros for extracting them. To generate a diff of this commit: cvs r

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

2011-01-25 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jan 26 00:54:36 UTC 2011 Modified Files: src/sys/dev/pci/bktr: bktr_reg.h Log Message: unifdef -U__bsdi__ -U__FreeBSD__ -D__NetBSD__. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1

CVS commit: src/sys/external/isc/atheros_hal/dist

2011-01-25 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jan 26 00:55:42 UTC 2011 Modified Files: src/sys/external/isc/atheros_hal/dist: ah_internal.h Log Message: Protect against a NULL pointer dereference that I've seen in the wild. To generate a diff of this commit: cvs rdiff -

CVS commit: src/sys/net

2011-01-25 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jan 26 00:57:47 UTC 2011 Modified Files: src/sys/net: if_media.h Log Message: Add some 10-gigabit media words used by Intel 82599. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/net/if_media.h Please

CVS commit: src/sys/net

2011-01-25 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jan 26 00:58:36 UTC 2011 Modified Files: src/sys/net: route.h Log Message: Update comment on RTM_CHGADDR to describe better what it's for. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/net/route.h Pl

CVS commit: src/sys/kern

2011-01-31 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Jan 31 23:00:34 UTC 2011 Modified Files: src/sys/kern: subr_autoconf.c Log Message: If there are readers or writers in the alldevs list, don't remove a device_t out from under them, but tag it for deletion, later. To generat

CVS commit: src/sys

2011-01-31 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Jan 31 23:07:17 UTC 2011 Modified Files: src/sys/kern: kern_stub.c subr_autoconf.c src/sys/sys: device.h Log Message: Let the linker instead of the C preprocessor configure the kernel: make weak aliases device_register

CVS commit: src/share/man/man4

2011-02-01 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Feb 1 15:53:31 UTC 2011 Modified Files: src/share/man/man4: pty.4 Log Message: Describe TIOCEXT. Improve description of TIOCPKT_IOCTL. Tell the width of some TIOCxxx parameters. To generate a diff of this commit: cvs rdif

CVS commit: src/sys/dev/pci

2011-02-01 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Feb 1 19:37:37 UTC 2011 Modified Files: src/sys/dev/pci: pci.c Log Message: During shutdown, restore the each PCI device's bus-mastering enable to the state that we found it in before attaching a driver to it. To generate a

CVS commit: src/sys/netinet6

2011-02-06 Thread David Young
Module Name:src Committed By: dyoung Date: Sun Feb 6 19:12:55 UTC 2011 Modified Files: src/sys/netinet6: in6.c Log Message: Delete unnecessary casts to void *. No functional change intended. Same assembly generated before and after this change. To generate a diff of th

CVS commit: src/sbin

2011-02-16 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 16 17:53:31 UTC 2011 Modified Files: src/sbin/reboot: reboot.8 reboot.c src/sbin/shutdown: shutdown.8 shutdown.c Log Message: Add flags -v, -x, and -z for verbose, debug, and silent shutdowns, respectively, by pass

CVS commit: src/sys/arch/i386/stand/lib

2011-02-20 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Feb 21 00:39:54 UTC 2011 Modified Files: src/sys/arch/i386/stand/lib: libi386.h Log Message: biosdisk_getextinfo() returns 0 on success, non-zero on failure, so change its return type from void to int. To generate a diff of

CVS commit: src/sys/arch/i386/stand/lib

2011-02-20 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Feb 21 00:43:20 UTC 2011 Modified Files: src/sys/arch/i386/stand/lib: biosdisk_ll.c Log Message: biosdisk_getextinfo() can fail. If it does fail in set_geometry(), clear the flag BIOSDISK_INT13EXT so that a caller such as rea

CVS commit: src/sys/dev/pci

2011-02-22 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Feb 22 21:19:32 UTC 2011 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Use /*FALLTHROUGH*/. To generate a diff of this commit: cvs rdiff -u -r1.219 -r1.220 src/sys/dev/pci/if_wm.c Please note that diffs are not publ

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

2011-02-22 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Feb 22 23:57:22 UTC 2011 Modified Files: src/sys/arch/i386/conf: ALL Log Message: Add CardBus to PCI bridge, ppb at cardbus, but comment it out for now. To generate a diff of this commit: cvs rdiff -u -r1.291 -r1.292 src/sys

CVS commit: src/usr.sbin/mrouted

2011-02-22 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 23 01:23:04 UTC 2011 Modified Files: src/usr.sbin/mrouted: defs.h kern.c Log Message: Don't use bool as a variable name. Remove a bunch of parameter names form function prototypes. To generate a diff of this commit: cvs

CVS commit: src/sys/dev

2011-02-23 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 23 16:20:30 UTC 2011 Modified Files: src/sys/dev: radio.c Log Message: Correct device_t/softc split and, while I am here, delete commented-out code. Patrick Welche says that this patch fixes the problem that he reported o

CVS commit: src/sys/ufs/ffs

2011-02-23 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 23 17:05:33 UTC 2011 Modified Files: src/sys/ufs/ffs: ffs_snapshot.c Log Message: Initialize blkno to 0 right before the snapblkaddr() call that GCC does not understand so that if ffs_copyonwrite() sprouts a new code path

CVS commit: src/usr.bin/netstat

2011-03-01 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Mar 1 19:01:59 UTC 2011 Modified Files: src/usr.bin/netstat: Makefile inet.c Added Files: src/usr.bin/netstat: pfsync.c Log Message: Pull pfsync_stats() out of inet.c and into pfsync.c so that inet.c does not have to

CVS commit: src/usr.bin/netstat

2011-03-02 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Mar 2 19:52:04 UTC 2011 Modified Files: src/usr.bin/netstat: inet.c Log Message: Use __arraycount() and PRIu64. Delete unnecessary casts to unsigned long long. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95

CVS commit: src/sys/arch

2010-05-10 Thread David Young
Module Name:src Committed By: dyoung Date: Mon May 10 18:46:59 UTC 2010 Modified Files: src/sys/arch/x86/include: pmap.h src/sys/arch/x86/x86: bus_space.c pmap.c src/sys/arch/xen/conf: files.xen Added Files: src/sys/arch/xen/x86: xen_pmap.c Log Mess

CVS commit: src/sys/dev/pci

2010-05-11 Thread David Young
Module Name:src Committed By: dyoung Date: Tue May 11 16:49:35 UTC 2010 Modified Files: src/sys/dev/pci: pci_map.c Log Message: Cosmetic: remove superfluous parentheses from return statements. Don't test truth of pointers, or compare with 0, but compare with NULL, instead

CVS commit: src/sys/net/agr

2010-05-26 Thread David Young
Module Name:src Committed By: dyoung Date: Wed May 26 23:46:44 UTC 2010 Modified Files: src/sys/net/agr: if_agr.c if_agrvar_impl.h Log Message: Change sc_wrports from an int to a bool and "test truth" instead of comparing with 0. Add 'volatile' to several other state vari

CVS commit: src/sys/net

2010-06-02 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jun 2 23:41:14 UTC 2010 Modified Files: src/sys/net: if.c Log Message: Prevent if_detach() from crashing while it walks the routing table to find and unlink routes that reference the detached ifnet: make if_rt_walktree() retu

CVS commit: src/sys/dev/cardbus

2010-06-04 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jun 4 19:27:12 UTC 2010 Modified Files: src/sys/dev/cardbus: sdhc_cardbus.c Log Message: Collect garbage: sc_rbus_{iot,memt} are not used. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/cardbus/sdhc

CVS commit: src/sbin/ifconfig

2010-07-01 Thread David Young
config/util.c:1.13 Fri Sep 11 22:06:29 2009 +++ src/sbin/ifconfig/util.c Thu Jul 1 16:12:23 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: util.c,v 1.13 2009/09/11 22:06:29 dyoung Exp $ */ +/* $NetBSD: util.c,v 1.14 2010/07/01 16:12:23 dyoung Exp $ */ /*- * Copyright (c) 2008 David Young. All rights re

CVS commit: src/sbin/ifconfig

2010-07-01 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Jul 1 16:28:21 UTC 2010 Modified Files: src/sbin/ifconfig: Makefile Log Message: Apparently, -g belongs in the DBG variable, not in CFLAGS. Make it so on a line that is commented-out in this makefile. To generate a diff of

CVS commit: src/sbin/ifconfig

2010-07-01 Thread David Young
truct pstr media = PSTR_INITIALIZER(&media, "media", setmedia, "media", -&command_root.pb_parser); +static struct pstr media = PSTR_INITIALIZER1(&media, "media", setmedia, "media", +false, &command_root.pb_parser); static con

CVS commit: src/sys/netinet6

2010-07-07 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Jul 8 00:12:35 UTC 2010 Modified Files: src/sys/netinet6: udp6_output.c Log Message: Sprinkle 'const' to prevent udp6_output() from reassigning all but one of its arguments. To generate a diff of this commit: cvs rdiff -u -

CVS commit: src/sys/netinet6

2010-07-07 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Jul 8 01:13:01 UTC 2010 Modified Files: src/sys/netinet6: raw_ip6.c Log Message: Sprinkle const to prevent rip6_output() from re-assigning all but one of its arguments. To generate a diff of this commit: cvs rdiff -u -r1.10

CVS commit: src/sys/netinet6

2010-07-07 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Jul 8 01:22:28 UTC 2010 Modified Files: src/sys/netinet6: raw_ip6.c Log Message: Remove unnecessary casts from struct route * to struct route *. To generate a diff of this commit: cvs rdiff -u -r1.106 -r1.107 src/sys/netine

CVS commit: src/sys/netinet6

2010-07-15 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Jul 15 19:15:31 UTC 2010 Modified Files: src/sys/netinet6: nd6.c Log Message: To help find the cause of kernel complaints such as "/netbsd: nd6_storelladdr: sdl_alen == 0, dst=... if=wm1", add printfs for some "impossible" con

CVS commit: src/sys/netinet6

2010-07-15 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Jul 15 23:46:55 UTC 2010 Modified Files: src/sys/netinet6: udp6_output.c Log Message: Under some circumstances, udp6_output() would call ip6_clearpktopts() with an uninitialized struct ip6_pktopts on the stack, opt. ip6_clearp

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

2010-08-16 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Aug 17 00:02:28 UTC 2010 Modified Files: src/sys/arch/hp700/conf: GENERIC Log Message: Add pseudo-device drvctl. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/sys/arch/hp700/conf/GENERIC Please note th

CVS commit: src/share/man/man3

2010-08-26 Thread David Young
/man/man3/bits.3 Thu Aug 26 16:42:28 2010 @@ -1,6 +1,6 @@ -.\" $NetBSD: bits.3,v 1.7 2010/03/22 12:39:22 jruoho Exp $ +.\" $NetBSD: bits.3,v 1.8 2010/08/26 16:42:28 dyoung Exp $ .\" -.\" Copyright (c) 2006 David Young. All rights reserved. +.\" Copyright (c) 2006, 2010

CVS commit: src/sys/kern

2010-09-05 Thread David Young
Module Name:src Committed By: dyoung Date: Sun Sep 5 18:03:37 UTC 2010 Modified Files: src/sys/kern: tty_pty.c Log Message: Cosmetic: remove unnecessary parenthesization in return statements. Don't "test truth" of ints, but compare with 0, instead. The generated assembly

CVS commit: src/sys/dev/usb

2010-11-03 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Nov 3 22:30:51 UTC 2010 Modified Files: src/sys/dev/usb: if_kuereg.h if_rumvar.h if_udavreg.h if_uralvar.h if_urlreg.h if_zydreg.h Log Message: Stop using the compatibility macros USB_ATTACH(), USB_DETACH(), USB_M

CVS commit: src/sys/dev/usb

2010-11-03 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Nov 3 22:59:40 UTC 2010 Modified Files: src/sys/dev/usb: uhub.c Log Message: Change a stray USBDEVNAME to device_xname(). Only affects DIAGNOSTIC kernels. To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112 src

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

2010-11-03 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Nov 3 23:24:14 UTC 2010 Modified Files: src/sys/arch/i386/conf: ALL Log Message: Add to ALL some USB drivers that are never compiled, otherwise: moscom(4), uark(4), uhmodem(4), uyurex(4). To generate a diff of this commit:

CVS commit: src/sys/dev/usb

2010-11-03 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Nov 3 23:46:35 UTC 2010 Modified Files: src/sys/dev/usb: moscom.c uark.c uhmodem.c uyurex.c xboxcontroller.c Log Message: Stop using the compatibility macros USB_ATTACH(), USB_DETACH(), USB_MATCH(), et cetera. These files pr

CVS commit: src/sys/dev/usb

2010-11-03 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Nov 4 01:58:07 UTC 2010 Modified Files: src/sys/dev/usb: moscom.c uark.c uhmodem.c uyurex.c xboxcontroller.c Log Message: Remove temporary #inclusion of . To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/

CVS commit: src/sys/dev/usb

2010-11-03 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Nov 4 01:59:22 UTC 2010 Removed Files: src/sys/dev/usb: usb_port.h Log Message: Poison any code that still uses by removing the empty header file. To generate a diff of this commit: cvs rdiff -u -r1.87 -r0 src/sys/dev/usb/

CVS commit: src/sys/dev/usb

2010-11-03 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Nov 4 03:14:54 UTC 2010 Modified Files: src/sys/dev/usb: FILES Log Message: usb_port.h was deleted, no need to mention it here. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/FILES Please not

CVS commit: src/sys/kern

2010-11-03 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Nov 4 03:15:51 UTC 2010 Modified Files: src/sys/kern: Make.tags.inc Log Message: usb_port.h was deleted, no need to skip it when computing tags. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/kern/Mak

CVS commit: src/sys/dev/ata

2010-11-05 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Nov 5 15:49:37 UTC 2010 Modified Files: src/sys/dev/ata: wd.c Log Message: Mark a buffer with EIO in wdstrategy() if the device is not "enabled" (more like "present"), not if it is merely asleep. If the device is not awake,

CVS commit: src/sys/arch/arm/s3c2xx0

2010-11-11 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Nov 11 15:58:41 UTC 2010 Modified Files: src/sys/arch/arm/s3c2xx0: ohci_s3c24x0.c Log Message: Fix usb_port.h-removal fallout with the patch by Brett Slager in port-arm/44081, "evbarm/SMDK2410 kernel fails to compile". Use de

CVS commit: src/sys/kern

2010-11-16 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Nov 16 23:58:12 UTC 2010 Modified Files: src/sys/kern: tty_pty.c Log Message: Fix a bug in ptcread() that stopped a pty(4) in TIOCPKT_IOCTL mode from sending a termios(4) structure like it was supposed to: ptcread() used to co

CVS commit: src/sys/net

2010-11-16 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Nov 17 00:20:50 UTC 2010 Modified Files: src/sys/net: if_ethersubr.c Log Message: Cosmetic: fix indentation. To generate a diff of this commit: cvs rdiff -u -r1.183 -r1.184 src/sys/net/if_ethersubr.c Please note that diffs

CVS commit: src/sys/net

2011-12-27 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Dec 28 02:14:57 UTC 2011 Modified Files: src/sys/net: if.c Log Message: Fix ifpromisc() regression: if ifpromisc(ifp, 1) is called, do set IFF_PROMISC whether ifp is IFF_UP or not, but do not call ifp->if_ioctl unless ifp is I

CVS commit: src/sys/arch/i386/i386

2012-02-07 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Feb 7 16:34:44 UTC 2012 Modified Files: src/sys/arch/i386/i386: mainbus.c Log Message: Initialize pcibus_attach_args.pba_sub to 255. Note in a comment that this needs some improvement for machines with >1 Host-PCI bridge, bu

CVS commit: src/sys/netiso

2011-03-09 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Mar 9 22:04:53 UTC 2011 Modified Files: src/sys/netiso: if_eon.c Log Message: Remove ifa == NULL check, ifa cannot be NULL. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/netiso/if_eon.c Please note

CVS commit: src/sys/netnatm

2011-03-09 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Mar 9 22:06:42 UTC 2011 Modified Files: src/sys/netnatm: natm.c Log Message: unifdef -U__OpenBSD__ -D__NetBSD__ -U__FreeBSD__ for readability. No functional change intended. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/external/public-domain/xz/bin

2011-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 18 19:45:27 UTC 2011 Modified Files: src/external/public-domain/xz/bin: Makefile Log Message: Obey MKNLS=no. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/public-domain/xz/bin/Makefile Please

CVS commit: src/sys/arch/amd64

2011-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 18 19:46:20 UTC 2011 Modified Files: src/sys/arch/amd64: Makefile Log Message: Fix tags target. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/amd64/Makefile Please note that diffs are not publ

CVS commit: src/sys/arch/i386

2011-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 18 19:48:12 UTC 2011 Modified Files: src/sys/arch/i386: Makefile Log Message: Simplify tags target to reduce diffs with amd64/Makefile tags target. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/ar

<    1   2   3   4   5   6   7   8   9   10   >