diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-08-19 07:27:12 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-08-19 07:27:12 +0000 |
commit | 989d35587d7e6ae294456a47b51285a48d9380a2 (patch) | |
tree | b38fcd84c787801460b2edf3a1e5f50d178d7c49 /sys/arch | |
parent | 6cfd942378666e3c2d22aa22e72a273ceb6454ac (diff) |
match on r40 ahci
tested by and ok jsing@ ok kettenis@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/armv7/sunxi/sxiahci.c | 5 |
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 |