From 3fe2ad95f99e2444f87ab8d1b6eda10bdf29166f Mon Sep 17 00:00:00 2001 From: eadler Date: Mon, 22 Oct 2012 04:18:17 +0000 Subject: 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 --- sys/dev/mpt/mpt_pci.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sys/dev/mpt/mpt_pci.c') diff --git a/sys/dev/mpt/mpt_pci.c b/sys/dev/mpt/mpt_pci.c index cd55b4b..f1fb018 100644 --- a/sys/dev/mpt/mpt_pci.c +++ b/sys/dev/mpt/mpt_pci.c @@ -268,11 +268,6 @@ mpt_set_options(struct mpt_softc *mpt) 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) { mpt->verbose = tval; } -- cgit v1.1