]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Nov 2012 21:59:52 +0000 (16:59 -0500)
commitce66f781cff6b3522b1234096db77e8bacdbf3c3
tree6e73887bcdb5a5d66243dc1cd52ddf39957b7262
parent5c4f2fb9eee1f6c778efbc62efc58535609bca6c
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/ethernet/emulex/benet/be_main.c