artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bff3e64
)
Match sifive,fu740-c000-gem so that device is detected on Unmatched.
author
drahn
<drahn@openbsd.org>
Sun, 13 Jun 2021 02:56:48 +0000
(
02:56
+0000)
committer
drahn
<drahn@openbsd.org>
Sun, 13 Jun 2021 02:56:48 +0000
(
02:56
+0000)
pointed out by jsg@
sys/dev/fdt/if_cad.c
patch
|
blob
|
history
diff --git
a/sys/dev/fdt/if_cad.c
b/sys/dev/fdt/if_cad.c
index
4975709
..
d8cbb70
100644
(file)
--- a/
sys/dev/fdt/if_cad.c
+++ b/
sys/dev/fdt/if_cad.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_cad.c,v 1.
1 2021/05/28 15:52:11 visa Exp $
*/
+/* $OpenBSD: if_cad.c,v 1.
2 2021/06/13 02:56:48 drahn Exp $
*/
/*
* Copyright (c) 2021 Visa Hankala
@@
-345,7
+345,8
@@
cad_match(struct device *parent, void *match, void *aux)
{
struct fdt_attach_args *faa = aux;
- return OF_is_compatible(faa->fa_node, "cdns,gem");
+ return (OF_is_compatible(faa->fa_node, "cdns,gem") ||
+ OF_is_compatible(faa->fa_node, "sifive,fu740-c000-gem"));
}
void