Module Name: src
Committed By: riz
Date: Tue Jun 12 19:39:49 UTC 2012
Modified Files:
src/sys/dev/pci [netbsd-6]: machfb.c
Log Message:
Pull up following revision(s) (requested by macallan in ticket #322):
sys/dev/pci/machfb.c: revision 1.75
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.73 -r1.73.2.1 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.73 src/sys/dev/pci/machfb.c:1.73.2.1
--- src/sys/dev/pci/machfb.c:1.73 Mon Jan 30 19:41:22 2012
+++ src/sys/dev/pci/machfb.c Tue Jun 12 19:39:49 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: machfb.c,v 1.73 2012/01/30 19:41:22 drochner Exp $ */
+/* $NetBSD: machfb.c,v 1.73.2.1 2012/06/12 19:39:49 riz Exp $ */
/*
* Copyright (c) 2002 Bang Jun-Young
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0,
- "$NetBSD: machfb.c,v 1.73 2012/01/30 19:41:22 drochner Exp $");
+ "$NetBSD: machfb.c,v 1.73.2.1 2012/06/12 19:39:49 riz 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;