Date: Mon, 22 Oct 2012 04:18:17 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241863 - head/sys/dev/mpt Message-ID: <201210220418.q9M4IHRK030368@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210220418.q9M4IHRK030368>