CVS commit: [pgoyette-localcount] src/sys/dev/pci

2017-04-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Apr 26 05:52:57 UTC 2017 Modified Files: src/sys/dev/pci [pgoyette-localcount]: pcidevs.h pcidevs_data.h Log Message: Regen To generate a diff of this commit: cvs rdiff -u -r1.1246.2.5 -r1.1246.2.6

CVS commit: [pgoyette-localcount] src/sys/dev/pci

2017-04-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Apr 26 05:35:36 UTC 2017 Modified Files: src/sys/dev/pci [pgoyette-localcount]: pcidevs Log Message: Somehow this got out of sync on the branch. To generate a diff of this commit: cvs rdiff -u -r1.1253.2.5 -r1.1253.2.6

CVS commit: [pgoyette-localcount] src/sys

2017-04-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Apr 26 02:57:17 UTC 2017 Modified Files: src/sys/arch/sh3/include [pgoyette-localcount]: ieeefp.h src/sys/dev/pci [pgoyette-localcount]: piixpm.c Log Message: Resolve a couple of conflicts To generate a diff of

CVS commit: [pgoyette-localcount] src/sys/kern

2017-04-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Apr 25 21:53:06 UTC 2017 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Use {b,c}devsw_acquire() and {b,c}devsw_release() in the various device acccess methods. To generate a diff of this

CVS commit: [pgoyette-localcount] src/sys/kern

2017-04-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Apr 25 21:36:41 UTC 2017 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Add membar_datadep_consumer() to {b,c}devsw_lookup() to ensure that the devsw content is visible. Again, thanks

CVS commit: [pgoyette-localcount] src/sys/kern

2017-04-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Apr 25 21:31:33 UTC 2017 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Call localcount_init() before publishing the new {b,c}devsw. Thanks to riastradh@ To generate a diff of this commit:

CVS commit: [pgoyette-localcount] src/sys/kern

2017-04-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Apr 25 09:03:03 UTC 2017 Modified Files: src/sys/kern [pgoyette-localcount]: subr_autoconf.c Log Message: Use KASSERTMSG() to ensure that the device has a localcount. To generate a diff of this commit: cvs rdiff -u

CVS commit: [pgoyette-localcount] src/sys/arch/x86/x86

2016-08-06 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Aug 6 10:45:22 UTC 2016 Modified Files: src/sys/arch/x86/x86 [pgoyette-localcount]: pmap.c Log Message: Resolve $NetBSD$ conflict To generate a diff of this commit: cvs rdiff -u -r1.211.2.2 -r1.211.2.3

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-31 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 31 13:12:59 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: fss.c Log Message: mport rev 1.95 from HEAD To generate a diff of this commit: cvs rdiff -u -r1.93.2.6 -r1.93.2.7 src/sys/dev/fss.c Please note

CVS commit: [pgoyette-localcount] src/sys

2016-07-30 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 31 01:36:49 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: fss.c src/sys/rump/dev/lib/libfss [pgoyette-localcount]: fss_component.c Log Message: When initializing the rump component, detach the

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-30 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 31 01:32:00 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: ld.c Log Message: Use after initialization, not before To generate a diff of this commit: cvs rdiff -u -r1.94.2.4 -r1.94.2.5 src/sys/dev/ld.c

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-28 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 29 02:28:38 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: tty_pty.c Log Message: Add module initializers in the pmax-specific copies of the [bc]devsw's To generate a diff of this commit: cvs rdiff -u

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-28 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 29 02:19:52 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: tty_pty.c Log Message: Add a note to revisit the locking for this device. To generate a diff of this commit: cvs rdiff -u -r1.142.2.5

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-28 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 29 01:49:39 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: tty_pty.c Log Message: Redo previous, restoring "return xxx;" in each case of the select. This gets the exit conditions back the way they were,

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-28 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Jul 28 23:59:15 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: md.c Log Message: Since md(4) has a pointer from the softc back to the device_t, it is OK for us to use device_lookup_private_acquire() rather than

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-28 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Jul 28 06:45:32 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: Remove duplicated code (cut-and-paste error) To generate a diff of this commit: cvs rdiff -u -r1.108.2.16 -r1.108.2.17

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Jul 28 01:44:56 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: vnd.c Log Message: Don't try to call device_release() if we succesfully called vnd_destroy() To generate a diff of this commit: cvs rdiff -u

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Jul 28 01:07:20 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: vnd.c Log Message: Clean up the vnd_spawn() routine so it actually works. In particular, it needs to return the new unit's sc _after_ acquiring a

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jul 27 23:17:31 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: vnd.c Log Message: Return ENXIO if the device is NOT found, not when the device IS found! To generate a diff of this commit: cvs rdiff -u

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jul 27 11:51:57 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: vnd.c Log Message: When detaching, call device_release() to allow the detach to complete. To generate a diff of this commit: cvs rdiff -u

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jul 27 11:23:32 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: vnd.c Log Message: When we spawn a new unit, make sure we get a pointer to its device_t so we have something to give device_release() when we're

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-26 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jul 27 03:25:00 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: fss.c md.c Log Message: Repair the inevitable tyops in previous. To generate a diff of this commit: cvs rdiff -u -r1.93.2.4 -r1.93.2.5

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-26 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jul 27 01:13:50 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: fss.c ld.c md.c Log Message: Update a few more drivers for localcount(9) To generate a diff of this commit: cvs rdiff -u -r1.93.2.3 -r1.93.2.4

CVS commit: [pgoyette-localcount] src/sys/dev/acpi

2016-07-26 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Jul 26 07:44:21 UTC 2016 Modified Files: src/sys/dev/acpi [pgoyette-localcount]: pckbc_acpi.c Log Message: Fix conversion to device_lookup_acquire() To generate a diff of this commit: cvs rdiff -u -r1.34.10.1 -r1.34.10.2

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-26 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Jul 26 07:44:44 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: video.c Log Message: Typo To generate a diff of this commit: cvs rdiff -u -r1.32.8.1 -r1.32.8.2 src/sys/dev/video.c Please note that diffs are

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-26 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Jul 26 07:42:40 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: midi.c Log Message: Fix botched edit. To generate a diff of this commit: cvs rdiff -u -r1.85.2.1 -r1.85.2.2 src/sys/dev/midi.c Please note that

CVS commit: [pgoyette-localcount] src/sys

2016-07-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Jul 26 05:54:40 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: audio.c cgd.c fss.c ld.c md.c rndpseudo.c vnd.c src/sys/dev/dm [pgoyette-localcount]: device-mapper.c src/sys/dev/pad

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Jul 26 04:30:50 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: vnd.c Log Message: Fix some sloppy typos To generate a diff of this commit: cvs rdiff -u -r1.256.2.5 -r1.256.2.6 src/sys/dev/vnd.c Please note

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Jul 26 03:52:14 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: audio.c Log Message: Fix typo in local copy To generate a diff of this commit: cvs rdiff -u -r1.268.2.3 -r1.268.2.4 src/sys/dev/audio.c Please

CVS commit: [pgoyette-localcount] src/sys/dev/isa

2016-07-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 25 23:40:33 UTC 2016 Modified Files: src/sys/dev/isa [pgoyette-localcount]: fd.c isv.c mcd.c Log Message: Redo previous To generate a diff of this commit: cvs rdiff -u -r1.110.2.1 -r1.110.2.2 src/sys/dev/isa/fd.c cvs

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 25 22:06:09 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: vnd.c Log Message: Update vnd for using localcount(9) To generate a diff of this commit: cvs rdiff -u -r1.256.2.3 -r1.256.2.4 src/sys/dev/vnd.c

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-24 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 25 03:40:52 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: Add a comment to describe why we didn't convert one caller of device_lokup_private(). To generate a diff of this commit: cvs

