]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: re-factor bar mapping code
authorSathya Perla <sathya.perla@emulex.com>
Tue, 6 Nov 2012 17:48:58 +0000 (17:48 +0000)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 17 Dec 2012 08:42:41 +0000 (00:42 -0800)
commit97ef4cce140214ec0aab09ad6b0d8f14f5eae6d2
tree6b43c9ab60a38678d08bc60904d35735949ecbe3
parent2e9b3f59d4b66a040d6b0db88bb1e57cc04bd413
be2net: re-factor bar mapping code

1) separate NIC and roce bar mapping code
2) parse sli_intf::if_type inside be_map_pci_bars() as if_type must be
   used only to identify bars.
3) Use pci_iomap/unmap() routines

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c