diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-04-03 09:31:01 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-04-03 09:31:01 +0000 |
commit | 6a6c468544e0dca757d0bb89525574323ff45d15 (patch) | |
tree | 43495fbe2c1900495ca43a6d2ec4f4603a2653d8 /sys/dev | |
parent | c8774db306ebe967a20bebdb4a62f92c0d26e727 (diff) |
Match on the more specific "marvell,armada8k-pcie" instead of the generic
"snps,dw-pcie" for now. There are considerable variations between
implementations of the Synapsys Designware PCIe core and glue logic and
the current code isn't flexible enough to deal with that yet.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/fdt/dwpcie.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/dwpcie.c b/sys/dev/fdt/dwpcie.c index a7808d829a7..29e35de5fa3 100644 --- a/sys/dev/fdt/dwpcie.c +++ b/sys/dev/fdt/dwpcie.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwpcie.c,v 1.1 2018/04/02 15:25:27 kettenis Exp $ */ +/* $OpenBSD: dwpcie.c,v 1.2 2018/04/03 09:31:00 kettenis Exp $ */ /* * Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org> * @@ -87,7 +87,7 @@ dwpcie_match(struct device *parent, void *match, void *aux) { struct fdt_attach_args *faa = aux; - return OF_is_compatible(faa->fa_node, "snps,dw-pcie"); + return OF_is_compatible(faa->fa_node, "marvell,armada8k-pcie"); } void dwpcie_atr_init(struct dwpcie_softc *); |