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
This commit is contained in:
parent
85056a56f3
commit
926e825ef8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user