summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-08-19 07:27:12 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-08-19 07:27:12 +0000
commit989d35587d7e6ae294456a47b51285a48d9380a2 (patch)
treeb38fcd84c787801460b2edf3a1e5f50d178d7c49
parent6cfd942378666e3c2d22aa22e72a273ceb6454ac (diff)
match on r40 ahci
tested by and ok jsing@ ok kettenis@
-rw-r--r--sys/arch/armv7/sunxi/sxiahci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/armv7/sunxi/sxiahci.c b/sys/arch/armv7/sunxi/sxiahci.c
index 194005ab642..f3ec6f7670a 100644
--- a/sys/arch/armv7/sunxi/sxiahci.c
+++ b/sys/arch/armv7/sunxi/sxiahci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sxiahci.c,v 1.14 2018/06/04 09:19:52 kettenis Exp $ */
+/* $OpenBSD: sxiahci.c,v 1.15 2019/08/19 07:27:11 jsg Exp $ */
/*
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2013,2014 Artturi Alm
@@ -87,7 +87,8 @@ sxiahci_match(struct device *parent, void *match, void *aux)
{
struct fdt_attach_args *faa = aux;
- return OF_is_compatible(faa->fa_node, "allwinner,sun4i-a10-ahci");
+ return OF_is_compatible(faa->fa_node, "allwinner,sun4i-a10-ahci") ||
+ OF_is_compatible(faa->fa_node, "allwinner,sun8i-r40-ahci");
}
void