svn commit: r241863 - head/sys/dev/mpt
Eitan Adler
eadler at FreeBSD.org
Mon Oct 22 04:18:17 UTC 2012
Author: eadler
Date: Mon Oct 22 04:18:17 2012
New Revision: 241863
URL: http://svn.freebsd.org/changeset/base/241863
Log:
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
Modified:
head/sys/dev/mpt/mpt_pci.c
Modified: head/sys/dev/mpt/mpt_pci.c
==============================================================================
--- head/sys/dev/mpt/mpt_pci.c Mon Oct 22 03:57:00 2012 (r241862)
+++ head/sys/dev/mpt/mpt_pci.c Mon Oct 22 04:18:17 2012 (r241863)
@@ -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;
}
More information about the svn-src-all
mailing list