From e6942192eff816f19e6a66ba344dc307c7c26e3a Mon Sep 17 00:00:00 2001 From: uwe Date: Wed, 16 Nov 2005 01:14:35 +0000 Subject: [PATCH] Duplicate open curlies in both #if and #else parts confuse paren-matching in editors, drop them and add one after #endif. --- sys/arch/sparc/dev/sw.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sys/arch/sparc/dev/sw.c b/sys/arch/sparc/dev/sw.c index efe6e459a13c..e60ce865302b 100644 --- a/sys/arch/sparc/dev/sw.c +++ b/sys/arch/sparc/dev/sw.c @@ -1,4 +1,4 @@ -/* $NetBSD: sw.c,v 1.15 2005/11/16 00:49:03 uwe Exp $ */ +/* $NetBSD: sw.c,v 1.16 2005/11/16 01:14:35 uwe Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -92,7 +92,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sw.c,v 1.15 2005/11/16 00:49:03 uwe Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sw.c,v 1.16 2005/11/16 01:14:35 uwe Exp $"); #include "opt_ddb.h" @@ -861,10 +861,11 @@ sw_dma_stop(struct ncr5380_softc *ncr_sc) * in the VME controller.) */ #if 0 - if (csr & (SW_CSR_DMA_CONFLICT | SW_CSR_DMA_BUS_ERR)) { + if (csr & (SW_CSR_DMA_CONFLICT | SW_CSR_DMA_BUS_ERR)) #else - if (csr & (SW_CSR_DMA_CONFLICT)) { + if (csr & (SW_CSR_DMA_CONFLICT)) #endif + { printf("sw: DMA error, csr=0x%x, reset\n", csr); sr->sr_xs->error = XS_DRIVER_STUFFUP; ncr_sc->sc_state |= NCR_ABORTING;