diff options
author | Luiz Souza <luiz@netgate.com> | 2018-03-09 04:06:50 -0300 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2018-03-08 22:03:04 -0600 |
commit | d55dd0a29ea4cb3132df58b33867316a0846d769 (patch) | |
tree | 7cfdea92119c6adc9147830cd57a61e9de1699cf /sys/dev/etherswitch/e6000sw | |
parent | cb04917634769494f10ab1fe8b0cff701ec1865c (diff) | |
download | FreeBSD-src-d55dd0a29ea4cb3132df58b33867316a0846d769.zip FreeBSD-src-d55dd0a29ea4cb3132df58b33867316a0846d769.tar.gz |
Fix the build.
(cherry picked from commit abb5881302576b23a102094ea2f11717a85ff148)
Diffstat (limited to 'sys/dev/etherswitch/e6000sw')
-rw-r--r-- | sys/dev/etherswitch/e6000sw/e6000sw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/etherswitch/e6000sw/e6000sw.c b/sys/dev/etherswitch/e6000sw/e6000sw.c index 3ec9abd..dcf253b 100644 --- a/sys/dev/etherswitch/e6000sw/e6000sw.c +++ b/sys/dev/etherswitch/e6000sw/e6000sw.c @@ -842,6 +842,7 @@ static int e6000sw_readphy(device_t dev, int phy, int reg) { e6000sw_softc_t *sc; + uint32_t val; sc = device_get_softc(dev); if (!e6000sw_is_phyport(sc, phy) || reg >= E6000SW_NUM_PHY_REGS) { |