git: dbf203548b6b - main - devd: Remove obsolete / wrong nomatch examples
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Oct 2023 21:24:26 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=dbf203548b6b6188c290f4ef9b70c5b7c65fefea
commit dbf203548b6b6188c290f4ef9b70c5b7c65fefea
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-10-27 21:23:40 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-10-27 21:24:19 +0000
devd: Remove obsolete / wrong nomatch examples
These examples are wrong, and with devmatch, nobody would ever see them
(since it's a higher priority).
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D42325
---
sbin/devd/devd.conf | 23 -----------------------
1 file changed, 23 deletions(-)
diff --git a/sbin/devd/devd.conf b/sbin/devd/devd.conf
index ea8421e76d61..d793dd296437 100644
--- a/sbin/devd/devd.conf
+++ b/sbin/devd/devd.conf
@@ -75,29 +75,6 @@ detach 100 {
# action "sleep 2 && /usr/sbin/ath3kfw -d $device-name -f /usr/local/etc/ath3k-1.fw";
#};
-# Don't even try to second guess what to do about drivers that don't
-# match here. Instead, pass it off to syslog. Commented out for the
-# moment, as the pnpinfo variable isn't set in devd yet. Individual
-# variables within the bus supplied pnpinfo are set.
-nomatch 0 {
-# action "logger Unknown device: $pnpinfo $location $bus";
-};
-
-# Various logging of unknown devices.
-nomatch 10 {
- match "bus" "uhub[0-9]+";
- action "logger Unknown USB device: vendor $vendor product $product \
- bus $bus";
-};
-
-# Some Cardbus cards don't offer numerical manufacturer/product IDs, just
-# show the CIS info there.
-nomatch 10 {
- match "bus" "cardbus[0-9]+";
- action "logger Unknown Cardbus device: device $device class $class \
- vendor $vendor bus $bus";
-};
-
# Notify all users before beginning emergency shutdown when we get
# a _CRT or _HOT thermal event and we're going to power down the system
# very soon.