Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sandpoint/stand/altboot shut off gcc 4.8 unused var...
details: https://anonhg.NetBSD.org/src/rev/024f435e0bbf
branches: trunk
changeset: 791170:024f435e0bbf
user: nisimura <nisimura%NetBSD.org@localhost>
date: Thu Nov 07 14:51:36 2013 +0000
description:
shut off gcc 4.8 unused variable warnings.
diffstat:
sys/arch/sandpoint/stand/altboot/brdsetup.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 4df8abc9ea6a -r 024f435e0bbf sys/arch/sandpoint/stand/altboot/brdsetup.c
--- a/sys/arch/sandpoint/stand/altboot/brdsetup.c Thu Nov 07 14:33:33 2013 +0000
+++ b/sys/arch/sandpoint/stand/altboot/brdsetup.c Thu Nov 07 14:51:36 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: brdsetup.c,v 1.32 2012/12/25 17:07:06 phx Exp $ */
+/* $NetBSD: brdsetup.c,v 1.33 2013/11/07 14:51:36 nisimura Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -446,6 +446,9 @@
val = pcicfgread(ac97, 0x3c) &~ 0xff;
val |= 5;
pcicfgwrite(ac97, 0x3c, val);
+
+ (void) pcicfgread(ide, 0x08);
+ (void) pcicfgread(pmgt, 0x08);
}
void
Home |
Main Index |
Thread Index |
Old Index