Now that device disabling is generic, remove the non-standard
implementation from mpt Don't MFC this to retain backwards compatibility. Reviewed by: des, mjacob Approved by: cperciva
This commit is contained in:
parent
2beb708522
commit
c39df7897f
@ -266,11 +266,6 @@ mpt_set_options(struct mpt_softc *mpt)
|
||||
{
|
||||
int tval;
|
||||
|
||||
tval = 0;
|
||||
if (resource_int_value(device_get_name(mpt->dev),
|
||||
device_get_unit(mpt->dev), "disable", &tval) == 0 && tval != 0) {
|
||||
mpt->disabled = 1;
|
||||
}
|
||||
tval = 0;
|
||||
if (resource_int_value(device_get_name(mpt->dev),
|
||||
device_get_unit(mpt->dev), "debug", &tval) == 0 && tval != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user