Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Cosmetic change.



details:   https://anonhg.NetBSD.org/src/rev/110061934622
branches:  trunk
changeset: 483624:110061934622
user:      enami <enami%NetBSD.org@localhost>
date:      Tue Mar 14 10:20:09 2000 +0000

description:
Cosmetic change.

diffstat:

 sys/dev/pci/pccbb.c |  16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diffs (51 lines):

diff -r 695e47c826e3 -r 110061934622 sys/dev/pci/pccbb.c
--- a/sys/dev/pci/pccbb.c       Tue Mar 14 09:06:50 2000 +0000
+++ b/sys/dev/pci/pccbb.c       Tue Mar 14 10:20:09 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pccbb.c,v 1.32 2000/03/14 01:29:30 enami Exp $ */
+/*     $NetBSD: pccbb.c,v 1.33 2000/03/14 10:20:09 enami Exp $ */
 
 /*
  * Copyright (c) 1998, 1999 and 2000
@@ -911,7 +911,7 @@
 
        if (sockevent == 0) {
                /* This intr is not for me: it may be for my child devices. */
-               return pccbbintr_function(sc);
+               return (pccbbintr_function(sc));
        }
 
        if (sockevent & CB_SOCKET_EVENT_CD) {
@@ -923,9 +923,8 @@
                                    sockevent));
                                DPRINTF((" card removed, 0x%08x\n", sockstate));
                                sc->sc_flags &= ~CBB_CARDEXIST;
-                               if (sc->
-                                   sc_csc->sc_status & CARDSLOT_STATUS_CARD_16)
-                               {
+                               if (sc->sc_csc->sc_status &
+                                   CARDSLOT_STATUS_CARD_16) {
 #if 0
                                        struct pcic_handle *ph =
                                            &sc->sc_pcmcia_h;
@@ -937,9 +936,8 @@
 #endif
                                        cardslot_event_throw(sc->sc_csc,
                                            CARDSLOT_EVENT_REMOVAL_16);
-                               } else if (sc->
-                                   sc_csc->sc_status & CARDSLOT_STATUS_CARD_CB)
-                               {
+                               } else if (sc->sc_csc->sc_status &
+                                   CARDSLOT_STATUS_CARD_CB) {
                                        /* Cardbus intr removed */
                                        cardslot_event_throw(sc->sc_csc,
                                            CARDSLOT_EVENT_REMOVAL_CB);
@@ -954,7 +952,7 @@
                }
        }
 
-       return 1;
+       return (1);
 }
 
 /*



Home | Main Index | Thread Index | Old Index