summaryrefslogtreecommitdiffstats
path: root/sys/dev/mpt/mpt_pci.c
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-22 04:18:17 +0000
committereadler <eadler@FreeBSD.org>2012-10-22 04:18:17 +0000
commit3fe2ad95f99e2444f87ab8d1b6eda10bdf29166f (patch)
tree1e72fdb2ca1cab12a2360f255e8d19f0fa7e9e1e /sys/dev/mpt/mpt_pci.c
parent81826d4eaa973b897985a61a91c923c3e973b890 (diff)
downloadFreeBSD-src-3fe2ad95f99e2444f87ab8d1b6eda10bdf29166f.zip
FreeBSD-src-3fe2ad95f99e2444f87ab8d1b6eda10bdf29166f.tar.gz
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
Diffstat (limited to 'sys/dev/mpt/mpt_pci.c')
-rw-r--r--sys/dev/mpt/mpt_pci.c5
1 files changed, 0 insertions, 5 deletions
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;
}
OpenPOWER on IntegriCloud