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

2009-04-29 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Apr 29 23:18:09 UTC 2009 Modified Files: src/sys/arch/i386/pci: elan520.c Log Message: Delete dead code. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/arch/i386/pci/elan520.c Please note that diffs a

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

2009-04-29 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Apr 29 23:50:53 UTC 2009 Modified Files: src/sys/arch/i386/pci: elan520.c Log Message: Add elansc_shutdown() for turning off the watchdog. Don't try to unregister the watchdog in elansc_detach() if we are shutting the system

CVS commit: src/sys/dev

2009-04-30 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Apr 30 16:07:50 UTC 2009 Modified Files: src/sys/dev: vnd.c Log Message: Use NULL instead of (type *)0. Delete extraneous parentheses. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.196

CVS commit: src/sys/dev

2009-04-30 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Apr 30 16:38:12 UTC 2009 Modified Files: src/sys/dev: vnd.c Log Message: Fix spelling. if( -> if (. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.197 -r1.198 src/sys/dev/vnd.c Please n

CVS commit: src/sys/dev

2009-04-30 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Apr 30 20:34:08 UTC 2009 Modified Files: src/sys/dev: vnd.c Log Message: Flesh out vnd_detach(). Let the system detach vnd(4) at shutdown. Stop vnd_ioctl(VNDIOCCLR) from racing with vndopen() to call vndclear(). To generat

CVS commit: src/sys/kern

2009-04-30 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Apr 30 20:39:08 UTC 2009 Modified Files: src/sys/kern: kern_drvctl.c Log Message: Remove extraneous parentheses. Fix spelling/grammar. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.27 -

CVS commit: src/sys/dev

2009-04-30 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Apr 30 22:36:10 UTC 2009 Modified Files: src/sys/dev: vndvar.h Log Message: Straggler from last vnd(4) commit: #define VNF_CLEARING. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/vndvar.h Please

CVS commit: src/sys/dev/raidframe

2009-05-01 Thread David Young
Module Name:src Committed By: dyoung Date: Fri May 1 20:43:41 UTC 2009 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Use device_t, cfdata_t, device_private(). To generate a diff of this commit: cvs rdiff -u -r1.260 -r1.261 src/sys/dev/raidframe/rf

CVS commit: src/sys/dev/pci

2009-05-02 Thread David Young
Module Name:src Committed By: dyoung Date: Sun May 3 00:31:12 UTC 2009 Modified Files: src/sys/dev/pci: pccbb.c Log Message: In pccbb_pci_callback(), set CBB_SPECMAPPED in sc_flags if we've acquired bus space from bus_space_alloc(9) or from rbus_space_alloc(), so that we

CVS commit: src/sys/dev/pci

2009-05-05 Thread David Young
Module Name:src Committed By: dyoung Date: Tue May 5 21:34:13 UTC 2009 Modified Files: src/sys/dev/pci: if_sip.c Log Message: Change struct cfdata * to cfdata_t. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/sys/dev/

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 t

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 pci_mode_d

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 this

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 src/sys/arch/xen/include/p

CVS commit: src/sys/arch

2010-02-15 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Feb 16 00:03:48 UTC 2010 Modified Files: src/sys/arch/i386/pci: pcibios.c src/sys/arch/x86/include: pci_machdep.h src/sys/arch/x86/pci: pci_machdep.c Log Message: Get rid of all PCI_CONF_MODE #ifdef'age except

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

2010-02-15 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Feb 16 00:47:46 UTC 2010 Modified Files: src/sys/arch/xen/include: pci_machdep.h Log Message: Declare pci_mode_set(). To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/xen/include/pci_machdep.h Plea

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

2010-02-16 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Feb 16 19:29:40 UTC 2010 Modified Files: src/sys/arch/x86/pci: pci_machdep.c Log Message: PCI Configuration Mechanisms #1 and #2 are controlled by two to three registers. Let us think of the kernel operating the registers in

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 com

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 nu

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 g

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 -r1.43

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 are

CVS commit: src/sys/dev/cardbus

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 24 19:52:52 UTC 2010 Modified Files: src/sys/dev/cardbus: adv_cardbus.c ahc_cardbus.c cardbus_exrom.c cardbus_map.c com_cardbus.c ehci_cardbus.c fwohci_cardbus.c if_ath_cardbus.c if_ex_cardbus.c if_r

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 Pl

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

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/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 src/sys/arch/dreamcast/dev/maple/ml

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 that

CVS commit: src/sys/dev

2010-02-24 Thread David Young
ATUS_REG); Index: src/sys/dev/cardbus/if_rtw_cardbus.c diff -u src/sys/dev/cardbus/if_rtw_cardbus.c:1.35 src/sys/dev/cardbus/if_rtw_cardbus.c:1.36 --- src/sys/dev/cardbus/if_rtw_cardbus.c:1.35 Wed Feb 24 22:37:57 2010 +++ src/sys/dev/cardbus/if_rtw_cardbus.c Wed Feb 24 23:38:40 2010 @@ -1

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 thou

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 not

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 no-op

CVS commit: src/share/man/man9

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 00:50:52 UTC 2010 Modified Files: src/share/man/man9: cardbus.9 Log Message: Don't mention cardbus_free_tag() and Cardbus_free_tag(), they are no more. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src

CVS commit: src/sys/dev/cardbus

2010-03-11 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 11 17:24:27 UTC 2010 Modified Files: src/sys/dev/cardbus: if_rtk_cardbus.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. Simplify interrupt (dis)establishment by tw

CVS commit: src/sys/dev/cardbus

2010-03-11 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 11 17:27:40 UTC 2010 Modified Files: src/sys/dev/cardbus: njata_cardbus.c njs_cardbus.c Log Message: Simplify interrupt (dis)establishment by two source transformations: - cardbus_intr_disestablish(cc, cf, ih); +

CVS commit: src/sys/arch

2010-03-14 Thread David Young
Module Name:src Committed By: dyoung Date: Sun Mar 14 20:19:06 UTC 2010 Modified Files: src/sys/arch/x86/include: pci_machdep.h src/sys/arch/x86/pci: pci_intr_machdep.c pci_machdep.c src/sys/arch/xen/include: pci_machdep.h Added Files: src/sys/arch/x

CVS commit: src/sys/dev/ic

2010-03-14 Thread David Young
Module Name:src Committed By: dyoung Date: Sun Mar 14 21:25:59 UTC 2010 Modified Files: src/sys/dev/ic: athvar.h atwvar.h Log Message: Use device_suspensor_t instead of struct device_suspensor. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/dev/ic/

CVS commit: src/sys/dev/cardbus

2010-03-15 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 15 19:43:17 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Delete unused members ct_rbus_iot and ct_rbus_memt from struct cardbus_devfunc. To generate a diff of this commit: cvs rdiff -u -r1.51 -

CVS commit: src/sys/dev/cardbus

2010-03-15 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 15 19:48:31 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus_map.c cardbusvar.h Log Message: Delete unused functions cardbus_save_bar() and cardbus_restore_bar(). To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/sys/dev/cardbus

2010-03-15 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 15 19:50:50 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Delete unused member ct_bar[] from struct cardbus_devfunc. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/dev/car

CVS commit: src/sys/dev/pci

2010-03-15 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 15 20:02:56 UTC 2010 Modified Files: src/sys/dev/pci: pccbb.c pccbbvar.h Log Message: rbus is always #defined as 1, so unifdef -D rbus=1. To generate a diff of this commit: cvs rdiff -u -r1.196 -r1.197 src/sys/dev/pci/pc

CVS commit: src/sys/dev/ic

2010-03-15 Thread David Young
/dev/ic/rtw.c:1.114 Wed Feb 24 22:37:58 2010 +++ src/sys/dev/ic/rtw.c Mon Mar 15 23:21:08 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: rtw.c,v 1.114 2010/02/24 22:37:58 dyoung Exp $ */ +/* $NetBSD: rtw.c,v 1.115 2010/03/15 23:21:08 dyoung Exp $ */ /*- * Copyright (c) 2004, 2005, 2006, 2007 David Young.

CVS commit: src/sys/dev/cardbus

2010-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 18 20:51:42 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ral_cardbus.c if_re_cardbus.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. Simplify interrupt (dis)est

CVS commit: src/sys/dev/cardbus

2010-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 18 20:52:43 UTC 2010 Modified Files: src/sys/dev/cardbus: if_fxp_cardbus.c Log Message: Simplify interrupt (dis)establishment by two source transformations: - cardbus_intr_disestablish(cc, cf, ih); + Cardbus_i

CVS commit: src/sys/dev/cardbus

2010-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 18 20:54:56 UTC 2010 Modified Files: src/sys/dev/cardbus: adv_cardbus.c ahc_cardbus.c com_cardbus.c siisata_cardbus.c uhci_cardbus.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the

CVS commit: src/sys/dev/ic

2010-03-18 Thread David Young
23:19:39 2009 +++ src/sys/dev/ic/ath_netbsd.h Fri Mar 19 01:31:11 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: ath_netbsd.h,v 1.9 2009/10/19 23:19:39 rmind Exp $ */ +/* $NetBSD: ath_netbsd.h,v 1.10 2010/03/19 01:31:11 dyoung Exp $ */ /*- * Copyright (c) 2003, 2004 David Young @@ -27,6 +27,8 @@ #i

CVS commit: src/sys/dev/ic

2010-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 19 01:32:30 UTC 2010 Modified Files: src/sys/dev/ic: athvar.h Log Message: Don't pick up the network-interface, ethernet, and 802.11-related definitions by chance (or by the bus-specific front-end #including them!). #inclu

CVS commit: src/sys/dev/cardbus

2010-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 19 01:34:46 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ex_cardbus.c Log Message: Use Cardbus_intr_disestablish() instead of cardbus_intr_disestablish(). Get rid of a (short) staircase in ex_cardbus_detach(). To ge

CVS commit: src/sys/dev/cardbus

2010-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 19 01:44:05 UTC 2010 Modified Files: src/sys/dev/cardbus: cardslot.c Log Message: Remove superfluous cast (device_t to device_t). To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/dev/cardbus/cardslot

CVS commit: src/share/man/man3

2010-03-19 Thread David Young
undation +.\" by Matt Thomas, Niels Provos, and David Young. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retai

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

2010-03-19 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 19 23:27:12 UTC 2010 Modified Files: src/sys/arch/xen/x86: intr.c Log Message: Cosmetic: abbreviate: use `pc' instead of `pci_chipset_tag'. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/arch/xen/x

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

2010-03-19 Thread David Young
Module Name:src Committed By: dyoung Date: Sat Mar 20 00:02:59 UTC 2010 Modified Files: src/sys/arch/x86/include: pci_machdep_common.h Log Message: Add a prototype for pci_mmio_range_infer() that will infer the range of memory forwarded by the host chipset to PCI. To gen

CVS commit: src/sys/dev/pci

2010-03-19 Thread David Young
Module Name:src Committed By: dyoung Date: Sat Mar 20 00:23:42 UTC 2010 Modified Files: src/sys/dev/pci: pcireg.h Log Message: Add PCI_BAR(n) for the nth Base Address Register. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/dev/pci/pcireg.h Please

CVS commit: src/sys/dev/ic

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 17:11:19 UTC 2010 Modified Files: src/sys/dev/ic: elinkxl.c elinkxlvar.h Log Message: Add a self-suspensor. It's not used, yet. In ex_detach(), call ex_stop(), first. ex_stop() stops the callout. Destroy the callout

CVS commit: src/sys/dev/ic

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 17:12:09 UTC 2010 Modified Files: src/sys/dev/ic: i82557.c Log Message: Check whether the fxp(4) actually attached before calling fxp_stop(). To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134 src/sys/dev

CVS commit: src/sys/dev/cardbus

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 17:23:44 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ex_cardbus.c Log Message: Detach at shutdown. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/dev/cardbus/if_ex_cardbus.c Please note th

CVS commit: src/sys/dev/pci

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 17:20:42 UTC 2010 Modified Files: src/sys/dev/pci: if_ex_pci.c Log Message: psc_pwrmgmt_csr_reg was never initialized to the actual offset of the PCI PMCSR! Just delete psc_pwrmgmt_csr_reg and all uses of it. In this

CVS commit: src/sys/dev/pci

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 16:17:43 UTC 2010 Modified Files: src/sys/dev/pci: if_fxp_pci.c Log Message: Add a detach routine. Enable detachment at shutdown. psc_pwrmgmt_csr_reg was never initialized to the actual offset of the PCI PMCSR! Just

CVS commit: src/sys/dev/ic

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 16:11:58 UTC 2010 Modified Files: src/sys/dev/ic: i82557.c Log Message: In fxp_detach(), fxp_stop(), first. fxp_stop() stops the callout. Destroy the callout in fxp_detach(). To generate a diff of this commit: cvs rd

CVS commit: src/sys/dev/ic

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 22:22:58 UTC 2010 Modified Files: src/sys/dev/ic: i82365.c Log Message: #if 0 some diagnostic code that compares two bus_space_tag_t's. MI code should not compare an opaque type such as bus_space_tag_t! To generate a

CVS commit: src/sys/dev/isa

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 22:25:26 UTC 2010 Modified Files: src/sys/dev/isa: i82365_isasubr.c Log Message: Do not disestablish the interrupt handler inside of the interrupt handler! Stops a crash on the HP Pavilion N3270. Cosmetic: sc->ih is a

CVS commit: src/sys/dev/isa

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 22:30:58 UTC 2010 Modified Files: src/sys/dev/isa: isadma.c pcdisplay.c Log Message: isadma.c: #if 0 some diagnostic code that compares two bus_space_tag_t's. pcdisplay.c: #if 0 some code that compares two bus_space_ta

CVS commit: src/sys/dev/pci

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 22:36:07 UTC 2010 Modified Files: src/sys/dev/pci: cy82c693.c Log Message: #if 0 some diagnostic code that compares two bus_space_tag_t's. MI code should not compare an opaque type such as bus_space_tag_t! To generat

CVS commit: src/sys/dev/pci

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 22:39:49 UTC 2010 Modified Files: src/sys/dev/pci: viaide.c Log Message: Activate PCI memory-mapped I/O access in the PCI Control and Status Register if the PCI BAR is the memory-mapped type. The driver used to decide

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

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 22:42:00 UTC 2010 Modified Files: src/sys/dev/pci/bktr: bktr_os.c Log Message: MI code must not printf() a bus_space_tag_t, so don't do that. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/dev/p

CVS commit: src/sys/dev/ic

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 23:00:08 UTC 2010 Modified Files: src/sys/dev/ic: com.c Log Message: MI code should not compare bus_space_tag_t! Introduce tags_are_equal() for "comparing" two bus_space_tag_t's. It is always true. Everywhere that co

CVS commit: src/sys/dev/ic

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 23:00:47 UTC 2010 Modified Files: src/sys/dev/ic: pdqvar.h Log Message: sc_csr_memmapped is true iff the device registers are memory-mapped. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/dev/ic

CVS commit: src/sys/dev/eisa

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 23:01:10 UTC 2010 Modified Files: src/sys/dev/eisa: if_fea.c Log Message: Set/test sc_csr_memmapped instead of comparing bus_space_tag_t's. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/dev/eis

CVS commit: src/sys/dev

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 23:03:30 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ex_cardbus.c src/sys/dev/ic: elinkxlvar.h src/sys/dev/pci: if_ex_pci.c Log Message: ex_softc.ex_bustype is written but never read. Just get rid

CVS commit: src/sys/dev/ic

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 23:08:34 UTC 2010 Modified Files: src/sys/dev/ic: pckbc.c tcic2.c vga.c Log Message: pckbc.c, vga.c: It doesn't appear to be helpful to compare two bus_space_tag_t's in pckbc_is_console() and vga_is_console(), and M

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

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 23:21:30 UTC 2010 Modified Files: src/sys/arch/x86/x86: ipmi.c Log Message: A lot of good it does to printf() a bus_space_tag_t. Don't do it. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/arch

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

2010-03-23 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Mar 23 21:18:23 UTC 2010 Modified Files: src/sys/arch/i386/mca: mca_machdep.c Log Message: dmaiot is supposed to be a bus_space_tag_t, not a bus_space_handle_t. Make it so. To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/sys/dev/pci

2010-03-23 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Mar 23 21:22:25 UTC 2010 Modified Files: src/sys/dev/pci: if_hme_pci.c Log Message: Use the PCI BAR type to decide which I/O enables to set. TBD: Put back the old BAR #definition, s/PCI_BAR(0)/PCI_HME_BASEADDR/. To generate

CVS commit: src/sys/dev/pci

2010-03-23 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Mar 23 21:51:39 UTC 2010 Modified Files: src/sys/dev/pci: if_hme_pci.c Log Message: Put back PCI_HME_BASEADDR. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pci/if_hme_pci.c Please note that diff

CVS commit: src/sys/dev/pci

2010-03-23 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Mar 23 21:54:23 UTC 2010 Modified Files: src/sys/dev/pci: if_hme_pci.c Log Message: In the #definition of PCI_HME_BASEADDR, use PCI_BAR(0) instead of the anonymous constant 0x10. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev

2010-03-23 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Mar 24 01:13:30 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_ec.c src/sys/dev/isa: pas.c Log Message: Do not use unitialized bus_space_tag_t's. Use the tag(s) from the attachment arguments. To generate a diff of

CVS commit: src/sys/net80211

2010-03-26 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 26 17:18:05 UTC 2010 Modified Files: src/sys/net80211: ieee80211.c Log Message: In ieee80211_media_init(), change a pointer that we never write through to a pointer to const. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/acpi

2010-03-29 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 29 16:35:59 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c acpi_ec.c Log Message: Attach acpiecdt with acpibus_attach_args. Sverre Froyen reports that this helps his Thinkpad boot again. To generate a diff of this co

CVS commit: src/sys/arch/xen

2010-03-30 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Mar 31 00:00:33 UTC 2010 Modified Files: src/sys/arch/xen: Makefile Log Message: Include more sources in the tags target. Don't compute tags on some non-existent assembly-language files. To generate a diff of this commit: c

CVS commit: src/sys/dev/cardbus

2010-03-31 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Apr 1 05:58:52 UTC 2010 Modified Files: src/sys/dev/cardbus: siisata_cardbus.c Log Message: Cosmetic: join a couple of lines. Stop storing the value of a BAR in a temporary variable with the name 'csr'. To generate a diff

CVS commit: src/sys/net80211

2010-04-01 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Apr 2 03:46:50 UTC 2010 Modified Files: src/sys/net80211: ieee80211.c Log Message: Delete ieee80211_setbasicrates(). It's buggy, and we drivers can get along fine without it. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/share/man/man9

2010-04-05 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Apr 5 18:24:24 UTC 2010 Modified Files: src/share/man/man9: bus_dma.9 bus_space.9 Log Message: Change some references to to . MI drivers should #include . #includes for the MD implementation details. To generate a diff

CVS commit: src/sys/dev/ic

2010-04-16 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Apr 16 18:58:39 UTC 2010 Modified Files: src/sys/dev/ic: pcf8584.c Log Message: #include instead of . No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/ic/pcf8584.c Ple

CVS commit: src/sys/dev/ic

2010-04-16 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Apr 16 18:59:12 UTC 2010 Modified Files: src/sys/dev/ic: cs4231.c Log Message: #include instead of . No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/ic/cs4231.c Ple

CVS commit: src/sys/dev/ic

2010-04-16 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Apr 16 18:59:51 UTC 2010 Modified Files: src/sys/dev/ic: bwi.c Log Message: #include instead of . No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/dev/ic/bwi.c Please no

CVS commit: src/share/man/man9

2010-04-16 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Apr 16 20:05:37 UTC 2010 Modified Files: src/share/man/man9: bus_space.9 Log Message: Describe bus_space_is_equal(9). To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/share/man/man9/bus_space.9 Please note

CVS commit: src

2010-04-16 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Apr 16 20:08:51 UTC 2010 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile Log Message: Add a link, bus_space_is_equal.9 -> bus_space.9. To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/sys

2010-04-19 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Apr 19 18:24:27 UTC 2010 Modified Files: src/sys/arch/i386/isa: isapnp_machdep.c src/sys/dev/ic: com.c i82365.c pckbc.c tcic2.c vga.c src/sys/dev/isa: isadma.c pcdisplay.c src/sys/dev/pci: cy82c693.c pcc

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

2010-04-20 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Apr 20 22:37:25 UTC 2010 Modified Files: src/sys/arch/i386/isa: isapnp_machdep.c Log Message: Re-uppercase x86_bus_space_io. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/i386/isa/isapnp_machdep.

CVS commit: src/sys/dev/pci

2010-04-20 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Apr 20 23:39:11 UTC 2010 Modified Files: src/sys/dev/pci: pccbb.c pccbbvar.h Log Message: Change sc_pil_intr_enable from an int to a bool. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/sys/dev/pci

2010-04-21 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Apr 21 21:38:47 UTC 2010 Modified Files: src/sys/dev/pci: ahd_pci.c Log Message: Don't printf bus_space_tag_t's in a MI driver. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/dev/pci/ahd_pci.c Please

CVS commit: src/sys/dev/ic

2010-04-21 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Apr 21 21:49:53 UTC 2010 Modified Files: src/sys/dev/ic: spic.c Log Message: Don't printf bus_space_tag_t's in a MI driver. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/ic/spic.c Please note tha

CVS commit: src/sys/netinet6

2010-04-22 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Apr 22 20:05:15 UTC 2010 Modified Files: src/sys/netinet6: in6.c Log Message: When choosing IPv6 source addresses, respect the ifaddr preference level such as one might set with 'ifconfig xx0 inet6 preference '. I've been ru

CVS commit: src

2010-04-23 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Apr 23 19:21:08 UTC 2010 Modified Files: src/etc/mtree: Makefile src/usr.sbin/postinstall: postinstall Log Message: Do not try in postinstall(8) to replicate the code in etc/mtree/Makefile that assembles /etc/mtree/Net

CVS commit: src/etc/mtree

2010-04-26 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Apr 27 03:01:25 UTC 2010 Modified Files: src/etc/mtree: Makefile Log Message: Describe in a comment what the emit_dist_file target is for. Under some circumstances, ${TOOL_CAT} may refer to an executable that does not exist.

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

2010-04-27 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Apr 27 18:41:52 UTC 2010 Modified Files: src/sys/arch/i386/i386: pmc.c Log Message: #include for CPU feature definitions. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/i386/i386/pmc.c Please no

CVS commit: src/sys/dev/mii

2010-04-27 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Apr 27 18:52:45 UTC 2010 Modified Files: src/sys/dev/mii: brgphy.c Log Message: For a couple of flags, use bool/true/false instead of int/1/0. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/dev/mii/brg

CVS commit: src/sys/dev/scsipi

2010-04-27 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Apr 27 18:55:12 UTC 2010 Modified Files: src/sys/dev/scsipi: scsiconf.c Log Message: For clarity of scsidevdetached(), rename some variables: sc -> self, dev -> child, ssc -> sc. To generate a diff of this commit: cvs rdiff

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

2010-04-27 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Apr 27 23:33:14 UTC 2010 Modified Files: src/sys/arch/x86/pci: pci_machdep.c Log Message: Make pci_conf_read(9) and pci_conf_write(9) re-entrant so that the kernel can use them in an NMI trap handler. Only one CPU can be in _

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