projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
018e961
)
bfe: Fix set-but-unused gcc47 warning
author
Sepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 8 Feb 2013 13:34:47 +0000 (21:34 +0800)
committer
Sepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 8 Feb 2013 13:34:47 +0000 (21:34 +0800)
sys/dev/netif/bfe/if_bfe.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/dev/netif/bfe/if_bfe.c
b/sys/dev/netif/bfe/if_bfe.c
index
cff656a
..
a27ebff
100644
(file)
--- a/
sys/dev/netif/bfe/if_bfe.c
+++ b/
sys/dev/netif/bfe/if_bfe.c
@@
-650,11
+650,10
@@
bfe_get_config(struct bfe_softc *sc)
static void
bfe_pci_setup(struct bfe_softc *sc, uint32_t cores)
{
- uint32_t bar_orig, pci_rev, val;
+ uint32_t bar_orig, val;
bar_orig = pci_read_config(sc->bfe_dev, BFE_BAR0_WIN, 4);
pci_write_config(sc->bfe_dev, BFE_BAR0_WIN, BFE_REG_PCI, 4);
- pci_rev = CSR_READ_4(sc, BFE_SBIDHIGH) & BFE_RC_MASK;
val = CSR_READ_4(sc, BFE_SBINTVEC);
val |= cores;