cnic: Fix mmap regression.
authorMichael Chan <mchan@broadcom.com>
Fri, 29 Jun 2012 09:32:45 +0000 (09:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jun 2012 22:33:28 +0000 (15:33 -0700)
commit 1f85d58cdf15354a7120fc9ccc9bb9c45b53af88
    cnic: Remove uio mem[0].

introduced a regression as older versions of userspace app still rely
on this mmap.  Restore the mmap functionality and get the base address
from pci_resource_start() as the nedev->base_addr has been deprecated for
PCI devices.

Update version to 2.5.12.

Signed-off-by: Michael Chan <mchan@broadocm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found