artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1627b89
)
Enable the keyboard on the Samsung Galaxy Book Go.
author
mglocker
<mglocker@openbsd.org>
Thu, 15 Sep 2022 18:03:52 +0000
(18:03 +0000)
committer
mglocker
<mglocker@openbsd.org>
Thu, 15 Sep 2022 18:03:52 +0000
(18:03 +0000)
Help from kettenis@, "Nice!" deraadt@
sys/dev/acpi/qcgpio.c
patch
|
blob
|
history
diff --git
a/sys/dev/acpi/qcgpio.c
b/sys/dev/acpi/qcgpio.c
index
0d5ff38
..
330c1c1
100644
(file)
--- a/
sys/dev/acpi/qcgpio.c
+++ b/
sys/dev/acpi/qcgpio.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: qcgpio.c,v 1.
5 2022/09/12 17:42:31 kettenis
Exp $ */
+/* $OpenBSD: qcgpio.c,v 1.
6 2022/09/15 18:03:52 mglocker
Exp $ */
/*
* Copyright (c) 2022 Mark Kettenis <kettenis@openbsd.org>
*
@@
-186,6
+186,10
@@
qcgpio_sc7180_pin_map(int pin, bus_size_t *off)
case 30:
*off = QCGPIO_SC7180_SOUTH;
return 30;
+ case 32:
+ case 0x140:
+ *off = QCGPIO_SC7180_NORTH;
+ return 32;
case 33:
case 0x180:
*off = QCGPIO_SC7180_NORTH;