aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bxe
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2012-10-18 09:59:50 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2012-10-18 09:59:50 +0000
commit470797ab8e747fca84a56ff9e65a9dd76612a692 (patch)
treee03a312418f0ff6c60f4a9f69dc2a69bb05878e4 /sys/dev/bxe
parent44e1d890445bcbff63006e260b1cc2a5e57943c3 (diff)
downloadsrc-470797ab8e747fca84a56ff9e65a9dd76612a692.tar.gz
src-470797ab8e747fca84a56ff9e65a9dd76612a692.zip
Utilize new macro to initialize if_baudrate.
Notes
Notes: svn path=/head/; revision=241678
Diffstat (limited to 'sys/dev/bxe')
-rw-r--r--sys/dev/bxe/if_bxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/bxe/if_bxe.c b/sys/dev/bxe/if_bxe.c
index fe6bd8bcad9b..bd903b5e5a8d 100644
--- a/sys/dev/bxe/if_bxe.c
+++ b/sys/dev/bxe/if_bxe.c
@@ -2140,7 +2140,7 @@ bxe_attach(device_t dev)
ifp->if_capabilities = BXE_IF_CAPABILITIES;
/* TPA not enabled by default. */
ifp->if_capenable = BXE_IF_CAPABILITIES & ~IFCAP_LRO;
- ifp->if_baudrate = IF_Gbps(10UL);
+ if_initbaudrate(ifp, IF_Gbps(10));
ifp->if_snd.ifq_drv_maxlen = sc->tx_ring_size;