From: kettenis Date: Sat, 10 Sep 2022 14:32:53 +0000 (+0000) Subject: Add another pin to the SC7180 map function. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c00ac04e6ea20b38c6ae769932e02b0e9a3965d0;p=openbsd Add another pin to the SC7180 map function. --- diff --git a/sys/dev/acpi/qcgpio.c b/sys/dev/acpi/qcgpio.c index 532e89ab360..36cdea85627 100644 --- 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 * @@ -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; }