Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Fix indentation in switch statement, per kern/137...



details:   https://anonhg.NetBSD.org/src/rev/d6e530bf67ea
branches:  trunk
changeset: 513876:d6e530bf67ea
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu Aug 16 13:37:32 2001 +0000

description:
Fix indentation in switch statement, per kern/13725 by seebs.

diffstat:

 sys/dev/ic/wi.c |  74 ++++++++++++++++++++++++++++----------------------------
 1 files changed, 37 insertions(+), 37 deletions(-)

diffs (88 lines):

diff -r 8ab2b3fcccc0 -r d6e530bf67ea sys/dev/ic/wi.c
--- a/sys/dev/ic/wi.c   Thu Aug 16 07:48:08 2001 +0000
+++ b/sys/dev/ic/wi.c   Thu Aug 16 13:37:32 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wi.c,v 1.23 2001/08/13 22:52:26 wiz Exp $      */
+/*     $NetBSD: wi.c,v 1.24 2001/08/16 13:37:32 wiz Exp $      */
 
 /*
  * Copyright (c) 1997, 1998, 1999
@@ -1666,42 +1666,42 @@
        wi_read_record(sc, (struct wi_ltv_gen *)&ver);
        printf("%s: using ", sc->sc_dev.dv_xname);
        switch (le16toh(ver.wi_ver[0])) {
-               case WI_NIC_EVB2:
-                       printf("RF:PRISM2 MAC:HFA3841");
-                       sc->sc_prism2 = 1;
-                       break;
-               case WI_NIC_HWB3763:
-                       printf("RF:PRISM2 MAC:HFA3841 CARD:HWB3763 rev.B");
-                       sc->sc_prism2 = 1;
-                       break;
-               case WI_NIC_HWB3163:
-                       printf("RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A");
-                       sc->sc_prism2 = 1;
-                       break;
-               case WI_NIC_HWB3163B:
-                       printf("RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.B");
-                       sc->sc_prism2 = 1;
-                       break;
-               case WI_NIC_EVB3:
-                       printf("RF:PRISM2 MAC:HFA3842");
-                       sc->sc_prism2 = 1;
-                       break;
-               case WI_NIC_HWB1153:
-                       printf("RF:PRISM1 MAC:HFA3841 CARD:HWB1153");
-                       sc->sc_prism2 = 1;
-                       break;
-               case WI_NIC_P2_SST:
-                       printf("RF:PRISM2 MAC:HFA3841 CARD:HWB3163-SST-flash");
-                       sc->sc_prism2 = 1;
-                       break;
-               case WI_NIC_PRISM2_5:
-                       printf("RF:PRISM2.5 MAC:ISL3873");
-                       sc->sc_prism2 = 1;
-                       break;
-               default:
-                       printf("Lucent chip or unknown chip\n");
-                       sc->sc_prism2 = 0;
-                       break;
+       case WI_NIC_EVB2:
+               printf("RF:PRISM2 MAC:HFA3841");
+               sc->sc_prism2 = 1;
+               break;
+       case WI_NIC_HWB3763:
+               printf("RF:PRISM2 MAC:HFA3841 CARD:HWB3763 rev.B");
+               sc->sc_prism2 = 1;
+               break;
+       case WI_NIC_HWB3163:
+               printf("RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A");
+               sc->sc_prism2 = 1;
+               break;
+       case WI_NIC_HWB3163B:
+               printf("RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.B");
+               sc->sc_prism2 = 1;
+               break;
+       case WI_NIC_EVB3:
+               printf("RF:PRISM2 MAC:HFA3842");
+               sc->sc_prism2 = 1;
+               break;
+       case WI_NIC_HWB1153:
+               printf("RF:PRISM1 MAC:HFA3841 CARD:HWB1153");
+               sc->sc_prism2 = 1;
+               break;
+       case WI_NIC_P2_SST:
+               printf("RF:PRISM2 MAC:HFA3841 CARD:HWB3163-SST-flash");
+               sc->sc_prism2 = 1;
+               break;
+       case WI_NIC_PRISM2_5:
+               printf("RF:PRISM2.5 MAC:ISL3873");
+               sc->sc_prism2 = 1;
+               break;
+       default:
+               printf("Lucent chip or unknown chip\n");
+               sc->sc_prism2 = 0;
+               break;
        }
 
        if (sc->sc_prism2) {



Home | Main Index | Thread Index | Old Index