Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix machfb build on ports not based on powerpc o...
details: https://anonhg.NetBSD.org/src/rev/258a6a160ad4
branches: trunk
changeset: 767941:258a6a160ad4
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Thu Aug 04 00:57:33 2011 +0000
description:
Fix machfb build on ports not based on powerpc or sparc.
diffstat:
sys/dev/pci/machfb.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 7ffe1fb2f0a1 -r 258a6a160ad4 sys/dev/pci/machfb.c
--- a/sys/dev/pci/machfb.c Thu Aug 04 00:52:49 2011 +0000
+++ b/sys/dev/pci/machfb.c Thu Aug 04 00:57:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machfb.c,v 1.70 2011/08/03 05:27:08 macallan Exp $ */
+/* $NetBSD: machfb.c,v 1.71 2011/08/04 00:57:33 jakllsch Exp $ */
/*
* Copyright (c) 2002 Bang Jun-Young
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0,
- "$NetBSD: machfb.c,v 1.70 2011/08/03 05:27:08 macallan Exp $");
+ "$NetBSD: machfb.c,v 1.71 2011/08/04 00:57:33 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -502,7 +502,9 @@
struct pci_attach_args *pa = aux;
struct rasops_info *ri;
prop_data_t edid_data;
+#if defined(__sparc__) || defined(__powerpc__)
const struct videomode *mode = NULL;
+#endif
char devinfo[256];
int bar, id, expected_id;
int is_gx;
Home |
Main Index |
Thread Index |
Old Index