Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/i386/pci Pull up revision 1.31 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/dbb5eeb5aa9c
branches: netbsd-1-5
changeset: 492963:dbb5eeb5aa9c
user: he <he%NetBSD.org@localhost>
date: Wed Mar 20 22:36:36 2002 +0000
description:
Pull up revision 1.31 (requested by he):
Correct the attach flags to enable IO space on the Intel 450NX.
diffstat:
sys/arch/i386/pci/pchb.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r af180bead182 -r dbb5eeb5aa9c sys/arch/i386/pci/pchb.c
--- a/sys/arch/i386/pci/pchb.c Wed Mar 20 22:28:41 2002 +0000
+++ b/sys/arch/i386/pci/pchb.c Wed Mar 20 22:36:36 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pchb.c,v 1.18.4.3 2002/01/16 10:07:02 he Exp $ */
+/* $NetBSD: pchb.c,v 1.18.4.4 2002/03/20 22:36:36 he Exp $ */
/*-
* Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
@@ -190,6 +190,11 @@
* (It would be easier to attach all the buses
* at the MIOC, but less aesthetical imho.)
*/
+ if ((attachflags &
+ (PCI_FLAGS_IO_ENABLED | PCI_FLAGS_MEM_ENABLED)) ==
+ PCI_FLAGS_MEM_ENABLED)
+ attachflags |= PCI_FLAGS_IO_ENABLED;
+
pbnum = 0;
switch (pa->pa_device) {
case 18: /* PXB 0 bus A - primary bus */
Home |
Main Index |
Thread Index |
Old Index