Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Delete whitespace at ends of lines. No functiona...



details:   https://anonhg.NetBSD.org/src/rev/2ebae7928d91
branches:  trunk
changeset: 747402:2ebae7928d91
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Sun Sep 13 21:24:58 2009 +0000

description:
Delete whitespace at ends of lines.  No functional change intended.

diffstat:

 sys/dev/ic/mfi.c |  36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diffs (148 lines):

diff -r 9f6ae6a4a7f1 -r 2ebae7928d91 sys/dev/ic/mfi.c
--- a/sys/dev/ic/mfi.c  Sun Sep 13 19:09:13 2009 +0000
+++ b/sys/dev/ic/mfi.c  Sun Sep 13 21:24:58 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mfi.c,v 1.29 2009/08/27 09:40:39 bouyer Exp $ */
+/* $NetBSD: mfi.c,v 1.30 2009/09/13 21:24:58 dyoung Exp $ */
 /* $OpenBSD: mfi.c,v 1.66 2006/11/28 23:59:45 dlg Exp $ */
 /*
  * Copyright (c) 2006 Marco Peereboom <marco%peereboom.us@localhost>
@@ -17,7 +17,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.29 2009/08/27 09:40:39 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.30 2009/09/13 21:24:58 dyoung Exp $");
 
 #include "bio.h"
 
@@ -114,7 +114,7 @@
 static void            mfi_xscale_intr_dis(struct mfi_softc *sc);
 static int             mfi_xscale_intr(struct mfi_softc *sc);
 static void            mfi_xscale_post(struct mfi_softc *sc, struct mfi_ccb *ccb);
-                                
+
 static const struct mfi_iop_ops mfi_iop_xscale = {
        mfi_xscale_fw_state,
        mfi_xscale_intr_dis,
@@ -122,13 +122,13 @@
        mfi_xscale_intr,
        mfi_xscale_post
 };
-        
+
 static uint32_t        mfi_ppc_fw_state(struct mfi_softc *sc);
 static void            mfi_ppc_intr_ena(struct mfi_softc *sc);
 static void            mfi_ppc_intr_dis(struct mfi_softc *sc);
 static int             mfi_ppc_intr(struct mfi_softc *sc);
 static void            mfi_ppc_post(struct mfi_softc *sc, struct mfi_ccb *ccb);
-                        
+
 static const struct mfi_iop_ops mfi_iop_ppc = {
        mfi_ppc_fw_state,
        mfi_ppc_intr_dis,
@@ -136,7 +136,7 @@
        mfi_ppc_intr,
        mfi_ppc_post
 };
-        
+
 #define mfi_fw_state(_s)       ((_s)->sc_iop->mio_fw_state(_s))
 #define mfi_intr_enable(_s)    ((_s)->sc_iop->mio_intr_ena(_s))
 #define mfi_intr_disable(_s)   ((_s)->sc_iop->mio_intr_dis(_s))
@@ -312,7 +312,7 @@
 
        if (bus_dmamap_create(sc->sc_dmat, size, 1, size, 0,
            BUS_DMA_NOWAIT | BUS_DMA_ALLOCNOW, &mm->am_map) != 0)
-               goto amfree; 
+               goto amfree;
 
        if (bus_dmamem_alloc(sc->sc_dmat, size, PAGE_SIZE, 0, &mm->am_seg, 1,
            &nsegs, BUS_DMA_NOWAIT) != 0)
@@ -882,7 +882,7 @@
                ccb->ccb_flags |= MFI_CCB_F_ERR;
                return 1;
        }
-       
+
        return 0;
 }
 
@@ -1402,7 +1402,7 @@
                }
                mfi_put_ccb(ccb);
                scsipi_done(xs);
-       } else 
+       } else
                wakeup(ccb);
 }
 
@@ -2079,7 +2079,7 @@
 {
        return mfi_read(sc, MFI_OMSG0);
 }
-        
+
 static void
 mfi_xscale_intr_dis(struct mfi_softc *sc)
 {
@@ -2091,7 +2091,7 @@
 {
        mfi_write(sc, MFI_OMSK, MFI_ENABLE_INTR);
 }
-        
+
 static int
 mfi_xscale_intr(struct mfi_softc *sc)
 {
@@ -2105,7 +2105,7 @@
        mfi_write(sc, MFI_OSTS, status);
        return 1;
 }
-        
+
 static void
 mfi_xscale_post(struct mfi_softc *sc, struct mfi_ccb *ccb)
 {
@@ -2119,13 +2119,13 @@
        mfi_write(sc, MFI_IQP, (ccb->ccb_pframe >> 3) |
            ccb->ccb_extra_frames);
 }
-        
+
 static uint32_t
 mfi_ppc_fw_state(struct mfi_softc *sc)
 {
        return mfi_read(sc, MFI_OSP);
 }
-        
+
 static void
 mfi_ppc_intr_dis(struct mfi_softc *sc)
 {
@@ -2140,21 +2140,21 @@
        mfi_write(sc, MFI_ODC, 0xffffffff);
        mfi_write(sc, MFI_OMSK, ~0x80000004);
 }
-        
+
 static int
 mfi_ppc_intr(struct mfi_softc *sc)
 {
        uint32_t status;
-        
+
        status = mfi_read(sc, MFI_OSTS);
        if (!ISSET(status, MFI_OSTS_PPC_INTR_VALID))
                return 0;
-                                                                
+
        /* write status back to acknowledge interrupt */
        mfi_write(sc, MFI_ODC, status);
        return 1;
 }
-        
+
 static void
 mfi_ppc_post(struct mfi_softc *sc, struct mfi_ccb *ccb)
 {



Home | Main Index | Thread Index | Old Index