Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/acorn32/podulebus Fix GCC 3.3.1 nits.
details: https://anonhg.NetBSD.org/src/rev/17753693eaf4
branches: trunk
changeset: 552197:17753693eaf4
user: matt <matt%NetBSD.org@localhost>
date: Sun Sep 21 15:10:05 2003 +0000
description:
Fix GCC 3.3.1 nits.
diffstat:
sys/arch/acorn32/podulebus/sbic.c | 12 ++++++------
sys/arch/acorn32/podulebus/sbicreg.h | 6 +++---
2 files changed, 9 insertions(+), 9 deletions(-)
diffs (74 lines):
diff -r 54df217b2f56 -r 17753693eaf4 sys/arch/acorn32/podulebus/sbic.c
--- a/sys/arch/acorn32/podulebus/sbic.c Sun Sep 21 14:41:33 2003 +0000
+++ b/sys/arch/acorn32/podulebus/sbic.c Sun Sep 21 15:10:05 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sbic.c,v 1.7 2003/08/07 16:26:30 agc Exp $ */
+/* $NetBSD: sbic.c,v 1.8 2003/09/21 15:10:05 matt Exp $ */
/*
* Copyright (c) 2001 Richard Earnshaw
@@ -114,7 +114,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.7 2003/08/07 16:26:30 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.8 2003/09/21 15:10:05 matt Exp $");
#include <sys/systm.h>
#include <sys/callout.h>
@@ -1311,7 +1311,7 @@
wait = sbic_cmd_wait;
- asr = GET_SBIC_asr (regs, asr);
+ GET_SBIC_asr (regs, asr);
GET_SBIC_csr (regs, csr);
CSR_TRACE('I',csr,asr,target);
QPRINTF((">ASR:%02xCSR:%02x<", asr, csr));
@@ -1607,7 +1607,7 @@
* Lets cycle a while then let the interrupt handler take over
*/
- asr = GET_SBIC_asr(regs, asr);
+ GET_SBIC_asr(regs, asr);
do {
GET_SBIC_csr(regs, csr);
CSR_TRACE('g', csr, asr, dev->target);
@@ -1782,7 +1782,7 @@
recvlen = 1;
do {
while (recvlen--) {
- asr = GET_SBIC_asr(regs, asr);
+ GET_SBIC_asr(regs, asr);
GET_SBIC_csr(regs, csr);
QPRINTF(("sbicmsgin ready to go (csr,asr)=(%02x,%02x)\n",
csr, asr));
@@ -2383,7 +2383,7 @@
GET_SBIC_asr(&dev->sc_sbicp, asr);
if (asr & SBIC_ASR_INT) {
/* We need to service a missed IRQ */
- printf("Servicing a missed int:(%02x,%02x)->(%02x,??)\n",
+ printf("Servicing a missed int:(%02x,%02x)->(%02x,?)\n",
debug_asr, debug_csr, asr);
sbicintr(dev);
}
diff -r 54df217b2f56 -r 17753693eaf4 sys/arch/acorn32/podulebus/sbicreg.h
--- a/sys/arch/acorn32/podulebus/sbicreg.h Sun Sep 21 14:41:33 2003 +0000
+++ b/sys/arch/acorn32/podulebus/sbicreg.h Sun Sep 21 15:10:05 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sbicreg.h,v 1.2 2003/08/07 16:26:30 agc Exp $ */
+/* $NetBSD: sbicreg.h,v 1.3 2003/09/21 15:10:05 matt Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@@ -424,8 +424,8 @@
} while (0)
#define GET_SBIC_asr(regs,val) \
- (val) = bus_space_read_1((regs)->sc_sbiciot, (regs)->sc_sbicioh, \
- SBIC_ASR)
+ ((val) = bus_space_read_1((regs)->sc_sbiciot, (regs)->sc_sbicioh, \
+ SBIC_ASR))
#define WAIT_CIP(regs) do { \
while (bus_space_read_1(regs->sc_sbiciot, regs->sc_sbicioh, SBIC_ASR) \
Home |
Main Index |
Thread Index |
Old Index