diff options
author | glebius <glebius@FreeBSD.org> | 2012-10-18 09:59:50 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2012-10-18 09:59:50 +0000 |
commit | ac9ea69708a19e2d1f288e0dc6445939243e5103 (patch) | |
tree | e03a312418f0ff6c60f4a9f69dc2a69bb05878e4 | |
parent | 7bdf4320f7c2d8ca6084f726ec0efe507bacf9ae (diff) | |
download | FreeBSD-src-ac9ea69708a19e2d1f288e0dc6445939243e5103.zip FreeBSD-src-ac9ea69708a19e2d1f288e0dc6445939243e5103.tar.gz |
Utilize new macro to initialize if_baudrate.
-rw-r--r-- | sys/dev/bxe/if_bxe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/bxe/if_bxe.c b/sys/dev/bxe/if_bxe.c index fe6bd8b..bd903b5 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; |