aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/etherswitch/arswitch
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-04-10 23:07:00 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-04-10 23:07:00 +0000
commit74b8d63dcc17c07d8cb21e13f6db517698efd49f (patch)
treef9ef37d6819baa5fad7e8d8d09e679def3577aa7 /sys/dev/etherswitch/arswitch
parent61a4e586d4ea3a05c656c094b62a1e550737086c (diff)
Notes
Diffstat (limited to 'sys/dev/etherswitch/arswitch')
-rw-r--r--sys/dev/etherswitch/arswitch/arswitch.c2
-rw-r--r--sys/dev/etherswitch/arswitch/arswitch_8327.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/etherswitch/arswitch/arswitch.c b/sys/dev/etherswitch/arswitch/arswitch.c
index 438881974472..8396f8aee501 100644
--- a/sys/dev/etherswitch/arswitch/arswitch.c
+++ b/sys/dev/etherswitch/arswitch/arswitch.c
@@ -225,7 +225,7 @@ arswitch_set_vlan_mode(struct arswitch_softc *sc, uint32_t mode)
break;
default:
sc->vlan_mode = 0;
- };
+ }
/* Reset VLANs. */
sc->hal.arswitch_vlan_init_hw(sc);
diff --git a/sys/dev/etherswitch/arswitch/arswitch_8327.c b/sys/dev/etherswitch/arswitch/arswitch_8327.c
index 6e221a874657..92e44fc9acb4 100644
--- a/sys/dev/etherswitch/arswitch/arswitch_8327.c
+++ b/sys/dev/etherswitch/arswitch/arswitch_8327.c
@@ -662,7 +662,7 @@ ar8327_hw_setup(struct arswitch_softc *sc)
/* start PHY autonegotiation? */
/* XXX is this done as part of the normal PHY setup? */
- };
+ }
/* Let things settle */
DELAY(1000);