summaryrefslogtreecommitdiffstats
path: root/sys/dev/ixl
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2015-06-19 21:40:26 +0000
committergallatin <gallatin@FreeBSD.org>2015-06-19 21:40:26 +0000
commita82bff7dcf61af377a67ad2268da658319231ef4 (patch)
tree9646b9f73422c1e8fc78012adc6c5542635b7b70 /sys/dev/ixl
parent366f451b6f992a1843433202b1106ed88a98cb46 (diff)
downloadFreeBSD-src-a82bff7dcf61af377a67ad2268da658319231ef4.zip
FreeBSD-src-a82bff7dcf61af377a67ad2268da658319231ef4.tar.gz
Fix typo in baudrate initialization that was causing ixl to be seen as
a 4GbE NIC, rather than a 40GbE NIC. Reviewed by: Eric Joyner <eric.joyner@intel.com> MFC after: 3 days Sponsored by: Netflix
Diffstat (limited to 'sys/dev/ixl')
-rw-r--r--sys/dev/ixl/if_ixl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixl/if_ixl.c b/sys/dev/ixl/if_ixl.c
index 13a678c..1a36c2a 100644
--- a/sys/dev/ixl/if_ixl.c
+++ b/sys/dev/ixl/if_ixl.c
@@ -2551,7 +2551,7 @@ ixl_setup_interface(device_t dev, struct ixl_vsi *vsi)
}
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
ifp->if_mtu = ETHERMTU;
- ifp->if_baudrate = 4000000000; // ??
+ ifp->if_baudrate = IF_Gbps(40);
ifp->if_init = ixl_init;
ifp->if_softc = vsi;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
OpenPOWER on IntegriCloud