main.c (712cba5d87a6c0e980ee5fad45734e189c4d7151) | main.c (69117101f95c17cb2ff173332a240ab697e5dda2) |
---|---|
1/* QLogic qedr NIC Driver 2 * Copyright (c) 2015-2016 QLogic Corporation 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: --- 156 unchanged lines hidden (view full) --- 165 dev->ibdev.poll_cq = qedr_poll_cq; 166 dev->ibdev.post_send = qedr_post_send; 167 dev->ibdev.post_recv = qedr_post_recv; 168 169 dev->ibdev.process_mad = qedr_process_mad; 170 dev->ibdev.get_port_immutable = qedr_port_immutable; 171 dev->ibdev.get_netdev = qedr_get_netdev; 172 | 1/* QLogic qedr NIC Driver 2 * Copyright (c) 2015-2016 QLogic Corporation 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: --- 156 unchanged lines hidden (view full) --- 165 dev->ibdev.poll_cq = qedr_poll_cq; 166 dev->ibdev.post_send = qedr_post_send; 167 dev->ibdev.post_recv = qedr_post_recv; 168 169 dev->ibdev.process_mad = qedr_process_mad; 170 dev->ibdev.get_port_immutable = qedr_port_immutable; 171 dev->ibdev.get_netdev = qedr_get_netdev; 172 |
173 dev->ibdev.dma_device = &dev->pdev->dev; | 173 dev->ibdev.dev.parent = &dev->pdev->dev; |
174 175 dev->ibdev.get_link_layer = qedr_link_layer; 176 dev->ibdev.get_dev_fw_str = qedr_get_dev_fw_str; 177 178 return ib_register_device(&dev->ibdev, NULL); 179} 180 181/* This function allocates fast-path status block memory */ --- 733 unchanged lines hidden --- | 174 175 dev->ibdev.get_link_layer = qedr_link_layer; 176 dev->ibdev.get_dev_fw_str = qedr_get_dev_fw_str; 177 178 return ib_register_device(&dev->ibdev, NULL); 179} 180 181/* This function allocates fast-path status block memory */ --- 733 unchanged lines hidden --- |