CVS commit: [pgoyette-localcount] src/sys/dev/isa

2016-07-24 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 25 03:30:52 UTC 2016 Modified Files: src/sys/dev/isa [pgoyette-localcount]: fd.c isv.c mcd.c Log Message: Update a few drivers for localcount(9) To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.110.2.1

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-24 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 24 10:44:57 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: Call device_release() in appropriate error paths. In the module initialization code, make the bmajor/cmajor variables global so

CVS commit: [pgoyette-localcount] src/sys/rump/dev/lib/libcgd

2016-07-24 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 24 10:37:10 UTC 2016 Modified Files: src/sys/rump/dev/lib/libcgd [pgoyette-localcount]: cgd_component.c Log Message: since we're now attached the [bc]devsw's, grabbing the assigned majors, and then detaching (in

CVS commit: [pgoyette-localcount] src/sys

2016-07-23 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 24 05:39:29 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_autoconf.c src/sys/sys [pgoyette-localcount]: device.h Log Message: Add a device_acquire() for when we need to grab a reference and

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-23 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 24 00:14:08 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: Remove cgd_release() - it's not needed now that getcgd_softc() provides access to the device_t Restore original cgdattach() -

CVS commit: [pgoyette-localcount] src/sys/miscfs/specfs

2016-07-23 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 23 21:54:50 UTC 2016 Modified Files: src/sys/miscfs/specfs [pgoyette-localcount]: spec_vnops.c Log Message: Simplify, remove redundant code. To generate a diff of this commit: cvs rdiff -u -r1.162.2.4 -r1.162.2.5

CVS commit: [pgoyette-localcount] src/sys/rump/dev/lib/libcgd

2016-07-23 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 23 07:41:14 UTC 2016 Modified Files: src/sys/rump/dev/lib/libcgd [pgoyette-localcount]: cgd_component.c Log Message: Use correct function name - devsw_detach() vs cdevsw_detach()

CVS commit: [pgoyette-localcount] src/sys/rump/dev/lib/libcgd

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 23 05:05:47 UTC 2016 Modified Files: src/sys/rump/dev/lib/libcgd [pgoyette-localcount]: cgd_component.c Log Message: The rump_cgd component needs to do an early cdevsw_attact() to figure out the device major numbers

CVS commit: [pgoyette-localcount] src/sys/miscfs/specfs

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 23 05:01:09 UTC 2016 Modified Files: src/sys/miscfs/specfs [pgoyette-localcount]: spec_vnops.c Log Message: Restore original handling of ioctl() returns. If the underlying disk's ioctl() returns success, we call

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 23 03:20:37 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: Remove debug printfs. For MODULE builds, define cgd_cd via CFDRIVER_DECL To generate a diff of this commit: cvs rdiff -u

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 23 02:36:51 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: Revert changes in revision 1.108.2.3 For pseudo-devices, config(1) doesn't provide a valid cfattach, so when a modular driver

CVS commit: [pgoyette-localcount] src/sys/fs/cd9660

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 23 00:44:59 UTC 2016 Modified Files: src/sys/fs/cd9660 [pgoyette-localcount]: cd9660_vfsops.c Log Message: Be consistent in the ordering of operations. To generate a diff of this commit: cvs rdiff -u -r1.90.2.1

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 23:16:36 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Fix a comment To generate a diff of this commit: cvs rdiff -u -r1.34.2.12 -r1.34.2.13 src/sys/kern/subr_devsw.c

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 23:04:01 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Continue previous - finish what we started To generate a diff of this commit: cvs rdiff -u -r1.34.2.11 -r1.34.2.12

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 23:02:55 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Only retrieve the bdev/cdev from the xdevsw[] array once. To generate a diff of this commit: cvs rdiff -u -r1.34.2.10

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 12:03:15 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_autoconf.c Log Message: Fix logic to avoid dereferencing NULL pointer To generate a diff of this commit: cvs rdiff -u -r1.246.2.4

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 11:59:51 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Style: indent label 'out:' one space from the margin. To generate a diff of this commit: cvs rdiff -u -r1.34.2.9

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 06:32:54 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: Remove debug To generate a diff of this commit: cvs rdiff -u -r1.108.2.8 -r1.108.2.9 src/sys/dev/cgd.c Please note that diffs

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 05:49:53 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: Call cgd_spawn() if the requested device doesn't exist, rather than if the device exists but without any softc data. To

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 03:55:12 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: vfs_mount.c Log Message: Fix up the error/exit path. Return actual error, not blindly report success! To generate a diff of this commit: cvs

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 03:44:36 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: Pass correct arg to cgd_spawn() To generate a diff of this commit: cvs rdiff -u -r1.108.2.6 -r1.108.2.7 src/sys/dev/cgd.c

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 03:40:51 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: Use correct prototype. To generate a diff of this commit: cvs rdiff -u -r1.108.2.5 -r1.108.2.6 src/sys/dev/cgd.c Please note

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 03:39:43 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: Make sure that whenever we're using the cgd device's softc, we maintain a reference to the device so things won't get deleted

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 02:05:39 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_autoconf.c Log Message: Remove stray debugging info To generate a diff of this commit: cvs rdiff -u -r1.246.2.3 -r1.246.2.4

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 02:02:24 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_autoconf.c Log Message: In config_devfree(), free the 'struct localcount' In device_lookup_private_acquire() we need to ensure that the

CVS commit: [pgoyette-localcount] src/sys/miscfs/specfs

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 01:50:12 UTC 2016 Modified Files: src/sys/miscfs/specfs [pgoyette-localcount]: spec_vnops.c Log Message: Return the actual error code, rather than blind success. To generate a diff of this commit: cvs rdiff -u

CVS commit: [pgoyette-localcount] src/sys/miscfs/specfs

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Jul 21 13:09:47 UTC 2016 Modified Files: src/sys/miscfs/specfs [pgoyette-localcount]: spec_vnops.c Log Message: fix an error patch to call {b,c}devsw_release() To generate a diff of this commit: cvs rdiff -u -r1.162.2.1

CVS commit: [pgoyette-localcount] src/sys/fs/adosfs

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Jul 21 11:13:01 UTC 2016 Modified Files: src/sys/fs/adosfs [pgoyette-localcount]: advfsops.c Log Message: Add missing semicolon To generate a diff of this commit: cvs rdiff -u -r1.75.2.2 -r1.75.2.3

CVS commit: [pgoyette-localcount] src/sys/fs/adosfs

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Jul 21 11:02:56 UTC 2016 Modified Files: src/sys/fs/adosfs [pgoyette-localcount]: advfsops.c Log Message: Call bdevsw_release() in the normal-exit path. To generate a diff of this commit: cvs rdiff -u -r1.75.2.1

CVS commit: [pgoyette-localcount] src/sys/ufs/ffs

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Jul 21 10:37:09 UTC 2016 Modified Files: src/sys/ufs/ffs [pgoyette-localcount]: ffs_vfsops.c Log Message: Actually save the bdev value when it is retrieved, so we can use it later in a call to bdevsw_release(). To

CVS commit: [pgoyette-localcount] src/sys/compat/linux/common

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Jul 21 10:34:11 UTC 2016 Modified Files: src/sys/compat/linux/common [pgoyette-localcount]: linux_ioctl.c Log Message: simplify for readability To generate a diff of this commit: cvs rdiff -u -r1.58.10.1 -r1.58.10.2 \

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Jul 21 06:22:31 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Remove a stray call to mutex_exit() that is left over from a previous incarnation of this code. To generate a diff of

CVS commit: [pgoyette-localcount] src/sys/dev/mscp

2016-07-20 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Jul 21 00:02:13 UTC 2016 Modified Files: src/sys/dev/mscp [pgoyette-localcount]: mscp_disk.c Log Message: Partial adaptation to the new {b,c}devsw locking. Still needs some work. (See XXX comments in code) To generate a

CVS commit: [pgoyette-localcount] src/sys/arch

2016-07-20 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jul 20 23:50:56 UTC 2016 Modified Files: src/sys/arch/acorn32/mainbus [pgoyette-localcount]: fd.c src/sys/arch/alpha/alpha [pgoyette-localcount]: machdep.c src/sys/arch/amd64/amd64 [pgoyette-localcount]:

CVS commit: [pgoyette-localcount] src/sys

2016-07-20 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jul 20 23:47:58 UTC 2016 Modified Files: src/sys/coda [pgoyette-localcount]: coda_vfsops.c src/sys/compat/common [pgoyette-localcount]: tty_60.c src/sys/compat/linux/arch/amd64 [pgoyette-localcount]:

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-20 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jul 20 07:07:05 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Improved comment. No code change. To generate a diff of this commit: cvs rdiff -u -r1.34.2.7 -r1.34.2.8

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-20 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jul 20 06:51:13 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: First pass at updating the cgd(4) driver for use with localcount(9) ref-counts. So far all I've done is to manage the

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-19 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jul 20 04:33:53 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: cgd.c Log Message: Rather than manually manipulating individual autoconf data, just use config_{init,fini}_component() to do it all at once. To

CVS commit: [pgoyette-localcount] src/sys/arch

2016-07-19 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jul 20 02:06:16 UTC 2016 Modified Files: src/sys/arch/acorn26/ioc [pgoyette-localcount]: arcpp.c src/sys/arch/acorn32/mainbus [pgoyette-localcount]: fd.c src/sys/arch/acorn32/podulebus [pgoyette-localcount]:

CVS commit: [pgoyette-localcount] src/sys/dev/pud

2016-07-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 18 22:00:05 UTC 2016 Modified Files: src/sys/dev/pud [pgoyette-localcount]: pud_dev.c Log Message: And use the address of the localcount ... To generate a diff of this commit: cvs rdiff -u -r1.7.2.1 -r1.7.2.2

CVS commit: [pgoyette-localcount] src/sys/dev/pud

2016-07-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 18 21:55:44 UTC 2016 Modified Files: src/sys/dev/pud [pgoyette-localcount]: pud_dev.c Log Message: Another driver that needs its 'struct localcount' since it is used in rump. To generate a diff of this commit: cvs

CVS commit: [pgoyette-localcount] src/sys/dev

2016-07-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 18 21:18:49 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: vnd.c Log Message: Another case of needing to use the two different localcount that were allocated. To generate a diff of this commit: cvs rdiff

CVS commit: [pgoyette-localcount] src/sys/dev/pad

2016-07-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 18 11:25:07 UTC 2016 Modified Files: src/sys/dev/pad [pgoyette-localcount]: pad.c Log Message: Good grief - what was I thinking? Let's make the d_localcount pointer point to a 'struct localcount' as intended. To

CVS commit: [pgoyette-localcount] src/sys/dev/raidframe

2016-07-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 18 11:13:23 UTC 2016 Modified Files: src/sys/dev/raidframe [pgoyette-localcount]: rf_netbsdkintf.c Log Message: We created two different 'stuct localcount' for a reason - devsw_attach() requires them to be different!

CVS commit: [pgoyette-localcount] src/sys/dev/pad

2016-07-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 18 11:12:11 UTC 2016 Modified Files: src/sys/dev/pad [pgoyette-localcount]: pad.c Log Message: Add 'struct localcount' for modular builds To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.25.2.1

CVS commit: [pgoyette-localcount] src/sys/rump/librump/rumpkern

2016-07-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 18 06:58:44 UTC 2016 Modified Files: src/sys/rump/librump/rumpkern [pgoyette-localcount]: rump.c Log Message: We also need to init devsw's pserialize stuff when running as rump. XXX Noted that in rump, pserialize is

CVS commit: [pgoyette-localcount] src/sys/dev/putter

2016-07-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 18 06:25:40 UTC 2016 Modified Files: src/sys/dev/putter [pgoyette-localcount]: putter.c Log Message: Another devsw needing a localcount when built as a module. To generate a diff of this commit: cvs rdiff -u -r1.35

CVS commit: [pgoyette-localcount] src/sys

2016-07-17 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jul 18 03:50:00 UTC 2016 Modified Files: src/sys/dev [pgoyette-localcount]: audio.c cgd.c fss.c ld.c md.c rndpseudo.c vnd.c src/sys/dev/dm [pgoyette-localcount]: device-mapper.c src/sys/dev/pci

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-17 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 17 21:40:47 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Fix typo in KASSERTMSG macro name To generate a diff of this commit: cvs rdiff -u -r1.34.2.6 -r1.34.2.7

CVS commit: [pgoyette-localcount] src/sys

2016-07-17 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 17 21:39:17 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: init_main.c subr_devsw.c src/sys/sys [pgoyette-localcount]: conf.h Log Message: Instead of initializing the 'pserialize_t psz' while

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-17 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 17 12:09:21 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: More details in KASSERTs to aid debugging To generate a diff of this commit: cvs rdiff -u -r1.34.2.4 -r1.34.2.5

CVS commit: [pgoyette-localcount] src/sys

2016-07-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 17 05:05:11 UTC 2016 Modified Files: src/sys/dev/raidframe [pgoyette-localcount]: rf_netbsdkintf.c src/sys/external/bsd/ipf/netinet [pgoyette-localcount]: ip_fil_netbsd.c src/sys/net

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 17 05:02:20 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Defer initialization of the pserialize_t device_psz" until just before we need it. We can't initialize within

CVS commit: [pgoyette-localcount] src/sys/dev/raidframe

2016-07-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 17 02:44:41 UTC 2016 Modified Files: src/sys/dev/raidframe [pgoyette-localcount]: rf_netbsdkintf.c Log Message: Don't call devsw_attach() and devsw_detach() for built-in modules. To generate a diff of this commit: cvs

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 17 02:37:54 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: More locking fixes from riastradh@ To generate a diff of this commit: cvs rdiff -u -r1.34.2.2 -r1.34.2.3

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 16 22:35:34 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Fix some locking sequences. Thanks to ristradh@ for the review! To generate a diff of this commit: cvs rdiff -u

CVS commit: [pgoyette-localcount] src/sys

2016-07-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 16 22:06:42 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_autoconf.c src/sys/sys [pgoyette-localcount]: device.h Log Message: Add new xxx_acquire variants for device_lookup_private() and

CVS commit: [pgoyette-localcount] src/sys/sys

2016-07-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 16 20:40:30 UTC 2016 Modified Files: src/sys/sys [pgoyette-localcount]: Makefile Log Message: Install the localcount.h header file To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.159.2.1

CVS commit: [pgoyette-localcount] src/sys/rump/librump/rumpkern

2016-07-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 16 11:07:00 UTC 2016 Modified Files: src/sys/rump/librump/rumpkern [pgoyette-localcount]: Makefile.rumpkern Log Message: Make sure we include the localcount routines in the rump libraries To generate a diff of this

CVS commit: [pgoyette-localcount] src/sys

2016-07-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 16 07:54:14 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c src/sys/sys [pgoyette-localcount]: conf.h Log Message: First pass of adding localcount(9) support for devsw. As with the

CVS commit: [pgoyette-localcount] src/sys

2016-07-15 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 16 02:13:08 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_autoconf.c src/sys/sys [pgoyette-localcount]: device.h Log Message: Initial set of changes for subr_autoconf usage of localcount

CVS commit: [pgoyette-localcount] src/sys

2016-07-14 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 15 02:29:19 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: files.kern Added Files: src/sys/kern [pgoyette-localcount]: subr_localcount.c src/sys/sys [pgoyette-localcount]: localcount.h Log