Commit 24cfbcba authored by Wolfram Sang's avatar Wolfram Sang Committed by David S. Miller
Browse files

net/can/mscan: improve build



- move Kconfig entries to the subdirectory
- do remaining renames of mpc52xx to mpc5xxx
Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 323907ac
...@@ -54,24 +54,7 @@ config CAN_MCP251X ...@@ -54,24 +54,7 @@ config CAN_MCP251X
---help--- ---help---
Driver for the Microchip MCP251x SPI CAN controllers. Driver for the Microchip MCP251x SPI CAN controllers.
config CAN_MSCAN source "drivers/net/can/mscan/Kconfig"
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.
source "drivers/net/can/sja1000/Kconfig" source "drivers/net/can/sja1000/Kconfig"
......
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.
if CAN_MSCAN
config CAN_MPC5XXX
tristate "Freescale MPC5xxx onboard CAN controller"
depends on PPC_MPC52xx
---help---
If you say yes here you get support for Freescale's MPC5xxx
onboard CAN controller.
This driver can also be built as a module. If so, the module
will be called mscan-mpc5xxx.ko.
endif
obj-$(CONFIG_CAN_MPC52XX) += mscan-mpc52xx.o obj-$(CONFIG_CAN_MPC5XXX) += mscan-mpc5xxx.o
mscan-mpc52xx-objs := mscan.o mpc52xx_can.o mscan-mpc5xxx-objs := mscan.o mpc5xxx_can.o
ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment