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)
commitae0eef66088777cf252c6b91d3eb5ef2f30a67c5
tree4743bd257ceefb4e53931392baaedc8de8cb8a8e
parent7a9bc9b81a5bc6e44ebc80ef781332e4385083f2
cnic: Fix mmap regression.

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>
drivers/net/ethernet/broadcom/cnic.c
drivers/net/ethernet/broadcom/cnic_if.h