Module Name: src Committed By: flxd Date: Sat Feb 18 13:56:29 UTC 2017
Modified Files: src/sys/arch/shark/ofw: vlpci.c Log Message: Let vlpci attach instead of ofbus. OK jakllsch@ To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/shark/ofw/vlpci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/shark/ofw/vlpci.c diff -u src/sys/arch/shark/ofw/vlpci.c:1.1 src/sys/arch/shark/ofw/vlpci.c:1.2 --- src/sys/arch/shark/ofw/vlpci.c:1.1 Fri Feb 17 18:07:51 2017 +++ src/sys/arch/shark/ofw/vlpci.c Sat Feb 18 13:56:29 2017 @@ -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 @@ vlpci_match(device_t parent, struct cfda if (of_compatible(oba->oba_phandle, compat_strings) < 0) return 0; - return 1; + return 2; /* beat generic ofbus */ } static void