<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sbin/devmatch/devmatch.c, branch upstream/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F13.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F13.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-10-31T22:04:13Z</updated>
<entry>
<title>devmatch(8): Respect mask field when matching strings of Z type.</title>
<updated>2020-10-31T22:04:13Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-10-31T22:04:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3bdb68463337cd6bba397b21b8883b9b8885dd8a'/>
<id>urn:sha1:3bdb68463337cd6bba397b21b8883b9b8885dd8a</id>
<content type='text'>
While here, add debug output for this action.

Reviewed by:	imp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D26823
</content>
</entry>
<entry>
<title>Regularize the Netflix copyright</title>
<updated>2019-02-04T21:28:25Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2019-02-04T21:28:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=52467047aa7dd6d21f6303b28e4278cab2d8fe48'/>
<id>urn:sha1:52467047aa7dd6d21f6303b28e4278cab2d8fe48</id>
<content type='text'>
Use recent best practices for Copyright form at the top of
the license:
1. Remove all the All Rights Reserved clauses on our stuff. Where we
   piggybacked others, use a separate line to make things clear.
2. Use "Netflix, Inc." everywhere.
3. Use a single line for the copyright for grep friendliness.
4. Use date ranges in all places for our stuff.

Approved by: Netflix Legal (who gave me the form), adrian@ (pmc files)
</content>
</entry>
<entry>
<title>Add in a missing newline</title>
<updated>2018-08-25T15:47:52Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-08-25T15:47:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4a82f3685176706671af0b09a668acc86ee8de64'/>
<id>urn:sha1:4a82f3685176706671af0b09a668acc86ee8de64</id>
<content type='text'>
In the conversion, the newline got stripped. It worked fine when there
was only one module, but not when there are many. Add back the missing
newline.

Approved by: re@ (kib)
PR: 230868
Differential Revision: https://reviews.freebsd.org/D16895
</content>
</entry>
<entry>
<title>When trying to match the nomatch event passed to us, attempt to look</title>
<updated>2018-08-23T05:06:22Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-08-23T05:06:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ce1ba01c8a9a3fd1fd8c0860c039a89bc11eb850'/>
<id>urn:sha1:ce1ba01c8a9a3fd1fd8c0860c039a89bc11eb850</id>
<content type='text'>
up the device described by the nomatch event in the device tree. If we
find it, then if the device is marked as have already attached to a
device once, then ignore the device.

This keeps us from reloading the device driver when it has just been
manually unloaded. All devies that have had a driver attach to them at
least once no longer participate in pnp-based autoloading.

Differential Revision: https://reviews.freebsd.org/D16735
</content>
</entry>
<entry>
<title>Add a new device flag: DF_ATTACHED_ONCE</title>
<updated>2018-08-23T05:06:16Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-08-23T05:06:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d36967bd2b32e8a790830e2fa45163729c7e8b00'/>
<id>urn:sha1:d36967bd2b32e8a790830e2fa45163729c7e8b00</id>
<content type='text'>
This flag is set once the device has been successfully attached. When
set, it inhibits devmatch from trying to match the device. This in
turn allows kldunload to work as expected. Prior to the change, the
driver would immediately reload because devmatch had no notion that
the driver had once been attached, and therefore shouldn't participate
in further matching.

Differential Revision: https://reviews.freebsd.org/D16735
</content>
</entry>
<entry>
<title>Remove sorting of matches and print all the matches as we find them.</title>
<updated>2018-08-23T05:06:11Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-08-23T05:06:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=84725a5fd073b115f45c507f3fef62a522bce466'/>
<id>urn:sha1:84725a5fd073b115f45c507f3fef62a522bce466</id>
<content type='text'>
This backs out the hack we added in r329458. Now that we can freeze /
thaw probing, this is a much better solution to that problem. Revert
to simply printing the results as we find them, and relying on an
external sort | uniq to clean up the list.

Differential Revision: https://reviews.freebsd.org/D16735
</content>
</entry>
<entry>
<title>Exit with an error if a linker hints file can't be found.</title>
<updated>2018-06-14T22:31:30Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2018-06-14T22:31:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=44a230cd9233f354a7287e6fabbb9131148e747b'/>
<id>urn:sha1:44a230cd9233f354a7287e6fabbb9131148e747b</id>
<content type='text'>
Continuing with a NULL hints variable just triggers a segfault later on.
The other error cases in this function all exit for an error rather than
warning.

Reviewed by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D15579
</content>
</entry>
<entry>
<title>More verbose output.</title>
<updated>2018-02-20T05:35:00Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-02-20T05:35:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c798d98e75c7410f31a7760ec734221ff920b84d'/>
<id>urn:sha1:c798d98e75c7410f31a7760ec734221ff920b84d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Print more info for -v runs and temp hack for usb vs uhub</title>
<updated>2018-02-18T23:16:16Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-02-18T23:16:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bbd4852a9bf966629fab176064b0a6bf15e16fc7'/>
<id>urn:sha1:bbd4852a9bf966629fab176064b0a6bf15e16fc7</id>
<content type='text'>
Despite best efforts to regularize, there's a few tables in the system
that still report they are for bus usb when they are really for bus
uhub (where usb devices attach). Add a temporary workaround for this
until these places have been eliminated (likely my fault).

Second, when running verbose, describe what we're doing when
searching. This output can be quite long, but says exactly what's
going on (this output is to stdout, so it's useless for scripting).
</content>
</entry>
<entry>
<title>Fix USB driver matching in devmatch(8).</title>
<updated>2018-02-17T14:34:47Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2018-02-17T14:34:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=201c73815f0514c49b2d2ad6f0ea5a3cae726212'/>
<id>urn:sha1:201c73815f0514c49b2d2ad6f0ea5a3cae726212</id>
<content type='text'>
Multiple drivers can match on the same USB device and the order of loading
decides which driver gets the device. Use the supplied mask value as an
indication of priority, so that vendor specific device drivers are loaded
before more generic ones.

Sponsored by:	Mellanox Technologies
</content>
</entry>
</feed>
