The branch main has been updated by imp:

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

commit 926e825ef823f49e371f61780634475a1f19c812
Author:     Warner Losh <[email protected]>
AuthorDate: 2022-01-09 17:13:58 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2022-01-09 17:13:58 +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
---
 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

Reply via email to