Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/shark/ofw Let vlpci attach instead of ofbus. OK jak...
details: https://anonhg.NetBSD.org/src/rev/59cc08623d99
branches: trunk
changeset: 351576:59cc08623d99
user: flxd <flxd%NetBSD.org@localhost>
date: Sat Feb 18 13:56:29 2017 +0000
description:
Let vlpci attach instead of ofbus. OK jakllsch@
diffstat:
sys/arch/shark/ofw/vlpci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2eefea432a5c -r 59cc08623d99 sys/arch/shark/ofw/vlpci.c
--- a/sys/arch/shark/ofw/vlpci.c Sat Feb 18 07:20:56 2017 +0000
+++ b/sys/arch/shark/ofw/vlpci.c Sat Feb 18 13:56:29 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vlpci.c,v 1.1 2017/02/17 18:07:51 jakllsch Exp $ */
+/* $NetBSD: vlpci.c,v 1.2 2017/02/18 13:56:29 flxd Exp $ */
/*
* Copyright (c) 2017 Jonathan A. Kollasch
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vlpci.c,v 1.1 2017/02/17 18:07:51 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vlpci.c,v 1.2 2017/02/18 13:56:29 flxd Exp $");
#include "opt_pci.h"
#include "pci.h"
@@ -91,7 +91,7 @@
if (of_compatible(oba->oba_phandle, compat_strings) < 0)
return 0;
- return 1;
+ return 2; /* beat generic ofbus */
}
static void
Home |
Main Index |
Thread Index |
Old Index