Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108056971
D35001.id105231.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
762 B
Referenced Files
None
Subscribers
None
D35001.id105231.diff
View Options
Index: sys/dev/xen/bus/xenpv.c
===================================================================
--- sys/dev/xen/bus/xenpv.c
+++ sys/dev/xen/bus/xenpv.c
@@ -77,7 +77,7 @@
return;
/* Make sure there's only one xenpv device. */
- if (devclass_get_device(xenpv_devclass, 0))
+ if (devclass_get_device(devclass_find("xenpv"), 0))
return;
/*
Index: sys/dev/xen/timer/timer.c
===================================================================
--- sys/dev/xen/timer/timer.c
+++ sys/dev/xen/timer/timer.c
@@ -109,7 +109,7 @@
return;
/* Handle all Xen PV timers in one device instance. */
- if (devclass_get_device(xentimer_devclass, 0))
+ if (devclass_get_device(devclass_find("xen_et"), 0))
return;
BUS_ADD_CHILD(parent, 0, "xen_et", 0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 22, 12:02 AM (20 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16022115
Default Alt Text
D35001.id105231.diff (762 B)
Attached To
Mode
D35001: xen: Use devclass_find to lookup devclasses in identify.
Attached
Detach File
Event Timeline
Log In to Comment