ems_pci: fix size of CAN controllers BAR mapping for CPC-PCI v2
authorSebastian Haas <haas@ems-wuensche.com>
Thu, 24 Sep 2009 03:55:05 +0000 (03:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Sep 2009 22:39:18 +0000 (15:39 -0700)
The driver mapped only 128 bytes of the CAN controller address space when a
CPC-PCI v2 was detected (incl. CPC-104P). This patch will fix it by always
mapping the whole address space (4096 bytes on all boards) of the
corresponding PCI BAR.

Signed-off-by: Sebastian Haas <haas@ems-wuensche.com>
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found