diff options
author | jhb <jhb@FreeBSD.org> | 2012-10-18 15:43:19 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-10-18 15:43:19 +0000 |
commit | 71b8b1e9de0f93ed16506c7a8dca0fc0bd5c940c (patch) | |
tree | 5bad63435d756a3f7a5390bc6dd546085ed35cf2 /sys/ofed | |
parent | 0979ea8f97eeaaab51cf6e4349610d96a4f816b5 (diff) | |
download | FreeBSD-src-71b8b1e9de0f93ed16506c7a8dca0fc0bd5c940c.zip FreeBSD-src-71b8b1e9de0f93ed16506c7a8dca0fc0bd5c940c.tar.gz |
Use if_initbaudrate().
Diffstat (limited to 'sys/ofed')
-rw-r--r-- | sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c index 0ff11d2..380ee8c 100644 --- a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c +++ b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c @@ -876,7 +876,7 @@ ipoib_intf_alloc(const char *name) dev->if_output = ipoib_output; dev->if_input = ipoib_input; dev->if_resolvemulti = ipoib_resolvemulti; - dev->if_baudrate = IF_Gbps(10UL); + if_initbaudrate(dev, IF_Gbps(10)); dev->if_broadcastaddr = priv->broadcastaddr; dev->if_snd.ifq_maxlen = ipoib_sendq_size * 2; sdl = (struct sockaddr_dl *)dev->if_addr->ifa_addr; |