<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/devctl, branch release/12.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Add freeze/thaw description to devctl(8)</title>
<updated>2021-06-10T15:28:38+00:00</updated>
<author>
<name>Li-Wen Hsu</name>
<email>lwhsu@FreeBSD.org</email>
</author>
<published>2021-06-01T04:33:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1e83183d38d5ab0bb9971b95d088662402153988'/>
<id>1e83183d38d5ab0bb9971b95d088662402153988</id>
<content type='text'>
This is a follow-up to 5fa29797910346fc0c54829bd979856e83b9b7ea .

PR:		256311
Reviewed by:	imp
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D29867

(cherry picked from commit 315674fb6acc4fa54cf82de3863c349c5a71f498)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a follow-up to 5fa29797910346fc0c54829bd979856e83b9b7ea .

PR:		256311
Reviewed by:	imp
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D29867

(cherry picked from commit 315674fb6acc4fa54cf82de3863c349c5a71f498)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r368808: devctl(8): Correct "sections out of conventional order" error</title>
<updated>2020-12-27T08:33:23+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2020-12-19T13:05:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b1ef73a2be86b382846fded7693c33a8d8b18ee8'/>
<id>b1ef73a2be86b382846fded7693c33a8d8b18ee8</id>
<content type='text'>
(cherry picked from commit 267d86e15dbc9156c35ea07a5d8063013758431c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 267d86e15dbc9156c35ea07a5d8063013758431c)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r344855 (by jhb):</title>
<updated>2020-11-07T18:10:59+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2020-11-07T18:10:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=efe707b9b5cf7fa084dedae98f10bbd24546bf55'/>
<id>efe707b9b5cf7fa084dedae98f10bbd24546bf55</id>
<content type='text'>
Drop "All rights reserved" from my copyright statements.

Reviewed by:	rgrimes
Differential Revision:	https://reviews.freebsd.org/D19485
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drop "All rights reserved" from my copyright statements.

Reviewed by:	rgrimes
Differential Revision:	https://reviews.freebsd.org/D19485
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r345966, r345968:</title>
<updated>2019-04-19T12:54:05+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2019-04-19T12:54:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f6feb11f85cd6ff3a017a859e95c0b25e4c02774'/>
<id>f6feb11f85cd6ff3a017a859e95c0b25e4c02774</id>
<content type='text'>
Implement devctl(8) command 'reset', using DEV_RESET /dev/devctl2 ioctl.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement devctl(8) command 'reset', using DEV_RESET /dev/devctl2 ioctl.
</pre>
</div>
</content>
</entry>
<entry>
<title>Create devctl freeze/thaw.</title>
<updated>2018-08-23T05:05:47+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-08-23T05:05:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5fa29797910346fc0c54829bd979856e83b9b7ea'/>
<id>5fa29797910346fc0c54829bd979856e83b9b7ea</id>
<content type='text'>
This adds it to devctl, libdevctl, defines the two IOCTLs and
implements the kernel bits. causes any new drivers that are added via
kldload to be deferred until a 'thaw' comes in. These do not stack: it
is an error to freeze while frozen, or thaw while thawed.

Differential Revision: https://reviews.freebsd.org/D16735
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds it to devctl, libdevctl, defines the two IOCTLs and
implements the kernel bits. causes any new drivers that are added via
kldload to be deferred until a 'thaw' comes in. These do not stack: it
is an error to freeze while frozen, or thaw while thawed.

Differential Revision: https://reviews.freebsd.org/D16735
</pre>
</div>
</content>
</entry>
<entry>
<title>DIRDEPS_BUILD: Update dependencies.</title>
<updated>2017-10-31T00:07:04+00:00</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-10-31T00:07:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ea825d02749f382c3f7e17f28247f20a48733eab'/>
<id>ea825d02749f382c3f7e17f28247f20a48733eab</id>
<content type='text'>
Sponsored by:	Dell EMC Isilon
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sponsored by:	Dell EMC Isilon
</pre>
</div>
</content>
</entry>
<entry>
<title>o Missed flag restored.</title>
<updated>2017-05-19T20:02:32+00:00</updated>
<author>
<name>Maxim Konovalov</name>
<email>maxim@FreeBSD.org</email>
</author>
<published>2017-05-19T20:02:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6dce7e9908a12ec9f2c236e33fce1ec08f9c0e60'/>
<id>6dce7e9908a12ec9f2c236e33fce1ec08f9c0e60</id>
<content type='text'>
PR:		219395
Submitted by:	Tiwei Bie
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		219395
Submitted by:	Tiwei Bie
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement 'devctl clear driver' to undo a previous 'devctl set driver'.</title>
<updated>2016-08-29T22:48:36+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2016-08-29T22:48:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e05ec081fe81beb79567b82723bd045aa50f19c0'/>
<id>e05ec081fe81beb79567b82723bd045aa50f19c0</id>
<content type='text'>
Add a new 'clear driver' command for devctl along with the accompanying
ioctl and devctl_clear_driver() library routine to reset a device to
use a wildcard devclass instead of a fixed devclass.  This can be used
to undo a previous 'set driver' command.  After the device's name has
been reset to permit wildcard names, it is reprobed so that it can
attach to newly-available (to it) device drivers.

MFC after:	1 month
Sponsored by:	Chelsio Communications
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new 'clear driver' command for devctl along with the accompanying
ioctl and devctl_clear_driver() library routine to reset a device to
use a wildcard devclass instead of a fixed devclass.  This can be used
to undo a previous 'set driver' command.  After the device's name has
been reset to permit wildcard names, it is reprobed so that it can
attach to newly-available (to it) device drivers.

MFC after:	1 month
Sponsored by:	Chelsio Communications
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 'devctl delete' that calls device_delete_child().</title>
<updated>2016-04-27T16:33:17+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2016-04-27T16:33:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=88eb5c506d00e446dcfeb0f84b36d5132a8d9f6b'/>
<id>88eb5c506d00e446dcfeb0f84b36d5132a8d9f6b</id>
<content type='text'>
'devctl delete' can be used to delete a device that is no longer present.
As an anti-foot-shooting measure, 'delete' will not delete a device
unless it's parent bus says it is no longer present.  This can be
overridden by passing the force ('-f') flag.

Note that this command should be used with care.  If a device is deleted
that is actually present it can't be resurrected unless the parent bus
device's driver supports rescans.

Differential Revision:	https://reviews.freebsd.org/D6019
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'devctl delete' can be used to delete a device that is no longer present.
As an anti-foot-shooting measure, 'delete' will not delete a device
unless it's parent bus says it is no longer present.  This can be
overridden by passing the force ('-f') flag.

Note that this command should be used with care.  If a device is deleted
that is actually present it can't be resurrected unless the parent bus
device's driver supports rescans.

Differential Revision:	https://reviews.freebsd.org/D6019
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a new rescan method to the bus interface.</title>
<updated>2016-04-27T16:29:03+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2016-04-27T16:29:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a907c6914c5879870b2597a63253cea0a5b7bdb8'/>
<id>a907c6914c5879870b2597a63253cea0a5b7bdb8</id>
<content type='text'>
The BUS_RESCAN() method rescans a single bus device checking for devices
that have been added or removed from the bus.  A new 'rescan' command is
added to devctl(8) to trigger a rescan.

Differential Revision:	https://reviews.freebsd.org/D6016
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The BUS_RESCAN() method rescans a single bus device checking for devices
that have been added or removed from the bus.  A new 'rescan' command is
added to devctl(8) to trigger a rescan.

Differential Revision:	https://reviews.freebsd.org/D6016
</pre>
</div>
</content>
</entry>
</feed>
