git: 713595ca498d - releng/13.1 - devd: remove the scsi regexp
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Mar 2022 23:54:24 UTC
The branch releng/13.1 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=713595ca498d66d8520d135ade1ae8202b1fcb9d commit 713595ca498d66d8520d135ade1ae8202b1fcb9d Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-01-09 17:13:58 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-03-29 23:54:00 +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. Approved by: re@ (gjb) Sponsored by: Netflix (cherry picked from commit 926e825ef823f49e371f61780634475a1f19c812) (cherry picked from commit cb95daaa91895a74a2f6d2db0d0773517a34ab99) --- 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