FreeBSD Bugzilla – Attachment 235500 Details for
Bug 265458
comms/uarduno: Remove devclass from DRIVER_MODULE on recent main
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
the actual patch referenced by submitter
uarduno.c.patch (text/plain), 1.10 KB, created by
Bob Frazier
on 2022-07-26 23:08:52 UTC
(
hide
)
Description:
the actual patch referenced by submitter
Filename:
MIME Type:
Creator:
Bob Frazier
Created:
2022-07-26 23:08:52 UTC
Size:
1.10 KB
patch
obsolete
>--- uarduno.c.orig 2022-07-26 16:34:54 UTC >+++ uarduno.c >@@ -242,7 +242,11 @@ static driver_t uarduno_driver = > sizeof(struct uarduno_softc) > }; > >+#if __FreeBSD_version >= 1400058 >+DRIVER_MODULE(uarduno, uhub, uarduno_driver, usbd_driver_load, NULL); >+#else > DRIVER_MODULE(uarduno, uhub, uarduno_driver, ucom_devclass, usbd_driver_load, 0); >+#endif > MODULE_DEPEND(uarduno, usb, 1, 1, 1); > MODULE_DEPEND(uarduno, ucom, UCOM_MINVER, UCOM_PREFVER, UCOM_MAXVER); > MODULE_VERSION(uarduno, UARDUNO_MODVER); >@@ -1120,8 +1124,6 @@ static device_method_t uarduno_methods[] = > {0, 0} > }; > >-static devclass_t uarduno_devclass; >- > static driver_t uarduno_driver = > { > .name = "uarduno", >@@ -1129,7 +1131,13 @@ static driver_t uarduno_driver = > .size = sizeof(struct uarduno_softc), > }; > >+#if __FreeBSD_version >= 1400058 >+DRIVER_MODULE(uarduno, uhub, uarduno_driver, NULL, NULL); >+#else >+static devclass_t uarduno_devclass; >+ > DRIVER_MODULE(uarduno, uhub, uarduno_driver, uarduno_devclass, NULL, 0); >+#endif > MODULE_DEPEND(uarduno, ucom, 1, 1, 1); > MODULE_DEPEND(uarduno, usb, 1, 1, 1); > MODULE_VERSION(uarduno, UARDUNO_MODVER);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 265458
: 235500