diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2007-01-07 11:10:52 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2007-01-07 11:10:52 +0000 |
commit | 3a21d6290a494bf9d5d42d03c056d61f02da49da (patch) | |
tree | 447a7f787450d62e19e0202c236bf02b53b34082 /sys/dev/ic/bcw.c | |
parent | ee5ef0fe3d0647c0d2cde58b4645e057c90f5c4f (diff) |
Spacing, comments.
Diffstat (limited to 'sys/dev/ic/bcw.c')
-rw-r--r-- | sys/dev/ic/bcw.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/bcw.c b/sys/dev/ic/bcw.c index dc2aaab86b9..2c39af80175 100644 --- a/sys/dev/ic/bcw.c +++ b/sys/dev/ic/bcw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcw.c,v 1.34 2007/01/07 00:29:44 mglocker Exp $ */ +/* $OpenBSD: bcw.c,v 1.35 2007/01/07 11:10:51 mglocker Exp $ */ /* * Copyright (c) 2006 Jon Simola <jsimola@gmail.com> @@ -2086,9 +2086,9 @@ bcw_change_core(struct bcw_softc *sc, int changeto) void bcw_radio_off(struct bcw_softc *sc) { - uint16_t sbval16; + uint16_t sbval16; - switch(sc->sc_phy_type) { + switch (sc->sc_phy_type) { case BCW_PHY_TYPEA: /* Magic unexplained values */ BCW_WRITE16(sc, BCW_RADIO_CONTROL, 0x04); @@ -2119,11 +2119,11 @@ bcw_radio_off(struct bcw_softc *sc) BCW_WRITE16(sc, BCW_PHY_CONTROL, 0x812); BCW_WRITE16(sc, BCW_PHY_DATA, sbval16); } - /* FALL-THROUGH */ + /* FALLTHROUGH */ default: BCW_WRITE16(sc, BCW_PHY_CONTROL, 0x15); BCW_WRITE16(sc, BCW_PHY_DATA, 0xaa00); - } /* end of switch statement to turn off radio */ + } } int |