mark variables used
This commit is contained in:
parent
0a5c8333ce
commit
c91492fbb7
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cia_dma.c,v 1.28 2012/02/06 02:14:14 matt Exp $ */
|
||||
/* $NetBSD: cia_dma.c,v 1.29 2013/11/04 16:58:14 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: cia_dma.c,v 1.28 2012/02/06 02:14:14 matt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cia_dma.c,v 1.29 2013/11/04 16:58:14 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -424,7 +424,6 @@ cia_tlb_invalidate(void)
|
|||
void
|
||||
cia_broken_pyxis_tlb_invalidate(void)
|
||||
{
|
||||
volatile uint64_t dummy;
|
||||
uint32_t ctrl;
|
||||
int i, s;
|
||||
|
||||
|
@ -447,9 +446,11 @@ cia_broken_pyxis_tlb_invalidate(void)
|
|||
* XXX to read more times than there are actual tags!
|
||||
*/
|
||||
for (i = 0; i < CIA_TLB_NTAGS + 4; i++) {
|
||||
volatile uint64_t dummy;
|
||||
dummy = *((volatile uint64_t *)
|
||||
ALPHA_PHYS_TO_K0SEG(CIA_PCI_DENSE + CIA_PYXIS_BUG_BASE +
|
||||
(i * 65536)));
|
||||
__USE(dummy);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pci_kn8ae.c,v 1.27 2012/02/06 02:14:15 matt Exp $ */
|
||||
/* $NetBSD: pci_kn8ae.c,v 1.28 2013/11/04 16:58:14 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 by Matthew Jacob
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: pci_kn8ae.c,v 1.27 2012/02/06 02:14:15 matt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pci_kn8ae.c,v 1.28 2013/11/04 16:58:14 christos Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
|
@ -215,6 +215,7 @@ dec_kn8ae_intr_disestablish(void *ccv, void *cookie)
|
|||
vec = IH_VEC(ih);
|
||||
|
||||
scb = &scb_iovectab[SCB_VECTOIDX(vec - SCB_IOVECBASE)];
|
||||
__USE(scb);
|
||||
|
||||
kn8ae_enadis_intr(ccp, ih, 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue