net/can: add driver for mscan family & mpc52xx_mscan

Taken from socketcan-svn, fixed remaining todos, cleaned up, tested with a
phyCORE-MPC5200B-IO and a custom board.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Wolfgang Grandegger <wg@grandegger.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Wolfram Sang
2009-11-13 06:14:52 +00:00
کامیت شده توسط David S. Miller
والد 888801357f
کامیت afa17a500a
7فایلهای تغییر یافته به همراه1274 افزوده شده و 0 حذف شده

مشاهده پرونده

@@ -108,6 +108,25 @@ config CAN_MCP251X
---help---
Driver for the Microchip MCP251x SPI CAN controllers.
config CAN_MSCAN
depends on CAN_DEV && (PPC || M68K || M68KNOMMU)
tristate "Support for Freescale MSCAN based chips"
---help---
The Motorola Scalable Controller Area Network (MSCAN) definition
is based on the MSCAN12 definition which is the specific
implementation of the Motorola Scalable CAN concept targeted for
the Motorola MC68HC12 Microcontroller Family.
config CAN_MPC52XX
tristate "Freescale MPC5xxx onboard CAN controller"
depends on CAN_MSCAN && PPC_MPC52xx
---help---
If you say yes here you get support for Freescale's MPC52xx
onboard dualCAN controller.
This driver can also be built as a module. If so, the module
will be called mpc5xxx_can.
config CAN_DEBUG_DEVICES
bool "CAN devices debugging messages"
depends on CAN