FreeBSD Bugzilla – Attachment 220245 Details for
Bug 250711
atkbdc: No Keyboard on System76 lemur Pro laptop with 12.1 (11.4 Ok)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Example patch how to fix quirks processing bug introduced in r367349
fix_atkbdc_quirks.diff (text/plain), 705 bytes, created by
Michael Gmelin
on 2020-12-04 12:32:04 UTC
(
hide
)
Description:
Example patch how to fix quirks processing bug introduced in r367349
Filename:
MIME Type:
Creator:
Michael Gmelin
Created:
2020-12-04 12:32:04 UTC
Size:
705 bytes
patch
obsolete
>Index: sys/dev/atkbdc/atkbdc.c >=================================================================== >--- sys/dev/atkbdc/atkbdc.c (revision 368327) >+++ sys/dev/atkbdc/atkbdc.c (working copy) >@@ -133,11 +133,13 @@ > char* maker = kern_getenv("smbios.system.maker"); > char* product = kern_getenv("smbios.system.product"); > >- for (i=0; quirks[i].quirk != 0; ++i) >+ for (i=0; quirks[i].bios_vendor != NULL || quirks[i].maker != NULL || >+ quirks[i].product != NULL; ++i) { > if (QUIRK_STR_MATCH(quirks[i].bios_vendor, bios_vendor) && > QUIRK_STR_MATCH(quirks[i].maker, maker) && > QUIRK_STR_MATCH(quirks[i].product, product)) > return (quirks[i].quirk); >+ } > > return (0); > }
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 250711
:
219189
|
219192
|
219226
|
219267
|
219311
| 220245