CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 18:31:57 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Delete unfinished and unreachable code: ppb_cardbus_setup(), ppb_cardbus_enable(), ppb_cardbus_disable(). To generate a diff of this

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 18:31:57 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Delete unfinished and unreachable code: ppb_cardbus_setup(), ppb_cardbus_enable(), ppb_cardbus_disable(). To generate a diff of this

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 18:49:14 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: It turns out that ppb at cardbus was not even in ALL. It has probably not been compiled in a very long time. With some minor changes, it

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 18:49:14 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: It turns out that ppb at cardbus was not even in ALL. It has probably not been compiled in a very long time. With some minor changes, it

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
$ */ +/* $NetBSD: if_rtw_cardbus.c,v 1.39 2010/03/04 22:33:12 dyoung Exp $ */ /*- * Copyright (c) 2004, 2005 David Young. All rights reserved. @@ -64,7 +64,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: if_rtw_cardbus.c,v 1.38 2010/02/26 01:12:56 dyoung Exp $); +__KERNEL_RCSID(0

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 22:33:12 UTC 2010 Modified Files: src/sys/dev/cardbus: if_rtw_cardbus.c Log Message: Remove unnecessary #ifdef INET-enclosed #includes. This is *always* compiled with #define rbus 1, so get rid of the conditional

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 22:42:22 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus_map.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 22:42:22 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus_map.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/pci

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 22:57:37 UTC 2010 Modified Files: src/sys/dev/pci: if_rtw_pci.c Log Message: Make cosmetic changes in order to reduce differences with sys/dev/cardbus/if_rtw_cardbus.c: remove an unnecessary #include. Change a few cut

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 5 00:36:06 UTC 2010 Modified Files: src/sys/dev/cardbus: fwohci_cardbus.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. Make a few changes of this kind: -

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 5 00:54:01 UTC 2010 Modified Files: src/sys/dev/cardbus: if_rtw_cardbus.c Log Message: Simplify this a bit (and reduce differences with if_rtw_pci.c): we don't have to save the base address or write it to the BAR. To

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
: if_rtw_cardbus.c,v 1.40 2010/03/05 00:54:01 dyoung Exp $ */ /*- * Copyright (c) 2004, 2005 David Young. All rights reserved. @@ -64,7 +64,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: if_rtw_cardbus.c,v 1.39 2010/03/04 22:33:12 dyoung Exp $); +__KERNEL_RCSID(0, $NetBSD

CVS commit: src/sys/arch/xen/xen

2010-03-02 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Mar 2 16:44:08 UTC 2010 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Re-zero the attach args before setting them up for a new call to config_found_ia(). In this way we avoid passing an uninitialized

CVS commit: src/sys/dev/cardbus

2010-03-02 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Mar 2 20:31:14 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ath_cardbus.c if_atw_cardbus.c Log Message: Simplify interrupt (dis)establishment by two source transformations: - cardbus_intr_disestablish(cc, cf, ih);

CVS commit: src/sys/dev/cardbus

2010-03-02 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Mar 2 20:31:14 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ath_cardbus.c if_atw_cardbus.c Log Message: Simplify interrupt (dis)establishment by two source transformations: - cardbus_intr_disestablish(cc, cf, ih);

CVS commit: src/sys/dev/cardbus

2010-03-02 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Mar 3 00:56:41 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Simplify interrupt (dis)establishment by two source transformations: - cardbus_intr_disestablish(cc, cf, ih); +

CVS commit: src/sys/dev/cardbus

2010-03-02 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Mar 3 00:56:41 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Simplify interrupt (dis)establishment by two source transformations: - cardbus_intr_disestablish(cc, cf, ih); +

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 20:36:31 UTC 2010 Modified Files: src/sys/dev/cardbus: com_cardbus.c if_fxp_cardbus.c rbus_ppb.c siisata_cardbus.c Log Message: Don't create the device's PCI tag with Cardbus_make_tag(9), but save and use

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 20:36:31 UTC 2010 Modified Files: src/sys/dev/cardbus: com_cardbus.c if_fxp_cardbus.c rbus_ppb.c siisata_cardbus.c Log Message: Don't create the device's PCI tag with Cardbus_make_tag(9), but save and use

CVS commit: src/sys/arch/x86/include

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 20:48:35 UTC 2010 Modified Files: src/sys/arch/x86/include: pci_machdep.h Log Message: Change the pci_attach_args definition to allow machine-dependent code to override the default pci(9) behavior by creating a

CVS commit: src/sys/arch/x86/include

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 20:48:35 UTC 2010 Modified Files: src/sys/arch/x86/include: pci_machdep.h Log Message: Change the pci_attach_args definition to allow machine-dependent code to override the default pci(9) behavior by creating a

CVS commit: src/sys/arch/x86/pci

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 20:51:10 UTC 2010 Modified Files: src/sys/arch/x86/pci: pci_intr_machdep.c pci_machdep.c Log Message: In the x86 pci(9) implementation, test for and call a pci_chipset_tag_t's override functions. To generate a diff

CVS commit: src/sys/arch/x86/pci

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 20:51:10 UTC 2010 Modified Files: src/sys/arch/x86/pci: pci_intr_machdep.c pci_machdep.c Log Message: In the x86 pci(9) implementation, test for and call a pci_chipset_tag_t's override functions. To generate a diff

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 21:18:35 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c cardbusreg.h njata_cardbus.c njs_cardbus.c siisata_cardbus.c Log Message: Phase out some CardBus constants and types. Use the equivalent PCI

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 21:18:35 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c cardbusreg.h njata_cardbus.c njs_cardbus.c siisata_cardbus.c Log Message: Phase out some CardBus constants and types. Use the equivalent PCI

CVS commit: src/sys/arch/xen/include

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 22:20:03 UTC 2010 Modified Files: src/sys/arch/xen/include: pci_machdep.h Log Message: Fix Xen. XXX Almost everything in this header file, x86, amd64, and i386 should XXX share. To generate a diff of this commit:

CVS commit: src/sys/arch/xen/include

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 22:20:03 UTC 2010 Modified Files: src/sys/arch/xen/include: pci_machdep.h Log Message: Fix Xen. XXX Almost everything in this header file, x86, amd64, and i386 should XXX share. To generate a diff of this commit:

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 22:31:51 UTC 2010 Modified Files: src/sys/dev/cardbus: com_cardbus.c if_fxp_cardbus.c Log Message: Don't use the cardbus_softc. Compile-tested, only. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 22:31:51 UTC 2010 Modified Files: src/sys/dev/cardbus: com_cardbus.c if_fxp_cardbus.c Log Message: Don't use the cardbus_softc. Compile-tested, only. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 22:40:16 UTC 2010 Modified Files: src/sys/dev/cardbus: siisata_cardbus.c Log Message: Copy values from the cardbus_attach_args and use them instead of values from the cardbus_softc. To generate a diff of this commit:

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 22:40:16 UTC 2010 Modified Files: src/sys/dev/cardbus: siisata_cardbus.c Log Message: Copy values from the cardbus_attach_args and use them instead of values from the cardbus_softc. To generate a diff of this commit:

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 23:01:48 UTC 2010 Modified Files: src/sys/dev/cardbus: if_rtw_cardbus.c Log Message: Use PCI_ constants instead of CARDBUS_ constants. Use Cardbus_conf_*() functions instead of cardbus_conf_*() functions to simplify

CVS commit: src/sys/dev

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 23:40:39 UTC 2010 Modified Files: src/sys/dev/cardbus: adv_cardbus.c ahc_cardbus.c com_cardbus.c ehci_cardbus.c fwohci_cardbus.c if_ath_cardbus.c if_atw_cardbus.c if_ex_cardbus.c if_fxp_cardbus.c

CVS commit: src/sys/dev

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 23:40:39 UTC 2010 Modified Files: src/sys/dev/cardbus: adv_cardbus.c ahc_cardbus.c com_cardbus.c ehci_cardbus.c fwohci_cardbus.c if_ath_cardbus.c if_atw_cardbus.c if_ex_cardbus.c if_fxp_cardbus.c

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 00:01:27 UTC 2010 Modified Files: src/sys/dev/cardbus: adv_cardbus.c ahc_cardbus.c if_ex_cardbus.c if_re_cardbus.c if_rtk_cardbus.c if_tlp_cardbus.c Log Message: sc_csr is read written from the PCI Command

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 00:01:27 UTC 2010 Modified Files: src/sys/dev/cardbus: adv_cardbus.c ahc_cardbus.c if_ex_cardbus.c if_re_cardbus.c if_rtk_cardbus.c if_tlp_cardbus.c Log Message: sc_csr is read written from the PCI Command

CVS commit: src/sys/dev/pci

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 00:38:14 UTC 2010 Modified Files: src/sys/dev/pci: if_ex_pci.c pcireg.h Log Message: Move the definitions for PCI_BAR0, PCI_BAR1, PCI_BAR2, PCI_BAR3, PCI_BAR4, and PCI_BAR5 to pcireg.h for re-use. To generate a diff

CVS commit: src/sys/dev/pci

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 00:38:14 UTC 2010 Modified Files: src/sys/dev/pci: if_ex_pci.c pcireg.h Log Message: Move the definitions for PCI_BAR0, PCI_BAR1, PCI_BAR2, PCI_BAR3, PCI_BAR4, and PCI_BAR5 to pcireg.h for re-use. To generate a diff

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 00:57:02 UTC 2010 Modified Files: src/sys/dev/cardbus: adv_cardbus.c ahc_cardbus.c cardbus.c cardbus_map.c cardbusreg.h com_cardbus.c ehci_cardbus.c fwohci_cardbus.c if_ex_cardbus.c

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
1.37 2010/02/25 23:01:48 dyoung Exp $ */ +/* $NetBSD: if_rtw_cardbus.c,v 1.38 2010/02/26 01:12:56 dyoung Exp $ */ /*- * Copyright (c) 2004, 2005 David Young. All rights reserved. @@ -64,7 +64,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: if_rtw_cardbus.c,v 1.37 2010/02/25 23:01

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 01:12:56 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c cardbusvar.h if_rtw_cardbus.c Log Message: Introduce Cardbus_intr_establish(cardbus_devfunc_t, ...) and Cardbus_intr_disestablish(cardbus_devfunc_t, ...)

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 01:15:08 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Cosmetic: join a line. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/dev/cardbus/cardbusvar.h Please note that

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 01:15:08 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Cosmetic: join a line. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/dev/cardbus/cardbusvar.h Please note that

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 01:16:09 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Cosmetic: re-wrap some line. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/dev/cardbus/cardbusvar.h Please

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 01:16:09 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Cosmetic: re-wrap some line. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/dev/cardbus/cardbusvar.h Please

CVS commit: src/sys/compat/darwin

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 24 17:59:33 UTC 2010 Modified Files: src/sys/compat/darwin: darwin_ioframebuffer.c Log Message: Mark some suspicious ENODEV returns (should be ENXIO?) with comments. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/if_ndis

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 24 18:16:50 UTC 2010 Modified Files: src/sys/dev/if_ndis: if_ndisvar.h Log Message: Start to tuck Cardbus under the PCI abstraction. Step #1, textual substitution: for all practical purposes, pcitag_t and cardbustag_t

CVS commit: src/sys/arch/x86/x86

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 24 21:22:01 UTC 2010 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Rename to 'pc' all variables 'pci_chipset_tag'. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/arch/x86/x86/intr.c

CVS commit: src/sys/arch/x86/include

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 24 21:24:20 UTC 2010 Modified Files: src/sys/arch/x86/include: pci_machdep.h Log Message: Change 'typedef void *pci_chipset_tag_t' to 'typedef struct pci_chipset_tag *pci_chipset_tag_t' for an improvement in type safety.

CVS commit: src/sys/arch/x86/include

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 24 21:25:52 UTC 2010 Modified Files: src/sys/arch/x86/include: pci_machdep.h Log Message: Don't bother to #define PCI_PREFER_IOSPACE, nothing uses it. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/arch/x86/include

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 24 21:34:23 UTC 2010 Modified Files: src/sys/arch/x86/include: pci_machdep.h Log Message: KNF: change spaces to tabs. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x86/include/pci_machdep.h

CVS commit: src

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 24 22:38:10 UTC 2010 Modified Files: src/share/man/man9: pmf.9 src/sys/arch/i386/pci: elan520.c piixpcib.c src/sys/arch/mips/atheros/dev: if_ath_arbus.c src/sys/arch/sparc/dev: fd.c

CVS commit: src/sys/arch/dreamcast/dev/maple

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 24 22:58:45 UTC 2010 Modified Files: src/sys/arch/dreamcast/dev/maple: mlcd.c Log Message: Use device_t, device_private(). To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/sys/arch/acorn32/mainbus

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 24 23:03:00 UTC 2010 Modified Files: src/sys/arch/acorn32/mainbus: fd.c Log Message: Use device_private(). To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/arch/acorn32/mainbus/fd.c Please note

CVS commit: src/share/man/man9

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 24 23:49:34 UTC 2010 Modified Files: src/share/man/man9: cardbus.9 Log Message: Update the doco, just in case somebody adds a new CardBus driver before I've finished tucking CardBus under the PCI abstraction, unlikely

CVS commit: src/sys/dev/pci

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 24 23:52:49 UTC 2010 Modified Files: src/sys/dev/pci: if_sip.c Log Message: Use device_suspensor_t. To generate a diff of this commit: cvs rdiff -u -r1.146 -r1.147 src/sys/dev/pci/if_sip.c Please note that diffs are

CVS commit: src/sys/dev

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 00:47:40 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c cardbus_map.c cardbusvar.h siisata_cardbus.c src/sys/dev/pci: pccbb.c Log Message: Cardbus_free_tag() and cardbus_free_tag() are

CVS commit: src/sys/dev

2010-02-23 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Feb 23 19:28:00 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c cardbusvar.h src/sys/dev/pci: pci.c pcireg.h pcivar.h Log Message: Remove unused functions pci_disable_retry() and cardbus_disable_retry(). To

Re: CVS commit: src/sys

2010-02-22 Thread David Young
) { (*dtrace_vtime_switch_func)(newl); } #endif } Dave -- David Young OJC Technologies dyo...@ojctech.com Urbana, IL * (217) 278-3933

Re: CVS commit: src/sys

2010-02-22 Thread David Young
)) { (*dtrace_vtime_switch_func)(newl); } vrs dtrace_vtime_switch(newl); There will not necessarily be a function call, but making the function inline may help to avoid a function call. Dave -- David Young OJC Technologies dyo...@ojctech.com Urbana, IL * (217) 278-3933

CVS commit: src/sys/kern

2010-02-19 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 19 22:28:47 UTC 2010 Modified Files: src/sys/kern: subr_autoconf.c Log Message: Avoid a potential crash: get more struct device initialization out of the way before trying to get a unit number. If we cannot get a unit

CVS commit: src/sys/kern

2010-02-16 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 17 00:15:24 UTC 2010 Modified Files: src/sys/kern: kern_pmf.c Log Message: Initialize the temporary pmf_qual_t in pmf_device_subtree_release() to avoid a failed ds != NULL assertion, later. To generate a diff of this

CVS commit: src/sys

2010-02-15 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Feb 15 20:20:34 UTC 2010 Modified Files: src/sys/kern: subr_autoconf.c src/sys/sys: device.h Log Message: Extract a subroutine, const char *cfdata_ifattr(cfdata_t cf), that returns the name of the interface attribute

CVS commit: src/sys/arch

2010-02-15 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Feb 15 23:53:08 UTC 2010 Modified Files: src/sys/arch/amd64/amd64: mainbus.c src/sys/arch/i386/i386: mainbus.c Log Message: Don't use the global variable pci_mode, but use a local copy of the return value of

CVS commit: src/sys/arch/xen/x86

2010-02-15 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Feb 15 23:53:56 UTC 2010 Modified Files: src/sys/arch/xen/x86: mainbus.c Log Message: Don't use the global variable pci_mode, but use a local copy of the return value of pci_mode_detect(), instead. To generate a diff of

CVS commit: src/sys/arch/xen/include

2010-02-15 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Feb 15 23:55:25 UTC 2010 Modified Files: src/sys/arch/xen/include: pci_machdep.h Log Message: Get pci_mode out of the global namespace. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

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

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

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

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:

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

CVS commit: src

2010-02-11 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 12 00:45:38 UTC 2010 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9/man9.i386: Makefile Added Files: src/share/man/man9/man9.i386: nmi.9 Log Message: Add nmi(9), a manual page for the

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

CVS commit: src

2010-02-06 Thread David Young
Module Name:src Committed By: dyoung Date: Sat Feb 6 22:32:08 UTC 2010 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile spl.9 src/share/man/man9/man9.i386: Makefile Added Files: src/share/man/man9/man9.i386: splraise.9

Re: CVS commit: src

2010-02-06 Thread David Young
On Wed, Nov 18, 2009 at 02:40:58PM -0600, David Young wrote: On Wed, Nov 18, 2009 at 01:29:05AM +, YAMAMOTO Takashi wrote: hi, Module Name: src Committed By: dyoung Date: Tue Nov 17 18:36:07 UTC 2009 Modified Files: src/distrib/sets/lists/comp

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

2010-02-06 Thread David Young
experience, disagreement between bus ACPI device attachments causes a lot of confusion for operators and kernel bugs. Dave -- David Young OJC Technologies dyo...@ojctech.com Urbana, IL * (217) 278-3933

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

2010-02-05 Thread David Young
with amigappc. For the start I fixed some SCSI drivers. cbiiisc and ahsc were tested and seem to work really fast with DMA now. Should the amiga/amigappc drivers be converted to bus_space(9)/bus_dma(9) ? Dave -- David Young OJC Technologies dyo...@ojctech.com Urbana, IL * (217) 278-3933

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: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

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

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

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

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

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

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()

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

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.

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

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

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

CVS commit: src/sys

2010-01-12 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Jan 12 21:08:09 UTC 2010 Modified Files: src/sys/conf: files src/sys/dev: cgd.c cgdvar.h Log Message: Make cgd(4) into a detachable pseudo-device. Thanks, Jan Danielsson, for the patches! I've lightly tested the

Re: CVS commit: src/sys

2010-01-12 Thread David Young
need to do to build it? It doesn't seem to show up with a build.sh release The one from sys/modules/cgd. Hmm. That's not built in a release, is it? Dave -- David Young OJC Technologies dyo...@ojctech.com Urbana, IL * (217) 278-3933

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

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

Re: CVS commit: src/sys/kern

2010-01-12 Thread David Young
-- David Young OJC Technologies dyo...@ojctech.com Urbana, IL * (217) 278-3933

CVS commit: src/sys/arch

2010-01-08 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 8 19:43:26 UTC 2010 Modified Files: src/sys/arch/x86/pci: ichlpcib.c pchb.c src/sys/arch/x86/x86: cpu.c x86_autoconf.c src/sys/arch/xen/x86: cpu.c Log Message: Expand PMF_FN_* macros. To generate a diff

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

2010-01-08 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 8 19:45:28 UTC 2010 Modified Files: src/sys/arch/i386/pci: elan520.c piixpcib.c Log Message: Expand PMF_FN_* macros. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/arch/i386/pci/elan520.c cvs

<    1   2   3   >