Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147950544
D35184.id105906.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
962 B
Referenced Files
None
Subscribers
None
D35184.id105906.diff
View Options
Index: misc/utouch-kmod/files/patch-utouch.c
===================================================================
--- /dev/null
+++ misc/utouch-kmod/files/patch-utouch.c
@@ -0,0 +1,25 @@
+--- utouch.c.orig 2022-05-12 20:21:10 UTC
++++ utouch.c
+@@ -511,8 +511,6 @@ static const STRUCT_USB_HOST_ID utouch_devs[] = {
+ USB_IFACE_SUBCLASS(0),},
+ };
+
+-static devclass_t utouch_devclass;
+-
+ static device_method_t utouch_methods[] = {
+ DEVMETHOD(device_probe, utouch_probe),
+ DEVMETHOD(device_attach, utouch_attach),
+@@ -527,7 +525,13 @@ static driver_t utouch_driver = {
+ .size = sizeof(struct utouch_softc),
+ };
+
++#if __FreeBSD_version >= 1400058
++DRIVER_MODULE(utouch, uhub, utouch_driver, NULL, NULL);
++#else
++static devclass_t utouch_devclass;
++
+ DRIVER_MODULE(utouch, uhub, utouch_driver, utouch_devclass, NULL, 0);
++#endif
+ MODULE_DEPEND(utouch, usb, 1, 1, 1);
+ #if __FreeBSD_version >= 1300134
+ MODULE_DEPEND(utouch, hid, 1, 1, 1);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 15, 8:56 PM (16 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29733891
Default Alt Text
D35184.id105906.diff (962 B)
Attached To
Mode
D35184: misc/utouch-kmod: Bump to 0.0.4.
Attached
Detach File
Event Timeline
Log In to Comment