cnic: Don't use netdev->base_addr
authorMichael Chan <mchan@broadcom.com>
Thu, 5 Jul 2012 14:21:55 +0000 (14:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jul 2012 07:18:04 +0000 (00:18 -0700)
commit054581e6c1eb314d54d4747fba545e9802be29da
tree81b36a9e75d31229c55baa0ce00f0597b4243282
parent6fecd35d4cd79fc75e8290abb86734c18500d2a2
cnic: Don't use netdev->base_addr

commit c0357e975afdbbedab5c662d19bef865f02adc17
    bnx2: stop using net_device.{base_addr, irq}.

removed netdev->base_addr so we need to update cnic to get the MMIO
base address from pci_resource_start().  Otherwise, mmap of the uio
device will fail.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/cnic.c