Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167911018
D6603.id17132.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
749 B
Referenced Files
None
Subscribers
None
D6603.id17132.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D6603: hyperv/vmbus: Move global vmbus id array to stack.
Attached
Detach File
Event Timeline
Log In to Comment