]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb86b31f86cc6fcd2cd242c2626c0e4ab571b19f
treec18ca7f0564e94a7c09cb25b03627798cc4454ae
parentb18b8ae66c2adc1c80e6857bf627eafc89f8d5dc
ems_pci: fix size of CAN controllers BAR mapping for CPC-PCI v2

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>
drivers/net/can/sja1000/ems_pci.c