Page MenuHomeFreeBSD

D6603.id17132.diff
No OneTemporary

D6603.id17132.diff

Index: head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
===================================================================
--- head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
+++ head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
@@ -70,8 +70,6 @@
struct vmbus_softc *vmbus_sc;
-static char *vmbus_ids[] = { "VMBUS", NULL };
-
extern inthand_t IDTVEC(vmbus_isr);
static void
@@ -569,7 +567,9 @@
static int
vmbus_probe(device_t dev)
{
- if (ACPI_ID_PROBE(device_get_parent(dev), dev, vmbus_ids) == NULL ||
+ char *id[] = { "VMBUS", NULL };
+
+ if (ACPI_ID_PROBE(device_get_parent(dev), dev, id) == NULL ||
device_get_unit(dev) != 0 || vm_guest != VM_GUEST_HV ||
(hyperv_features & CPUID_HV_MSR_SYNIC) == 0)
return (ENXIO);

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 26, 9:42 AM (7 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37283860
Default Alt Text
D6603.id17132.diff (749 B)

Event Timeline