Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Add a kludge to make this build on hp300.
details: https://anonhg.NetBSD.org/src/rev/01aa76baaac2
branches: trunk
changeset: 765197:01aa76baaac2
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat May 21 12:02:55 2011 +0000
description:
Add a kludge to make this build on hp300.
(anyway bus independent driver should not include bus dependent sti_pci.h)
diffstat:
sys/dev/ic/sti.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 521f0251bd90 -r 01aa76baaac2 sys/dev/ic/sti.c
--- a/sys/dev/ic/sti.c Sat May 21 12:00:18 2011 +0000
+++ b/sys/dev/ic/sti.c Sat May 21 12:02:55 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sti.c,v 1.14 2010/11/24 19:12:08 skrll Exp $ */
+/* $NetBSD: sti.c,v 1.15 2011/05/21 12:02:55 tsutsui Exp $ */
/* $OpenBSD: sti.c,v 1.61 2009/09/05 14:09:35 miod Exp $ */
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sti.c,v 1.14 2010/11/24 19:12:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sti.c,v 1.15 2011/05/21 12:02:55 tsutsui Exp $");
#include "wsdisplay.h"
@@ -54,7 +54,9 @@
#include <dev/ic/stireg.h>
#include <dev/ic/stivar.h>
+#ifndef hp300 /* XXX */
#include "sti_pci.h"
+#endif
#ifdef STIDEBUG
Home |
Main Index |
Thread Index |
Old Index