It is a bad idea to declare a static bootverbose variable here. Remove it.
This commit is contained in:
parent
41dc1a6839
commit
21942247f3
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bktr_audio.c,v 1.3 2000/05/07 13:50:10 wiz Exp $ */
|
||||
/* $NetBSD: bktr_audio.c,v 1.4 2000/05/07 14:43:31 veego Exp $ */
|
||||
|
||||
/* FreeBSD: src/sys/dev/bktr/bktr_audio.c,v 1.2 1999/10/28 13:58:14 roger Exp */
|
||||
/*
|
||||
|
@ -52,10 +52,6 @@
|
|||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/vnode.h>
|
||||
#ifdef __NetBSD__
|
||||
#include <sys/proc.h>
|
||||
static int bootverbose = 1;
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <machine/clock.h> /* for DELAY */
|
||||
|
@ -69,6 +65,7 @@ static int bootverbose = 1;
|
|||
#endif
|
||||
|
||||
#ifdef __NetBSD__
|
||||
#include <sys/proc.h>
|
||||
#include <dev/ic/bt8xx.h> /* NetBSD location of .h files */
|
||||
#include <dev/pci/bktr/bktr_reg.h>
|
||||
#include <dev/pci/bktr/bktr_core.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bktr_card.c,v 1.2 2000/05/07 00:24:33 wiz Exp $ */
|
||||
/* $NetBSD: bktr_card.c,v 1.3 2000/05/07 14:43:32 veego Exp $ */
|
||||
|
||||
/* FreeBSD: src/sys/dev/bktr/bktr_card.c,v 1.9 2000/02/12 08:49:21 peter Exp */
|
||||
|
||||
|
@ -83,10 +83,6 @@
|
|||
#include <dev/bktr/bktr_audio.h>
|
||||
#endif
|
||||
|
||||
#ifdef __NetBSD__
|
||||
static int bootverbose = 1;
|
||||
#endif
|
||||
|
||||
/* Various defines */
|
||||
#define HAUP_REMOTE_INT_WADDR 0x30
|
||||
#define HAUP_REMOTE_INT_RADDR 0x31
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bktr_core.c,v 1.2 2000/05/07 00:24:33 wiz Exp $ */
|
||||
/* $NetBSD: bktr_core.c,v 1.3 2000/05/07 14:43:32 veego Exp $ */
|
||||
|
||||
/* FreeBSD: src/sys/dev/bktr/bktr_core.c,v 1.106 2000/04/16 07:50:08 roger Exp */
|
||||
|
||||
|
@ -185,8 +185,6 @@ typedef unsigned int uintptr_t;
|
|||
#include <dev/pci/bktr/bktr_core.h>
|
||||
#include <dev/pci/bktr/bktr_os.h>
|
||||
|
||||
static int bootverbose = 1;
|
||||
|
||||
static int bt848_format = -1;
|
||||
|
||||
#endif /* __NetBSD__ || __OpenBSD__ */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bktr_os.c,v 1.3 2000/05/07 01:16:23 wiz Exp $ */
|
||||
/* $NetBSD: bktr_os.c,v 1.4 2000/05/07 14:43:32 veego Exp $ */
|
||||
|
||||
/* FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.7 2000/04/16 07:50:09 roger Exp */
|
||||
|
||||
|
@ -168,9 +168,6 @@ SYSCTL_INT(_hw_bt848, OID_AUTO, slow_msp_audio, CTLFLAG_RW, &bt848_slow_msp_audi
|
|||
#include <dev/pci/pcireg.h>
|
||||
#include <dev/pci/pcidevs.h>
|
||||
|
||||
static int bootverbose = 1;
|
||||
|
||||
|
||||
#define BKTR_DEBUG
|
||||
#ifdef BKTR_DEBUG
|
||||
int bktr_debug = 0;
|
||||
|
|
Loading…
Reference in New Issue