Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Whitespace tweaks from Damien Bergamini.



details:   https://anonhg.NetBSD.org/src/rev/3ae3266c7095
branches:  trunk
changeset: 569937:3ae3266c7095
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Sep 14 00:27:26 2004 +0000

description:
Whitespace tweaks from Damien Bergamini.
Whitespace tweaks by me.
Remove vendor RCSID, since it's out of sync already (due to manual patchs).

diffstat:

 sys/dev/pci/if_ipwreg.h |  19 +++++++++----------
 sys/dev/pci/if_ipwvar.h |   7 +++----
 2 files changed, 12 insertions(+), 14 deletions(-)

diffs (80 lines):

diff -r ebe84027d038 -r 3ae3266c7095 sys/dev/pci/if_ipwreg.h
--- a/sys/dev/pci/if_ipwreg.h   Mon Sep 13 23:44:19 2004 +0000
+++ b/sys/dev/pci/if_ipwreg.h   Tue Sep 14 00:27:26 2004 +0000
@@ -1,5 +1,4 @@
-/*     $NetBSD: if_ipwreg.h,v 1.2 2004/08/23 11:57:35 lukem Exp $      */
-/*      Id: if_ipwreg.h,v 1.1.2.1 2004/08/19 16:28:26 damien Exp  */
+/*     $NetBSD: if_ipwreg.h,v 1.3 2004/09/14 00:27:26 lukem Exp $      */
 
 /*-
  * Copyright (c) 2004
@@ -162,7 +161,7 @@
 /* command */
 struct ipw_cmd {
        u_int32_t       type;
-#define IPW_CMD_ENABLE                         2
+#define IPW_CMD_ENABLE                         2
 #define IPW_CMD_SET_CONFIGURATION              6
 #define IPW_CMD_SET_ESSID                      8
 #define IPW_CMD_SET_MANDATORY_BSSID            9
@@ -250,25 +249,25 @@
  * control and status registers access macros
  */
 #define CSR_READ_1(sc, reg)                                            \
-        bus_space_read_1((sc)->sc_st, (sc)->sc_sh, (reg))
+       bus_space_read_1((sc)->sc_st, (sc)->sc_sh, (reg))
 
 #define CSR_READ_2(sc, reg)                                            \
-        bus_space_read_2((sc)->sc_st, (sc)->sc_sh, (reg))
+       bus_space_read_2((sc)->sc_st, (sc)->sc_sh, (reg))
 
 #define CSR_READ_4(sc, reg)                                            \
-        bus_space_read_4((sc)->sc_st, (sc)->sc_sh, (reg))
+       bus_space_read_4((sc)->sc_st, (sc)->sc_sh, (reg))
 
 #define CSR_WRITE_1(sc, reg, val)                                      \
-        bus_space_write_1((sc)->sc_st, (sc)->sc_sh, (reg), (val))
+       bus_space_write_1((sc)->sc_st, (sc)->sc_sh, (reg), (val))
 
 #define CSR_WRITE_2(sc, reg, val)                                      \
-        bus_space_write_2((sc)->sc_st, (sc)->sc_sh, (reg), (val))
+       bus_space_write_2((sc)->sc_st, (sc)->sc_sh, (reg), (val))
 
 #define CSR_WRITE_4(sc, reg, val)                                      \
-        bus_space_write_4((sc)->sc_st, (sc)->sc_sh, (reg), (val))
+       bus_space_write_4((sc)->sc_st, (sc)->sc_sh, (reg), (val))
 
 #define CSR_WRITE_MULTI_1(sc, reg, buf, len)                           \
-       bus_space_write_multi_1((sc)->sc_st, (sc)->sc_sh, (reg),        \
+       bus_space_write_multi_1((sc)->sc_st, (sc)->sc_sh, (reg),        \
            (buf), (len));
 
 /*
diff -r ebe84027d038 -r 3ae3266c7095 sys/dev/pci/if_ipwvar.h
--- a/sys/dev/pci/if_ipwvar.h   Mon Sep 13 23:44:19 2004 +0000
+++ b/sys/dev/pci/if_ipwvar.h   Tue Sep 14 00:27:26 2004 +0000
@@ -1,5 +1,4 @@
-/*     $NetBSD: if_ipwvar.h,v 1.2 2004/08/23 11:57:35 lukem Exp $      */
-/*      Id: if_ipwvar.h,v 1.1.2.2 2004/08/19 16:28:26 damien Exp  */
+/*     $NetBSD: if_ipwvar.h,v 1.3 2004/09/14 00:27:26 lukem Exp $      */
 
 /*-
  * Copyright (c) 2004
@@ -54,7 +53,7 @@
 struct ipw_softc {
        struct device                   sc_dev;
 
-        struct ieee80211com            sc_ic;
+       struct ieee80211com             sc_ic;
        int                             (*sc_newstate)(struct ieee80211com *,
                                            enum ieee80211_state, int);
 
@@ -65,7 +64,7 @@
        struct resource                 *mem;
        bus_space_tag_t                 sc_st;
        bus_space_handle_t              sc_sh;
-       void                            *sc_ih;
+       void                            *sc_ih;
        pci_chipset_tag_t               sc_pct;
        bus_size_t                      sc_sz;
 



Home | Main Index | Thread Index | Old Index