Module Name: src
Committed By: macallan
Date: Tue May 8 02:25:26 UTC 2012
Modified Files:
src/sys/dev/pci: machfb.c
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/pci/machfb.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/dev/pci/machfb.c
diff -u src/sys/dev/pci/machfb.c:1.74 src/sys/dev/pci/machfb.c:1.75
--- src/sys/dev/pci/machfb.c:1.74 Tue Mar 13 18:40:32 2012
+++ src/sys/dev/pci/machfb.c Tue May 8 02:25:25 2012
@@ -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 @@ mach64_attach(device_t parent, device_t
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;