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 src/sys/dev/pci/pcidevs.

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 src

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 t

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 Ple

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

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

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 r

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

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

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 fin

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

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 src

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 no

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 s

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 d

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 th

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 no

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 r

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 P

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 rd

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

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

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

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 ca

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

2016-07-21 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 generat

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 Plea

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 t

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 out

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 d

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

2016-07-19 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 ref-counts

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 ge

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

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 rdif

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 gener

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! So

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

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

2016-07-17 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 -r1

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