summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2022-01-08 15:23:43 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2022-01-08 15:23:43 +0000
commit3ee9d31849a38b72d5f0f6010466a3c4d1b60bb1 (patch)
treed505be0134b884cad323c7e272cb0f561073c26a /sys
parent9247f64f7d93af0232664f292ba3e9f1f608d196 (diff)
Oops, missed a compatible string in the previous commit.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm64/dev/aplns.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/arm64/dev/aplns.c b/sys/arch/arm64/dev/aplns.c
index 6ce6dd50045..865dc6c2a3e 100644
--- a/sys/arch/arm64/dev/aplns.c
+++ b/sys/arch/arm64/dev/aplns.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aplns.c,v 1.8 2022/01/04 20:55:48 kettenis Exp $ */
+/* $OpenBSD: aplns.c,v 1.9 2022/01/08 15:23:42 kettenis Exp $ */
/*
* Copyright (c) 2014, 2021 David Gwynne <dlg@openbsd.org>
*
@@ -98,7 +98,8 @@ aplns_match(struct device *parent, void *match, void *aux)
{
struct fdt_attach_args *faa = aux;
- return (OF_is_compatible(faa->fa_node, "apple,nvme-m1"));
+ return (OF_is_compatible(faa->fa_node, "apple,nvme-m1") ||
+ OF_is_compatible(faa->fa_node, "apple,nvme-ans2"));
}
void