git: cb95daaa9189 - stable/13 - devd: remove the scsi regexp

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sat, 19 Mar 2022 14:00:47 UTC
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=cb95daaa91895a74a2f6d2db0d0773517a34ab99

commit cb95daaa91895a74a2f6d2db0d0773517a34ab99
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-01-09 17:13:58 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-03-19 13:59:07 +0000

    devd: remove the scsi regexp
    
    We don't really use the scsi regexp for anything. The rescan was a
    workaround that was fixed a long time ago and has been disabled for
    ages. And the regexp was incomplete.
    
    Sponsored by:           Netflix
    
    (cherry picked from commit 926e825ef823f49e371f61780634475a1f19c812)
---
 sbin/devd/devd.conf | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/sbin/devd/devd.conf b/sbin/devd/devd.conf
index d88f1fde743c..1836afe589e4 100644
--- a/sbin/devd/devd.conf
+++ b/sbin/devd/devd.conf
@@ -18,10 +18,6 @@ options {
 
 	# Setup some shorthand for regex that we use later in the file.
 	#XXX Yes, these are gross -- imp
-	set scsi-controller-regex
-		"(aac|aacraid|ahc|ahd|amr|ciss|\
-		esp|ida|iir|ips|isp|mlx|mly|mpr|mps|mpt|sym|trm)\
-		[0-9]+";
 	set wifi-driver-regex
 		"(ath|bwi|bwn|ipw|iwi|iwm|iwn|malo|mwl|otus|ral|rsu|rtwn|rum|\
 		run|uath|upgt|ural|urtw|wi|wpi|wtap|zyd)[0-9]+";
@@ -155,15 +151,6 @@ notify 100 {
 	action "service moused stop $cdev";
 };
 
-#
-# Rescan SCSI device-names on attach, but not detach.  However, it is
-# disabled by default due to reports of problems.
-#
-attach 0 {
-	device-name "$scsi-controller-regex";
-//	action "camcontrol rescan all";
-};
-
 # 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