summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2003-11-24 06:11:56 +0000
committerlukem <lukem@NetBSD.org>2003-11-24 06:11:56 +0000
commit130aed8e4065d8d1ee7c3b29cf84257fd58544d7 (patch)
tree0711b17f631ea456be5b50edd56475d8ffd240ed /sys/dev
parent185c65a241a1fa7837f2bd876e81b07a3e8102de (diff)
fix uninitialised variable warning. XXX: not sure if this is correct
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cardbus/rbus_ppb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/cardbus/rbus_ppb.c b/sys/dev/cardbus/rbus_ppb.c
index ea4912ea05f..14f0978931f 100644
--- a/sys/dev/cardbus/rbus_ppb.c
+++ b/sys/dev/cardbus/rbus_ppb.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rbus_ppb.c,v 1.9 2003/01/01 00:10:17 thorpej Exp $ */
+/* $NetBSD: rbus_ppb.c,v 1.10 2003/11/24 06:11:56 lukem Exp $ */
/*
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rbus_ppb.c,v 1.9 2003/01/01 00:10:17 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rbus_ppb.c,v 1.10 2003/11/24 06:11:56 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -704,6 +704,7 @@ ppb_cardbus_attach(parent, self, aux)
busdata = cardbus_conf_read(cc, cf, ca->ca_tag, PPB_REG_BUSINFO);
minbus = pcibios_max_bus;
+ maxbus = minbus; /* XXX; gcc */
if (PPB_BUSINFO_SECONDARY(busdata) == 0) {
printf("%s: not configured by system firmware calling pci_bus_fixup(%d)\n",