Module Name: src Committed By: skrll Date: Wed Dec 18 12:43:59 UTC 2013
Modified Files: src/sys/arch/alpha/conf: GENERIC src/sys/arch/alpha/pci: pci_1000.c pci_1000a.c Log Message: Silence gcc 4.8 To generate a diff of this commit: cvs rdiff -u -r1.354 -r1.355 src/sys/arch/alpha/conf/GENERIC cvs rdiff -u -r1.24 -r1.25 src/sys/arch/alpha/pci/pci_1000.c cvs rdiff -u -r1.26 -r1.27 src/sys/arch/alpha/pci/pci_1000a.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/arch/alpha/conf/GENERIC diff -u src/sys/arch/alpha/conf/GENERIC:1.354 src/sys/arch/alpha/conf/GENERIC:1.355 --- src/sys/arch/alpha/conf/GENERIC:1.354 Tue Oct 15 19:27:48 2013 +++ src/sys/arch/alpha/conf/GENERIC Wed Dec 18 12:43:59 2013 @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.354 2013/10/15 19:27:48 jdc Exp $ +# $NetBSD: GENERIC,v 1.355 2013/12/18 12:43:59 skrll Exp $ # # This machine description file is used to generate the default NetBSD # kernel. @@ -19,7 +19,7 @@ include "arch/alpha/conf/std.alpha" options INCLUDE_CONFIG_FILE # embed config file in kernel binary -ident "GENERIC-$Revision: 1.354 $" +ident "GENERIC-$Revision: 1.355 $" maxusers 32 @@ -59,7 +59,7 @@ options NTP # kernel PLL for NTP #options KMEMSTATS # Collect kmem usage statistics options DDB # kernel debugger options DDB_HISTORY_SIZE=512 # enable history editing in DDB -#makeoptions DEBUG="-g" +makeoptions DEBUG="-g" #makeoptions DEBUGLIST="pattern1 pattern2 ..." #options KGDB # Remote kernel GDB support Index: src/sys/arch/alpha/pci/pci_1000.c diff -u src/sys/arch/alpha/pci/pci_1000.c:1.24 src/sys/arch/alpha/pci/pci_1000.c:1.25 --- src/sys/arch/alpha/pci/pci_1000.c:1.24 Mon Feb 6 02:14:14 2012 +++ src/sys/arch/alpha/pci/pci_1000.c Wed Dec 18 12:43:59 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: pci_1000.c,v 1.24 2012/02/06 02:14:14 matt Exp $ */ +/* $NetBSD: pci_1000.c,v 1.25 2013/12/18 12:43:59 skrll Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -60,7 +60,7 @@ #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: pci_1000.c,v 1.24 2012/02/06 02:14:14 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pci_1000.c,v 1.25 2013/12/18 12:43:59 skrll Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -149,7 +149,7 @@ dec_1000_intr_map(const struct pci_attac pcitag_t bustag = pa->pa_intrtag; int buspin = pa->pa_intrpin; pci_chipset_tag_t pc = pa->pa_pc; - int device; + int device = 0; /* XXX gcc */ if (buspin == 0) /* No IRQ used. */ return 1; Index: src/sys/arch/alpha/pci/pci_1000a.c diff -u src/sys/arch/alpha/pci/pci_1000a.c:1.26 src/sys/arch/alpha/pci/pci_1000a.c:1.27 --- src/sys/arch/alpha/pci/pci_1000a.c:1.26 Mon Feb 6 02:14:15 2012 +++ src/sys/arch/alpha/pci/pci_1000a.c Wed Dec 18 12:43:59 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: pci_1000a.c,v 1.26 2012/02/06 02:14:15 matt Exp $ */ +/* $NetBSD: pci_1000a.c,v 1.27 2013/12/18 12:43:59 skrll Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -60,7 +60,7 @@ #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: pci_1000a.c,v 1.26 2012/02/06 02:14:15 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pci_1000a.c,v 1.27 2013/12/18 12:43:59 skrll Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -153,7 +153,7 @@ dec_1000a_intr_map(const struct pci_atta pcitag_t bustag = pa->pa_intrtag; int buspin = pa->pa_intrpin; pci_chipset_tag_t pc = pa->pa_pc; - int imrbit, device; + int imrbit, device = 0; /* XXX gcc */ /* * Get bit number in mystery ICU imr */