Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci don't enable IO access - we don't use it and at ...
details: https://anonhg.NetBSD.org/src/rev/9e3c0abcd191
branches: trunk
changeset: 779177:9e3c0abcd191
user: macallan <macallan%NetBSD.org@localhost>
date: Tue May 08 02:25:25 2012 +0000
description:
don't enable IO access - we don't use it and at least on some macppc machines
the IO BAR contains garbage
should probably be pulled into 6.0
diffstat:
sys/dev/pci/machfb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c6a577f7b0e3 -r 9e3c0abcd191 sys/dev/pci/machfb.c
--- a/sys/dev/pci/machfb.c Mon May 07 23:04:22 2012 +0000
+++ b/sys/dev/pci/machfb.c Tue May 08 02:25:25 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machfb.c,v 1.74 2012/03/13 18:40:32 elad Exp $ */
+/* $NetBSD: machfb.c,v 1.75 2012/05/08 02:25:25 macallan Exp $ */
/*
* Copyright (c) 2002 Bang Jun-Young
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0,
- "$NetBSD: machfb.c,v 1.74 2012/03/13 18:40:32 elad Exp $");
+ "$NetBSD: machfb.c,v 1.75 2012/05/08 02:25:25 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -513,7 +513,7 @@
int setmode, width, height;
pcireg_t screg;
uint32_t reg;
- const pcireg_t enables = PCI_COMMAND_MEM_ENABLE|PCI_COMMAND_IO_ENABLE;
+ const pcireg_t enables = PCI_COMMAND_MEM_ENABLE;
sc->sc_dev = self;
sc->sc_pc = pa->pa_pc;
Home |
Main Index |
Thread Index |
Old Index