hyperv/et: Allow Hyper-V event timer be disabled
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6599
This commit is contained in:
parent
6072b2511c
commit
496d023db3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300994
@ -113,6 +113,9 @@ vmbus_et_identify(driver_t *driver, device_t parent)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user