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
This commit is contained in:
Warner Losh 2023-10-27 15:23:40 -06:00
parent f42bb99ad5
commit dbf203548b

View File

@ -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.