ipoib_ethtool.c (219820) | ipoib_ethtool.c (273135) |
---|---|
1/* 2 * Copyright (c) 2007 Mellanox Technologies. All rights reserved. 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the 8 * OpenIB.org BSD license below: --- 17 unchanged lines hidden (view full) --- 26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 * SOFTWARE. 31 */ 32 33#include <linux/kernel.h> | 1/* 2 * Copyright (c) 2007 Mellanox Technologies. All rights reserved. 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the 8 * OpenIB.org BSD license below: --- 17 unchanged lines hidden (view full) --- 26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 * SOFTWARE. 31 */ 32 33#include <linux/kernel.h> |
34#include <linux/ethtool.h> | |
35#include <linux/netdevice.h> 36 37#include "ipoib.h" 38 39static void ipoib_get_drvinfo(struct ifnet *netdev, 40 struct ethtool_drvinfo *drvinfo) 41{ 42 strncpy(drvinfo->driver, "ipoib", sizeof(drvinfo->driver) - 1); --- 117 unchanged lines hidden --- | 34#include <linux/netdevice.h> 35 36#include "ipoib.h" 37 38static void ipoib_get_drvinfo(struct ifnet *netdev, 39 struct ethtool_drvinfo *drvinfo) 40{ 41 strncpy(drvinfo->driver, "ipoib", sizeof(drvinfo->driver) - 1); --- 117 unchanged lines hidden --- |