summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2011-04-23 10:09:09 +0200
committeraiju <devnull@localhost>2011-04-23 10:09:09 +0200
commitc6e26a4aebb0a142b48b97b33d6fe7feda8854ca (patch)
tree256299473d1b779e114f81da6a2b8e09d735e02c
parentcab43022cba5287f5e4900724d93e04f6455f2d6 (diff)
downloadplan9front-c6e26a4aebb0a142b48b97b33d6fe7feda8854ca.tar.xz
fixed compiler warnings in BCM driver
-rw-r--r--sys/src/9/pc/etherbcm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/src/9/pc/etherbcm.c b/sys/src/9/pc/etherbcm.c
index 2da03fde2..67d7c2a4a 100644
--- a/sys/src/9/pc/etherbcm.c
+++ b/sys/src/9/pc/etherbcm.c
@@ -329,7 +329,6 @@ static void
bcmtransclean(Ether *edev)
{
Ctlr *ctlr;
- ulong incr;
ctlr = edev->ctlr;
ilock(&ctlr->txlock);
@@ -378,7 +377,7 @@ bcmerror(Ether *edev)
ctlr = edev->ctlr;
if(csr32(ctlr, FlowAttention)) {
if(csr32(ctlr, FlowAttention) & 0xF8FF8080UL) {
- panic("bcm: fatal error %#.8ux", csr32(ctlr, FlowAttention));
+ panic("bcm: fatal error %#.8ulx", csr32(ctlr, FlowAttention));
}
csr32(ctlr, FlowAttention) = 0;
}
@@ -390,7 +389,7 @@ bcmerror(Ether *edev)
}
if(csr32(ctlr, RISCState)) {
if(csr32(ctlr, RISCState) & 0x78000403) {
- panic("bcm: RISC halted %#.8ux", csr32(ctlr, RISCState));
+ panic("bcm: RISC halted %#.8ulx", csr32(ctlr, RISCState));
}
csr32(ctlr, RISCState) = 0;
}