artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f365b0
)
Add another pin to the SC7180 map function.
author
kettenis
<kettenis@openbsd.org>
Sat, 10 Sep 2022 14:32:53 +0000
(14:32 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sat, 10 Sep 2022 14:32:53 +0000
(14:32 +0000)
sys/dev/acpi/qcgpio.c
patch
|
blob
|
history
diff --git
a/sys/dev/acpi/qcgpio.c
b/sys/dev/acpi/qcgpio.c
index
532e89a
..
36cdea8
100644
(file)
--- a/
sys/dev/acpi/qcgpio.c
+++ b/
sys/dev/acpi/qcgpio.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: qcgpio.c,v 1.
3 2022/09/10 13:14:39
kettenis Exp $ */
+/* $OpenBSD: qcgpio.c,v 1.
4 2022/09/10 14:32:53
kettenis Exp $ */
/*
* Copyright (c) 2022 Mark Kettenis <kettenis@openbsd.org>
*
@@
-183,6
+183,10
@@
qcgpio_sc7180_pin_map(int pin, bus_size_t *off)
case 0x180:
*off = QCGPIO_SC7180_NORTH;
return 33;
+ case 94:
+ case 0x1c0:
+ *off = QCGPIO_SC7180_SOUTH;
+ return 94;
default:
return -1;
}