Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/pci Give cpu_comcnprobe a chance of working on ...
details: https://anonhg.NetBSD.org/src/rev/b7d08d1ced98
branches: trunk
changeset: 325455:b7d08d1ced98
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Wed Dec 25 17:24:39 2013 +0000
description:
Give cpu_comcnprobe a chance of working on Mode 2 PCI config space.
diffstat:
sys/arch/x86/pci/pci_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 640d6bd64c92 -r b7d08d1ced98 sys/arch/x86/pci/pci_machdep.c
--- a/sys/arch/x86/pci/pci_machdep.c Wed Dec 25 17:19:34 2013 +0000
+++ b/sys/arch/x86/pci/pci_machdep.c Wed Dec 25 17:24:39 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep.c,v 1.62 2013/10/17 21:12:24 christos Exp $ */
+/* $NetBSD: pci_machdep.c,v 1.63 2013/12/25 17:24:39 jakllsch Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.62 2013/10/17 21:12:24 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.63 2013/12/25 17:24:39 jakllsch Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -970,7 +970,7 @@
pci_mode_detect();
pa->pa_iot = x86_bus_space_io;
pa->pa_pc = 0;
- pa->pa_tag = pci_make_tag(0, 0, 31, 0);
+ pa->pa_tag = pci_make_tag(0, 0, pci_bus_maxdevs(NULL, 0) - 1, 0);
return 0;
}
#endif
Home |
Main Index |
Thread Index |
Old Index