#
1.22 |
|
21-Aug-2022 |
mlelstv |
When extracting properties, don't bail for non-existent or invalid path elements, but continue with next properry.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.21 |
|
11-Jun-2020 |
thorpej |
Update for proplib(3) API changes.
|
Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
|
#
1.20 |
|
14-Feb-2018 |
jakllsch |
Revert functional changes in previous, at expense of strict KNF conformance.
|
#
1.19 |
|
07-Jan-2018 |
christos |
KNF.
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.18 |
|
07-Dec-2015 |
pgoyette |
synch usage() with the man page.
|
#
1.17 |
|
24-Feb-2015 |
mlelstv |
Let drvctl -p select elements from an array property by numeric index.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
|
#
1.16 |
|
17-Jan-2012 |
wiz |
branches: 1.16.18; Add -n to usage.
|
#
1.15 |
|
16-Jan-2012 |
pgoyette |
Enhance drvctl -p processing to handle new autoconfig info in property dictionaries.
|
Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.14 |
|
19-Oct-2011 |
dyoung |
branches: 1.14.2; Don't print the silly header, "Properties for device `xxx0':", before the device properties if the -n option was given.
|
#
1.13 |
|
29-Aug-2011 |
joerg |
Use __dead
|
#
1.12 |
|
07-Aug-2011 |
jmcneill |
add the -t option that modifies -l behaviour to recursively scan for child devices and print them in tree format:
$ drvctl -lt usb0 uhub0 uhub6 uhidev0 ukbd0 wskbd1 uhidev1 ums0 wsmouse1 uhid0 ubt0
|
#
1.11 |
|
07-Aug-2011 |
jmcneill |
add an optional argument to the -p flag that lets you extract specific property values from the command-line:
$ drvctl -p wd0 disk-info/geometry/cylinders-per-unit 620181 $ drvctl -p wd0 device-driver device-unit wd 0 $ drvctl -p wd0 nonexistent || echo "not found" not found
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.10 |
|
20-Apr-2009 |
dyoung |
Mention -n in usage.
|
#
1.9 |
|
20-Apr-2009 |
dyoung |
Add flag -n to suppress the first column of drvctl -l output.
|
#
1.8 |
|
04-Apr-2009 |
joerg |
If drvctl -l is used without argument, print the root device nodes.
|
#
1.7 |
|
16-Mar-2009 |
lukem |
fix sign-compare issues
|
Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.6 |
|
27-Jan-2008 |
dyoung |
branches: 1.6.10; 1.6.12; 1.6.16; Patch /dev/drvctl and drvctl(8) to let us suspend/resume device sub-trees, and to let us list the children of a device.
While I am here, add -p to the drvctl(8) usage message.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base wrstuden-fixsa-base netbsd-4-base
|
#
1.5 |
|
22-Sep-2006 |
thorpej |
branches: 1.5.8; 1.5.10; - Add a new DRVCTLCOMMAND ioctl to /dev/drvctl. This is a generic "execute a command" ioctl that takes a dictionary as an argument (specifying the command and arguments) and returns a dictionary with the results (error code, optional error message, optional result data).
- Define and implement a "get-properties" command for DRVCTLCOMMAND that returns the properties dictionary of the specified device.
- Add a -p flag to drvctl(8) to fetch and display the properties of the specified device.
This is a great example of how to use prop_dictionary_sendrecv_ioctl().
|
Revision tags: abandoned-netbsd-4-base
|
#
1.4 |
|
02-Jun-2005 |
lukem |
Fix an uninitialized variable issue. Found with gcc -Wuninitialized.
|
Revision tags: netbsd-3-base
|
#
1.3 |
|
20-Jan-2005 |
xtraeme |
branches: 1.3.2; ANSIfy; WARNS=3
|
#
1.2 |
|
18-Aug-2004 |
wiz |
Sync usage with man page.
|
#
1.1 |
|
18-Aug-2004 |
drochner |
add a little utility to exercise the rescan / detach autoconf functions
|
#
1.21 |
|
11-Jun-2020 |
thorpej |
Update for proplib(3) API changes.
|
Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
|
#
1.20 |
|
14-Feb-2018 |
jakllsch |
Revert functional changes in previous, at expense of strict KNF conformance.
|
#
1.19 |
|
07-Jan-2018 |
christos |
KNF.
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.18 |
|
07-Dec-2015 |
pgoyette |
synch usage() with the man page.
|
#
1.17 |
|
24-Feb-2015 |
mlelstv |
Let drvctl -p select elements from an array property by numeric index.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
|
#
1.16 |
|
17-Jan-2012 |
wiz |
branches: 1.16.18; Add -n to usage.
|
#
1.15 |
|
16-Jan-2012 |
pgoyette |
Enhance drvctl -p processing to handle new autoconfig info in property dictionaries.
|
Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.14 |
|
19-Oct-2011 |
dyoung |
branches: 1.14.2; Don't print the silly header, "Properties for device `xxx0':", before the device properties if the -n option was given.
|
#
1.13 |
|
29-Aug-2011 |
joerg |
Use __dead
|
#
1.12 |
|
07-Aug-2011 |
jmcneill |
add the -t option that modifies -l behaviour to recursively scan for child devices and print them in tree format:
$ drvctl -lt usb0 uhub0 uhub6 uhidev0 ukbd0 wskbd1 uhidev1 ums0 wsmouse1 uhid0 ubt0
|
#
1.11 |
|
07-Aug-2011 |
jmcneill |
add an optional argument to the -p flag that lets you extract specific property values from the command-line:
$ drvctl -p wd0 disk-info/geometry/cylinders-per-unit 620181 $ drvctl -p wd0 device-driver device-unit wd 0 $ drvctl -p wd0 nonexistent || echo "not found" not found
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.10 |
|
20-Apr-2009 |
dyoung |
Mention -n in usage.
|
#
1.9 |
|
20-Apr-2009 |
dyoung |
Add flag -n to suppress the first column of drvctl -l output.
|
#
1.8 |
|
04-Apr-2009 |
joerg |
If drvctl -l is used without argument, print the root device nodes.
|
#
1.7 |
|
16-Mar-2009 |
lukem |
fix sign-compare issues
|
Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.6 |
|
27-Jan-2008 |
dyoung |
branches: 1.6.10; 1.6.12; 1.6.16; Patch /dev/drvctl and drvctl(8) to let us suspend/resume device sub-trees, and to let us list the children of a device.
While I am here, add -p to the drvctl(8) usage message.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base wrstuden-fixsa-base netbsd-4-base
|
#
1.5 |
|
22-Sep-2006 |
thorpej |
branches: 1.5.8; 1.5.10; - Add a new DRVCTLCOMMAND ioctl to /dev/drvctl. This is a generic "execute a command" ioctl that takes a dictionary as an argument (specifying the command and arguments) and returns a dictionary with the results (error code, optional error message, optional result data).
- Define and implement a "get-properties" command for DRVCTLCOMMAND that returns the properties dictionary of the specified device.
- Add a -p flag to drvctl(8) to fetch and display the properties of the specified device.
This is a great example of how to use prop_dictionary_sendrecv_ioctl().
|
Revision tags: abandoned-netbsd-4-base
|
#
1.4 |
|
02-Jun-2005 |
lukem |
Fix an uninitialized variable issue. Found with gcc -Wuninitialized.
|
Revision tags: netbsd-3-base
|
#
1.3 |
|
20-Jan-2005 |
xtraeme |
branches: 1.3.2; ANSIfy; WARNS=3
|
#
1.2 |
|
18-Aug-2004 |
wiz |
Sync usage with man page.
|
#
1.1 |
|
18-Aug-2004 |
drochner |
add a little utility to exercise the rescan / detach autoconf functions
|
Revision tags: pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
|
#
1.20 |
|
14-Feb-2018 |
jakllsch |
Revert functional changes in previous, at expense of strict KNF conformance.
|
#
1.19 |
|
07-Jan-2018 |
christos |
KNF.
|
Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.18 |
|
07-Dec-2015 |
pgoyette |
synch usage() with the man page.
|
#
1.17 |
|
24-Feb-2015 |
mlelstv |
Let drvctl -p select elements from an array property by numeric index.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
|
#
1.16 |
|
17-Jan-2012 |
wiz |
branches: 1.16.18; Add -n to usage.
|
#
1.15 |
|
16-Jan-2012 |
pgoyette |
Enhance drvctl -p processing to handle new autoconfig info in property dictionaries.
|
Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.14 |
|
19-Oct-2011 |
dyoung |
branches: 1.14.2; Don't print the silly header, "Properties for device `xxx0':", before the device properties if the -n option was given.
|
#
1.13 |
|
29-Aug-2011 |
joerg |
Use __dead
|
#
1.12 |
|
07-Aug-2011 |
jmcneill |
add the -t option that modifies -l behaviour to recursively scan for child devices and print them in tree format:
$ drvctl -lt usb0 uhub0 uhub6 uhidev0 ukbd0 wskbd1 uhidev1 ums0 wsmouse1 uhid0 ubt0
|
#
1.11 |
|
07-Aug-2011 |
jmcneill |
add an optional argument to the -p flag that lets you extract specific property values from the command-line:
$ drvctl -p wd0 disk-info/geometry/cylinders-per-unit 620181 $ drvctl -p wd0 device-driver device-unit wd 0 $ drvctl -p wd0 nonexistent || echo "not found" not found
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.10 |
|
20-Apr-2009 |
dyoung |
Mention -n in usage.
|
#
1.9 |
|
20-Apr-2009 |
dyoung |
Add flag -n to suppress the first column of drvctl -l output.
|
#
1.8 |
|
04-Apr-2009 |
joerg |
If drvctl -l is used without argument, print the root device nodes.
|
#
1.7 |
|
16-Mar-2009 |
lukem |
fix sign-compare issues
|
Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.6 |
|
27-Jan-2008 |
dyoung |
branches: 1.6.10; 1.6.12; 1.6.16; Patch /dev/drvctl and drvctl(8) to let us suspend/resume device sub-trees, and to let us list the children of a device.
While I am here, add -p to the drvctl(8) usage message.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base wrstuden-fixsa-base netbsd-4-base
|
#
1.5 |
|
22-Sep-2006 |
thorpej |
branches: 1.5.8; 1.5.10; - Add a new DRVCTLCOMMAND ioctl to /dev/drvctl. This is a generic "execute a command" ioctl that takes a dictionary as an argument (specifying the command and arguments) and returns a dictionary with the results (error code, optional error message, optional result data).
- Define and implement a "get-properties" command for DRVCTLCOMMAND that returns the properties dictionary of the specified device.
- Add a -p flag to drvctl(8) to fetch and display the properties of the specified device.
This is a great example of how to use prop_dictionary_sendrecv_ioctl().
|
Revision tags: abandoned-netbsd-4-base
|
#
1.4 |
|
02-Jun-2005 |
lukem |
Fix an uninitialized variable issue. Found with gcc -Wuninitialized.
|
Revision tags: netbsd-3-base
|
#
1.3 |
|
20-Jan-2005 |
xtraeme |
branches: 1.3.2; ANSIfy; WARNS=3
|
#
1.2 |
|
18-Aug-2004 |
wiz |
Sync usage with man page.
|
#
1.1 |
|
18-Aug-2004 |
drochner |
add a little utility to exercise the rescan / detach autoconf functions
|
#
1.19 |
|
07-Jan-2018 |
christos |
KNF.
|
Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.18 |
|
07-Dec-2015 |
pgoyette |
synch usage() with the man page.
|
#
1.17 |
|
24-Feb-2015 |
mlelstv |
Let drvctl -p select elements from an array property by numeric index.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
|
#
1.16 |
|
17-Jan-2012 |
wiz |
branches: 1.16.18; Add -n to usage.
|
#
1.15 |
|
16-Jan-2012 |
pgoyette |
Enhance drvctl -p processing to handle new autoconfig info in property dictionaries.
|
Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.14 |
|
19-Oct-2011 |
dyoung |
branches: 1.14.2; Don't print the silly header, "Properties for device `xxx0':", before the device properties if the -n option was given.
|
#
1.13 |
|
29-Aug-2011 |
joerg |
Use __dead
|
#
1.12 |
|
07-Aug-2011 |
jmcneill |
add the -t option that modifies -l behaviour to recursively scan for child devices and print them in tree format:
$ drvctl -lt usb0 uhub0 uhub6 uhidev0 ukbd0 wskbd1 uhidev1 ums0 wsmouse1 uhid0 ubt0
|
#
1.11 |
|
07-Aug-2011 |
jmcneill |
add an optional argument to the -p flag that lets you extract specific property values from the command-line:
$ drvctl -p wd0 disk-info/geometry/cylinders-per-unit 620181 $ drvctl -p wd0 device-driver device-unit wd 0 $ drvctl -p wd0 nonexistent || echo "not found" not found
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.10 |
|
20-Apr-2009 |
dyoung |
Mention -n in usage.
|
#
1.9 |
|
20-Apr-2009 |
dyoung |
Add flag -n to suppress the first column of drvctl -l output.
|
#
1.8 |
|
04-Apr-2009 |
joerg |
If drvctl -l is used without argument, print the root device nodes.
|
#
1.7 |
|
16-Mar-2009 |
lukem |
fix sign-compare issues
|
Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.6 |
|
27-Jan-2008 |
dyoung |
branches: 1.6.10; 1.6.12; 1.6.16; Patch /dev/drvctl and drvctl(8) to let us suspend/resume device sub-trees, and to let us list the children of a device.
While I am here, add -p to the drvctl(8) usage message.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base wrstuden-fixsa-base netbsd-4-base
|
#
1.5 |
|
22-Sep-2006 |
thorpej |
branches: 1.5.8; 1.5.10; - Add a new DRVCTLCOMMAND ioctl to /dev/drvctl. This is a generic "execute a command" ioctl that takes a dictionary as an argument (specifying the command and arguments) and returns a dictionary with the results (error code, optional error message, optional result data).
- Define and implement a "get-properties" command for DRVCTLCOMMAND that returns the properties dictionary of the specified device.
- Add a -p flag to drvctl(8) to fetch and display the properties of the specified device.
This is a great example of how to use prop_dictionary_sendrecv_ioctl().
|
Revision tags: abandoned-netbsd-4-base
|
#
1.4 |
|
02-Jun-2005 |
lukem |
Fix an uninitialized variable issue. Found with gcc -Wuninitialized.
|
Revision tags: netbsd-3-base
|
#
1.3 |
|
20-Jan-2005 |
xtraeme |
branches: 1.3.2; ANSIfy; WARNS=3
|
#
1.2 |
|
18-Aug-2004 |
wiz |
Sync usage with man page.
|
#
1.1 |
|
18-Aug-2004 |
drochner |
add a little utility to exercise the rescan / detach autoconf functions
|
Revision tags: pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.18 |
|
07-Dec-2015 |
pgoyette |
synch usage() with the man page.
|
#
1.17 |
|
24-Feb-2015 |
mlelstv |
Let drvctl -p select elements from an array property by numeric index.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
|
#
1.16 |
|
17-Jan-2012 |
wiz |
branches: 1.16.18; Add -n to usage.
|
#
1.15 |
|
16-Jan-2012 |
pgoyette |
Enhance drvctl -p processing to handle new autoconfig info in property dictionaries.
|
Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.14 |
|
19-Oct-2011 |
dyoung |
branches: 1.14.2; Don't print the silly header, "Properties for device `xxx0':", before the device properties if the -n option was given.
|
#
1.13 |
|
29-Aug-2011 |
joerg |
Use __dead
|
#
1.12 |
|
07-Aug-2011 |
jmcneill |
add the -t option that modifies -l behaviour to recursively scan for child devices and print them in tree format:
$ drvctl -lt usb0 uhub0 uhub6 uhidev0 ukbd0 wskbd1 uhidev1 ums0 wsmouse1 uhid0 ubt0
|
#
1.11 |
|
07-Aug-2011 |
jmcneill |
add an optional argument to the -p flag that lets you extract specific property values from the command-line:
$ drvctl -p wd0 disk-info/geometry/cylinders-per-unit 620181 $ drvctl -p wd0 device-driver device-unit wd 0 $ drvctl -p wd0 nonexistent || echo "not found" not found
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.10 |
|
20-Apr-2009 |
dyoung |
Mention -n in usage.
|
#
1.9 |
|
20-Apr-2009 |
dyoung |
Add flag -n to suppress the first column of drvctl -l output.
|
#
1.8 |
|
04-Apr-2009 |
joerg |
If drvctl -l is used without argument, print the root device nodes.
|
#
1.7 |
|
16-Mar-2009 |
lukem |
fix sign-compare issues
|
Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.6 |
|
27-Jan-2008 |
dyoung |
branches: 1.6.10; 1.6.12; 1.6.16; Patch /dev/drvctl and drvctl(8) to let us suspend/resume device sub-trees, and to let us list the children of a device.
While I am here, add -p to the drvctl(8) usage message.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base wrstuden-fixsa-base netbsd-4-base
|
#
1.5 |
|
22-Sep-2006 |
thorpej |
branches: 1.5.8; 1.5.10; - Add a new DRVCTLCOMMAND ioctl to /dev/drvctl. This is a generic "execute a command" ioctl that takes a dictionary as an argument (specifying the command and arguments) and returns a dictionary with the results (error code, optional error message, optional result data).
- Define and implement a "get-properties" command for DRVCTLCOMMAND that returns the properties dictionary of the specified device.
- Add a -p flag to drvctl(8) to fetch and display the properties of the specified device.
This is a great example of how to use prop_dictionary_sendrecv_ioctl().
|
Revision tags: abandoned-netbsd-4-base
|
#
1.4 |
|
02-Jun-2005 |
lukem |
Fix an uninitialized variable issue. Found with gcc -Wuninitialized.
|
Revision tags: netbsd-3-base
|
#
1.3 |
|
20-Jan-2005 |
xtraeme |
branches: 1.3.2; ANSIfy; WARNS=3
|
#
1.2 |
|
18-Aug-2004 |
wiz |
Sync usage with man page.
|
#
1.1 |
|
18-Aug-2004 |
drochner |
add a little utility to exercise the rescan / detach autoconf functions
|