Date: Mon, 30 May 2016 09:44:17 +0000 (UTC) From: Sepherosa Ziehau <sephe@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r300994 - head/sys/dev/hyperv/vmbus Message-ID: <201605300944.u4U9iHu0011548@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sephe Date: Mon May 30 09:44:17 2016 New Revision: 300994 URL: https://svnweb.freebsd.org/changeset/base/300994 Log: hyperv/et: Allow Hyper-V event timer be disabled MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6599 Modified: head/sys/dev/hyperv/vmbus/hv_et.c Modified: head/sys/dev/hyperv/vmbus/hv_et.c ============================================================================== --- head/sys/dev/hyperv/vmbus/hv_et.c Mon May 30 09:35:36 2016 (r300993) +++ head/sys/dev/hyperv/vmbus/hv_et.c Mon May 30 09:44:17 2016 (r300994) @@ -113,6 +113,9 @@ vmbus_et_identify(driver_t *driver, devi static int vmbus_et_probe(device_t dev) { + if (resource_disabled(VMBUS_ET_NAME, 0)) + return (ENXIO); + device_set_desc(dev, "Hyper-V event timer"); return (BUS_PROBE_NOWILDCARD);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605300944.u4U9iHu0011548>