net/bnx2x: localize mapping of ethdev to PCI device
authorJan Blunck <jblunck@infradead.org>
Fri, 23 Dec 2016 15:58:03 +0000 (16:58 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 25 Dec 2016 22:15:09 +0000 (23:15 +0100)
Use device private information to minimize the places that assume eth_dev
contains pci_dev.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Acked-by: Harish Patil <harish.patil@qlogic.com>

No differences found